diff --git a/src/scripts/browserDeviceProfile.js b/src/scripts/browserDeviceProfile.js index 9607b94c26..ba79a636c8 100644 --- a/src/scripts/browserDeviceProfile.js +++ b/src/scripts/browserDeviceProfile.js @@ -1258,6 +1258,23 @@ export default function (options) { profile.CodecProfiles.push(codecProfileMp4); } + if (browser.safari && appSettings.enableHi10p()) { + profile.CodecProfiles.push({ + Type: 'Video', + Container: 'hls', + SubContainer: 'mp4', + Codec: 'h264', + Conditions: [ + { + Condition: 'EqualsAny', + Property: 'VideoProfile', + Value: h264Profiles + '|high 10', + IsRequired: false + } + ] + }); + } + profile.CodecProfiles.push({ Type: 'Video', Codec: 'h264', @@ -1281,23 +1298,6 @@ export default function (options) { }); } - if (browser.safari && appSettings.enableHi10p()) { - profile.CodecProfiles.push({ - Type: 'Video', - Container: 'hls', - SubContainer: 'mp4', - Codec: 'h264', - Conditions: [ - { - Condition: 'EqualsAny', - Property: 'VideoProfile', - Value: h264Profiles + '|high 10', - IsRequired: false - } - ] - }); - } - profile.CodecProfiles.push({ Type: 'Video', Codec: 'hevc',