You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure why, but in browsers that support native playback of hls, the 'addtrack' event is not fired and the metadata track is not added to the array of textTracks.
The text was updated successfully, but these errors were encountered:
I have also noticed that calling Hls.destroy() does not remove this text tracks (since there is currently no way to do this in the media element spec). This seems like a good reason not to add this track to the element.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Environment
Steps to reproduce
var p = document.getElementsByTagName('video')[0];
p.textTracks[0]
Expected behavior
textTracks.length === 0
Actual behavior
trxtTracks 'addtrack' event is fired
textTracks.length === 1
I was unable to find reasoning for this track being added, and I believe it is being added here:
hls.js/src/controller/id3-track-controller.js
Line 31 in 193ee2e
I'm not sure why, but in browsers that support native playback of hls, the 'addtrack' event is not fired and the metadata track is not added to the array of textTracks.
The text was updated successfully, but these errors were encountered: