vanarie
New Member
Hello,
I've been testing with WCS and setup a test server. I was able to get webRTC -> WCS -> RTMP working from the install and read the rtmp://myserver stream with VLC media player. I assume that's a good test.
My goal now is to find a good, scalable way to port a video meeting conference screen created with Twilio to do the same thing.
The first probable solution is to use a headless Chrome instance as a "bot" and then do something like:
from https://github.com/muxinc/chromium_broadcast_demo/blob/master/static/client.html
Someone else suggested SIP -> WCS -> RTMP. I haven't gone down that road yet.
Thanks for any suggestions you may have with examples if possible.
I've been testing with WCS and setup a test server. I was able to get webRTC -> WCS -> RTMP working from the install and read the rtmp://myserver stream with VLC media player. I assume that's a good test.
My goal now is to find a good, scalable way to port a video meeting conference screen created with Twilio to do the same thing.
The first probable solution is to use a headless Chrome instance as a "bot" and then do something like:
JavaScript:
...
navigator.mediaDevices.getUserMedia({audio: true, video: true})
.then(function(localStream) {
document.getElementById("local-video").srcObject = localStream;
localStream.getTracks().forEach(track => clientPeerconnection.addTrack(track, localStream));
return clientPeerconnection.createAnswer();
})
...
Someone else suggested SIP -> WCS -> RTMP. I haven't gone down that road yet.
Thanks for any suggestions you may have with examples if possible.
Last edited: