moethu / webg3n

3D web-viewer running g3n server-side
BSD 2-Clause "Simplified" License
99 stars 20 forks source link

Test WebRTC as a streaming alternative #12

Open moethu opened 5 years ago

moethu commented 5 years ago

https://webrtc.github.io/samples/

moethu commented 5 years ago

https://github.com/webrtc/samples/blob/gh-pages/src/content/capture/canvas-video/index.html

moethu commented 5 years ago

https://github.com/colek42/streamingDemo/tree/master/packetrecevier

winwisely99 commented 4 years ago

Hey @moethu

I suggest you use this golang lib. many people are using this for webrtc https://github.com/pion/webrtc

Are you wanting to render the screen as a video stream server side and stream it to the user ?

Or are you wanting to just use webrtc data channels to stream the images to the client ?

https://github.com/pion/ion

https://github.com/pion/rtwatch

We are using alot of this in our project. Its really great.

grab me on Telegram ( gedw99)

moethu commented 4 years ago

@winwisely99 thanks for the input. that's really helpful. I wanted to use the video stream, will reach out to you once I'm working on this.

moethu commented 3 years ago

some interesting references to implement this: https://github.com/poi5305/go-yuv2webRTC https://github.com/rviscarra/webrtc-remote-screen

Carnageous commented 2 years ago

Hey! I'm late to the party, but I would love to help here! I already played around with the pion/webrtc library a little bit and I don't see any problem in adding this here. Streaming the data as a video as shown in the video-jmux branch but with WebRTC should work just fine. I will give it a go in the next few weeks.