Hi,

First let me say that webcaster is a great tool - thank you very much 
for creating it along with webcast.js and liquidsoap.

I would like to integrate a simple WebRTC audio-only chat into the 
webcaster client code so that an inbound WebRTC caller is connected to 
the webcaster host's (the person operating webcaster) voice audio and 
mixed into the outbound audio stream being sent to liquidsoap.

I have the chat built and it works fine. Now I need to integrate that 
into the webcaster app. I need some advice please. This is what I think 
should be done:

- When the "Start streaming" button is clicked and the app does its 
navigator.mediaDevices.getUserMedia() call to get permission for the mic 
and the result stream, add code to connect to my WebRTC signaling server..

- On a different web page where people listen to the stream, add a 
button to initiate a call to the studio. When the button is clicked the 
listener is asked for permission to use the mic and then on success is 
connected to the signaling server.

- Signaling server sends an offer to connect to the webcaster host, 
which then (after the usual WebRTC negotiation) results in a RTC peer 
connection between the show and the caller.

- At that point I need to somehow connect the caller's audio stream 
(object) into the overall webcaster audio mix so that the conversation 
goes out to liquidsoap as usual.

The question I have is where and how within the webcaster client.js do I 
connect the callers stream to the outbound audio stream? I'm not an 
expert with backbone and underscore (used with webcaster) but I can wing 
it as I learn if someone can please point me to the right things to do.

Thanks for you time in considering this!

Mark

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to