Simple live video transport over HTTP/3 or WT?

102 visningar
Hoppa till det första olästa meddelandet

Aigars Mahinovs

oläst,
26 aug. 2021 11:11:112021-08-26
till 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

oläst,
27 aug. 2021 09:47:212021-08-27
till 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

oläst,
27 aug. 2021 09:49:542021-08-27
till 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

oläst,
27 aug. 2021 09:53:222021-08-27
till 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.
Svara alla
Svara författaren
Vidarebefordra
0 nya meddelanden