On 10/15/2015 2:09 AM, CaffeiNation App wrote:
Hi Team,
I'm recently working on WebRTC right now. I've integrated it in my app & it is
working fine. Now i want to make a call mute/unmute but it is not working.
Use the "enabled" attribute on the audio track of the MediaStream. See
https://mozilla.github.io/webrtc-landing/pc_test.html for an example on
how to do it.
Also i want to know that can we add more than 2 peers like Hangouts & Skype?
You can do it today, using what's called a "mesh" call, where each
person has a call to each other person. Note that this puts a lot of
load on the device since it has to encode (and decode) media separately
for each participant, and also it has to send multiple streams (and
receive multiple streams), so bandwidth can be an issue, especially for
mobile. For reasonable desktops/laptops and reasonable internet
conenctions, this can work well for 3-5 people (maybe a few more if you
limit the video resolutions), depending.
Larger conference applications generally use a central server that takes
media from each participant and (optionally) forward it to the others,
so each person only has to send 1 (or 2) media streams to the server,
and decode 1 or more, depending (often if it's more, it's video thumbnails).
--
Randell Jesup, Mozilla
_______________________________________________
dev-media mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-media