2012-11-29 2 views
1

jwplayer를 사용하여 클라우드 프론트에서 파일을 스트리밍 할 수 없습니다.jwplayer로 클라우드 프론트에서 비디오를 스트리밍 할 수 없습니다.

jwplayer("container").setup({ 
    file: "mp4:mediaTest.mp4", 
    height: "480", 
    provider: "rtmp", 
    streamer: "rtmp://s1cp0j2rq4xbq.cloudfront.net:1935/cfx/st", 
    width: "853" 
}); 

당신은 http://stritfun.com/

에서 코드를 찾을 수 있습니다하지만 함께

file: "mp4:mediaTest.mp4", 

을 변경할 때 :

file: "http://s3.amazonaws.com/idastreaming/mediaTest.mp4", 

스트리밍이 성공 여기 내 코드입니다.

파일의 문제점 : mp4:mediaTest.mp4?

답변

1

사용중인 "스트리머/파일"설정은 JW Player (JW5)의 이전 버전에서 사용되지만 최신 버전 (JW6)에서는 사용되지 않습니다. 우리는 여전히 하나의 "파일"로 RTMP 스트림을 설정,

... 어쨌든 자신의 문서를 업데이트 할 앞뒤로 CloudFront를 가진거야 JW6을 위해 작동합니다

파일을 "RTMP를 : //s1cp0j2rq4xbq.cloudfront.net/cfx/st/mp4:mediaTest.mp4 "

관련 문제