Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Once arbitrary data can be sent through peer connections via a browser javascript application, then there is no reason why the BitTorrent Live protocol (or some other similar P2P streaming protocol) could not work over WebRTC.

One difficulty I see is actually getting the binary data into a <video> element. It would be in theory possible to write to the file in the HTML5 FileSystem API and point the video element to it, but that would require transmitting the stream in a way that is ameliorable to seeming like a static video on disk.



Possibly the MediaSource api, which allows writing to media elements: http://dvcs.w3.org/hg/html-media/raw-file/tip/media-source/m...


It may be necessary to paint it via canvas, however that opens up a can of worms that completely bypasses the video element.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: