Is avc1.66.31,mp4a.40.2 supported by the Chromecast device?

后端 未结 2 1164
闹比i
闹比i 2020-12-20 08:05

I have an m3u8 file that looks like this:

#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:BANDWIDTH=2048805,CODECS=\"avc1.66.31,mp4a.40.2\",RESOLUTION=1280x720
ch         


        
2条回答
  •  盖世英雄少女心
    2020-12-20 09:02

    Some builds of Chromecast reject "avc1.66.31" so it is recommendation to use "avc1.66.30" instead either by updating the playlist or using host.processManifest workaround

    host.processManifest = function(manifest) {
      return manifest.replace(/CODECS=\"avc1.66.([0-9]*)/g, 'CODECS=\"avc1.66.30');
    };
    

    in a custom receiver.

提交回复
热议问题