We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b1672ba commit 4e0c4a0Copy full SHA for 4e0c4a0
src/streaming/MediaPlayer.js
@@ -1346,7 +1346,7 @@ function MediaPlayer() {
1346
textTrackInfo.kind = trackKindMap.caption; // getKind();
1347
// textTrackInfo.roles = mediaInfo.roles;
1348
// textTrackInfo.accessibility = mediaInfo.accessibility;
1349
- const totalNrTracks = 2; // (mediaInfos ? mediaInfos.length : 0) + embeddedTracks.length;
+ const totalNrTracks = 1; // (mediaInfos ? mediaInfos.length : 0) + embeddedTracks.length;
1350
textTracks.addTextTrack(textTrackInfo, totalNrTracks);
1351
} else {
1352
// ????
0 commit comments