getusermedia-to-rtmp icon indicating copy to clipboard operation
getusermedia-to-rtmp copied to clipboard

webtransport (http3) or raw socket?

Open ROBERT-MCDOWELL opened this issue 4 years ago • 3 comments

Is this project can easily replace socket.io to webtransport or raw socket (socket.tcp or socket.udp) ? Thanks

ROBERT-MCDOWELL avatar Sep 29 '20 11:09 ROBERT-MCDOWELL

also is the stream can be directly encoded in mp4 on client side with this project? https://github.com/kazuki/video-codec.js

ROBERT-MCDOWELL avatar Sep 29 '20 11:09 ROBERT-MCDOWELL

For HTTP/3 related: you are welcomed to experiment with it and open a pull request! For encoding: I believe FFMPEG (compiled via emscripten) support many codecs, and the project you referred to only support a subset of it. You might need additional flags when compiling FFMPEG in emscripten to include some codecs.

chenxiaoqino avatar Oct 01 '20 07:10 chenxiaoqino

Web-transport is still in beta state and have some code changes too, it should be a release official version in december. ffmpeg in webassembly weight more than 16MB, That's why I thought video-codec.js could be a good alternative to encode/decode standard web video (and audio) codecs.

ROBERT-MCDOWELL avatar Oct 01 '20 12:10 ROBERT-MCDOWELL