diff --git a/src/components/playback/playbackmanager.js b/src/components/playback/playbackmanager.js index adfecb0eef..a245f8e969 100644 --- a/src/components/playback/playbackmanager.js +++ b/src/components/playback/playbackmanager.js @@ -1300,6 +1300,10 @@ 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 83e247eb83..3b368f8e18 100644 --- a/src/plugins/htmlVideoPlayer/plugin.js +++ b/src/plugins/htmlVideoPlayer/plugin.js @@ -726,6 +726,10 @@ export class HtmlVideoPlayer { * @private */ isAudioStreamSupported(stream, deviceProfile, container) { + if (stream.SupportsDirectPlay != null) { + return stream.SupportsDirectPlay; + } + const codec = (stream.Codec || '').toLowerCase(); if (!codec) {