the javascript defines a MediaSource() and uses this to stream to the video tag. see:
https://developer.mozilla.org/en-US/docs/Web/API/MediaSource
note: signal/r is not real fast and uses small buffers, so you will need to use a low frame rate. also you will should implement range requests (setLiveSeekableRange)