From 8080a75e133740e573f3d0e0607ba5d95a3f94d6 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Tue, 13 Dec 2016 12:04:37 -0500 Subject: [PATCH] add ios dts workaround --- .../browserdeviceprofile.js | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/dashboard-ui/bower_components/emby-webcomponents/browserdeviceprofile.js b/dashboard-ui/bower_components/emby-webcomponents/browserdeviceprofile.js index 7ebb3cca97..be2d42b006 100644 --- a/dashboard-ui/bower_components/emby-webcomponents/browserdeviceprofile.js +++ b/dashboard-ui/bower_components/emby-webcomponents/browserdeviceprofile.js @@ -552,6 +552,25 @@ define(['browser'], function (browser) { maxLevel = '51'; } + if (browser.iOS) { + profile.ContainerProfiles.push({ + Type: 'Video', + Conditions: [ + { + Condition: 'NotEquals', + Property: 'HasAudioCodec', + Value: 'dca', + IsRequired: false + }, + { + Condition: 'NotEquals', + Property: 'HasAudioCodec', + Value: 'dts', + IsRequired: false + }] + }); + } + profile.CodecProfiles.push({ Type: 'Video', Codec: 'h264',