I'm using AWS Elemental MediaConvert to encode to CMAF, which as I understand will allow for a single format to stream to all devices. However I'm having issues getting HLS streaming to work with any player.
DASH is working:
HLS is not:
Getting manifest errors:
1210/SOURCE_HLS_STREAM_ERROR
1202/SOURCE_MANIFEST_INVALID
I had similar problems with the shaka player that advertises CMAF support:
https://codesandbox.io/s/pedantic-haze-y6qxq (un-comment the manifestUri
to test HLS)
Errors also seem to be related to the manifest:
HLS playlist has both Master and Media/Segment tags.
Contents of .m3u8 file:
#EXTM3U
#EXT-X-VERSION:6
#EXT-X-INDEPENDENT-SEGMENTS
#EXT-X-STREAM-INF:BANDWIDTH=1231785,AVERAGE-BANDWIDTH=1214202,VIDEO-RANGE=SDR,CODECS="avc1.4d401f,mp4a.40.2",RESOLUTION=1280x720,FRAME-RATE=25.000,AUDIO="program_audio_0"
05f3e320-c5b6-11e9-97ce-35297279db3d.m3u8
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="program_audio_0",LANGUAGE="eng",NAME="Alternate Audio",AUTOSELECT=YES,DEFAULT=YES,URI="05f3e320-c5b6-11e9-97ce-35297279db3d.m3u8"
Any ideas as to whats wrong? I just used the default CMAF settings provided by MediaConvert.