I'm wondering if it's possible to switch between video tracks on a given < video > element
<video id='vid'></video>
I was able to add multiple video tracks to the stream using:
vid.captureStream().addTrack(added track)
Essentially I was able to add multiple video tracks. But as soon as the element contains more than one video track, no video will play. If I remove the extra tracks, the video will play the added tracks.
I tried fooling around with the track.enabled property but it doesn't seem to do anything.
The idea is I want to load a bunch of tracks initially and switch between them. Possible?
It is essential that no video tracks are added and removed, only initially loading them.