diff --git a/src/components/playback/playbackmanager.js b/src/components/playback/playbackmanager.js index f4e8ec02c1..ad1fcc1a11 100644 --- a/src/components/playback/playbackmanager.js +++ b/src/components/playback/playbackmanager.js @@ -1302,6 +1302,10 @@ export class PlaybackManager { return false; } + if (mediaStream.SupportsDirectPlay != null) { + return mediaStream.SupportsDirectPlay; + } + const container = mediaSource.Container.toLowerCase(); const codec = (mediaStream.Codec || '').toLowerCase(); diff --git a/src/plugins/htmlVideoPlayer/plugin.js b/src/plugins/htmlVideoPlayer/plugin.js index 9ab641e9e7..ee983f6180 100644 --- a/src/plugins/htmlVideoPlayer/plugin.js +++ b/src/plugins/htmlVideoPlayer/plugin.js @@ -740,6 +740,10 @@ export class HtmlVideoPlayer { * @private */ isAudioStreamSupported(stream, deviceProfile, container) { + if (stream.SupportsDirectPlay != null) { + return stream.SupportsDirectPlay; + } + const codec = (stream.Codec || '').toLowerCase(); if (!codec) {