amazon web services - CloudFront HLS streaming not working - S3 (HLS v4) -


i setup s3 based hls streaming using cloudfront, hls streaming doesn't seem work. have created bucket , transcoded content using webcast: https://www.youtube.com/watch?v=muq_qg7u0l8

the content seems have right permissions, mime types missing (i see m3u8 have mime type text/plain. shouldnt' transcoder set correctly?

i'm not sure if reason video doesn't play. in chrome, shows blank screen using html5 tag, , in safari if try play directly, shows play button nothing else.

any ideas look? original content mp4 (before using elastic transcoder)

update: ahh seems problem hls-v4, works fine if transcode hls-v3. perhaps not related mime-type (same mimetypes in v3)

i checked test stream , mime types correct:

curl -i http://.../master.m3u8 http/1.1 200 ok content-type: application/x-mpegurl  curl -i http://.../hls_1m_.ts http/1.1 200 ok content-type: video/mp2t 

the stream plays correctly.

some clients support version 3 of protocol , think issue.

version 4 added byte-range support through ext-x-byterange. see playlist:

#extinf:3.754688999999999, #ext-x-byterange:118258@1990168 hls_1m_.ts 

this cause issues players don't support new features. safest way go version 3 now.


Comments