Stream canvas/webgl to node peer

182 views
Skip to first unread message

Ian Danforth

unread,
Aug 18, 2014, 1:06:31 PM8/18/14
to eas...@googlegroups.com
All,

 I'm trying to get a 3d browser rendered scene (threejs) streamed to the world. My current thinking is to grab the scene out of canvas, send the jpeg data over a webrtc data channel to a node webrtc server acting as a peer. Then serve that data as an mjpeg stream to any who wish to connect to it. I'd be satisfied with any method that gets a rendered scene out of the browser and returns an mjpeg stream endpoint, where the user doesn't have to install anything. 

 I'd also be happy to use the video channel, but can't figure out how to create a new stream source that doesn't start with a webcam. 

Thoughts and suggestions welcome,

Ian

Eric Davies

unread,
Aug 19, 2014, 1:18:38 AM8/19/14
to eas...@googlegroups.com
Hi Ian,

What you really want is desktop capture. It would let you capture the single window that your game was rendering to.  It isn't built into the master or beta branches yet (sigh, it's a long story of ill-timed attempts). There are two options:
  2) Contact Harold Thétiot https://github.com/hthetiot to get access to his additions to easyrtc that supports desktop capture.

Reply all
Reply to author
Forward
0 new messages