rx-player
Version:
Canal+ HTML5 Video Player
26 lines • 1.26 kB
TypeScript
/**
* This function returns true if the potential `dvcC` ISOBMFF box should be
* removed from a segment.
*
* Explanation:
*
* We had a problem for some years on LG devices with retro-compatible
* Dolby Vision contents (e.g. which, when Dolby Vision is found to not
* be compatible to the device, is actually announced as e.g. hevc instead,
* with the RxPlayer knowing its compatible to both thanks to DASH
* supplementalCodecs + codecs signaling).
*
* Those failed to play, presumably because the device still noticed the
* Dolby Vision metadata, even though we did not want to play it as Dolby
* Vision.
*
* We found out more recently that this issue has been known by Dolby, seems
* to affect Chrome version < 94, and even proposed a generic work-around for
* everybody:
* https://professionalsupport.dolby.com/s/article/Guidelines-to-developers-building-DASH-HLS-player-apps-for-LG-WebOS-Chromecast-and-other-Chromium-based-app-development-platforms?language=en_US
*
* @param {Array.<string>} codecs
* @returns {Boolean}
*/
export default function shouldPatchOutDolbyVisionConfigDataFromMp4(codecs: string[], chosenCodec: string | undefined): boolean;
//# sourceMappingURL=should_patch_out_dolby_vision_config_data_from_mp4.d.ts.map