diff --git a/src/plugins/htmlVideoPlayer/plugin.js b/src/plugins/htmlVideoPlayer/plugin.js index 8452074907..0697b65e56 100644 --- a/src/plugins/htmlVideoPlayer/plugin.js +++ b/src/plugins/htmlVideoPlayer/plugin.js @@ -1588,7 +1588,7 @@ export class HtmlVideoPlayer { const player = this; sessionPromise.then((s) => { - if (!s.TranscodingInfo || s.TranscodingInfo?.IsVideoDirect) { + if (!s.TranscodingInfo || s.TranscodingInfo.IsVideoDirect) { // restore recorded delivery method if any mediaStreamTextTracks.forEach((t) => { t.DeliveryMethod = t.realDeliveryMethod ?? t.DeliveryMethod;