I'd like to dynamically generate a bitstream in JavaScript that is e.g. a large OGG-video. Is it possible to tell the browser to ask a JavaScript function for the bitstream instead of making a HTTP-GET-Request to some location?
The only possible way to feed data to the video-tag, that I found, would contain data:-URLs. But that requires the whole video to be encoded in the document.
This is a bad solution for large videos, that would normally be streamed. AFAIK you can't add more data dynamically to data-URLs.
Does anyone know if this is possible somehow?
I don't know if is possible with Javascript, but you can probably do something like that with a Java or Javascript (?) player, like Cortado.
http://www.flumotion.net/cortado/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With