I wish to relay a video through a server to the browser.
It seems that, using the Blob API, this can be done with the URL.createObjectURL
method.
This creates a link that I can use in the html5 video element, however, this blob can not be altered.
How could I append new data to the Blob object using the same href?
Also, I doubt that the file will be streamed entirely sequentially, and think the browser will request different parts of the file, especially for scrubbing. How could I dynamically fetch and write bytes into the blob object?
Is the MediaSource API something worth looking into?