Fix unnecessary optional chaining
Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user