From 43e4c2a5176f0726a88652c22ff8315517ff5ccc Mon Sep 17 00:00:00 2001 From: gnattu Date: Sun, 22 Sep 2024 05:47:50 +0800 Subject: [PATCH] Better comment --- src/plugins/htmlVideoPlayer/plugin.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/htmlVideoPlayer/plugin.js b/src/plugins/htmlVideoPlayer/plugin.js index a30c53d65e..f82ee12703 100644 --- a/src/plugins/htmlVideoPlayer/plugin.js +++ b/src/plugins/htmlVideoPlayer/plugin.js @@ -1605,6 +1605,7 @@ export class HtmlVideoPlayer { } } else { // record the original delivery method and set all delivery method to encode + // this is needed for subtitle track switching to properly reload the video stream mediaStreamTextTracks.forEach((t) => { t.realDeliveryMethod = t.DeliveryMethod; t.DeliveryMethod = 'Encode';