vanevery / p5LiveMedia

Simple P5 WebRTC
MIT License
69 stars 12 forks source link

Allow more than 1 video track in a stream/channel #15

Open vanevery opened 3 years ago

vanevery commented 3 years ago

It seems that adding a 2nd video track to the stream doesn't do the trick - only 1 track is received. Perhaps using "addStream" will work?

Use case is sending a second stream that will act as an alpha channel on the receiving side - composite with p5 Image mask (which uses alpha rather than the blue channel ugh)