Simple live video transport over HTTP/3 or WT?

106 views
Skip to first unread message

Aigars Mahinovs

unread,
Aug 26, 2021, 11:11:11 AM8/26/21
to web-transport-dev
Has anyone tried to get some generic live video streaming implementation going over HTTP/3 and/or WebTransport?

Something like https://github.com/phoboslab/jsmpeg but, you know - on some modern foundations? Like not MPEG1 :D

Basically the idea would be to have something that everyone could embed into their custom apps to have a functional point-to-point (or point-to-multipoint) live video streaming solution for anything where it would be useful to have very low latency video connection.

guest271314

unread,
Aug 27, 2021, 9:47:21 AM8/27/21
to web-transport-dev, Aigars Mahinovs
I stream live audio from espeak-ng --stdout with https://github.com/guest271314/webtransport/blob/main/AudioStream.jshttps://github.com/guest271314/webtransport/blob/main/webtransport_server.py.

I still need to modify 

  data = subprocess.run(split(input_data.decode()), stdout=subprocess.PIPE)

so that the subprocess does not block, internal timers do not kick in and Connection lost. error does not occur, which does not happen when using fetch() with PHP passthru() https://github.com/guest271314/captureSystemAudio/blob/master/native_messaging/capture_system_audio/transferableStream.js.

For live video and audio see https://github.com/davedoesdev/webm-muxer.js (through WebTransport is not used).

guest271314

unread,
Aug 27, 2021, 9:49:54 AM8/27/21
to web-transport-dev, guest271314, Aigars Mahinovs

Technically, video data from WebCodecs could be serialized and streamed https://guest271314.github.io/webcodecs/.

From my experimentation fetch() is far more reliable than using WebTransport for streaming.

guest271314

unread,
Aug 27, 2021, 9:53:22 AM8/27/21
to web-transport-dev, guest271314, Aigars Mahinovs
Previously I serialized images and streamed them for video. https://plnkr.co/edit/4Tb91b?previewhttps://plnkr.co/edit/gCjYSt.
Reply all
Reply to author
Forward
0 new messages