I played with peerconnections WebRTC for a while, but it seems like I am stretching what is possible with peerconnections and p2p video (at least for now)
Now I'm looking at the Media Source Extension APIs to create an alternative workaround.
Playing with the MSE API last week or so, and still managed to get a local .webm video file, is fragmenting the video file into parts and displaying it on the html video element.
Next, I tried to connect the node server to the video and send it to the client, and then the client working using the MSE API to show the video (an actual example of how MSE should be used)
Now I am wondering if it is possible to send a local video from an html video element over datachannels p2p, and then assemble the video together with the receiving client using the MSE API. It almost recreates what peerconnections WebRTC is already doing
Just wondering, has anyone else tried this since I doubt that people usually use these APIs. I will check this soon:]
source
share