How to control the microphone and camera

332 views
Skip to first unread message

Lipei

unread,
Oct 9, 2012, 10:13:57 PM10/9/12
to discuss...@googlegroups.com
Hi.
When the communication is established,how to control the micphone and camera.
For example,I want to make my voice louder or mute it , and I want to close the camera.
Is there any available API?
Thanks
Lipei

Vikas

unread,
Oct 10, 2012, 7:36:51 PM10/10/12
to discuss-webrtc
Hi,

AFAIK, currently we do not have JS api's to affect volume. However you
should be able to mute audio/video streams. For that you need to set
localStream.track.enabled to false to mute the audio/video track. Just
call stream.stop() api if you want to stop the camera. FYI, we are in
process of adding mute functionality to apprtc demo also, see issue
917 on the tracker.

/Vikas
Message has been deleted

PhistucK

unread,
Oct 11, 2012, 2:51:46 AM10/11/12
to discuss...@googlegroups.com
It should be possible by skipping the step where you add a stream.

PhistucK



On Thu, Oct 11, 2012 at 4:48 AM, Lipei <zjul...@gmail.com> wrote:
Another question,is it possible to let a client, who has neither microphone nor camera or doesn't approve browser to access them , make peerconnection with any other?

2012年10月10日星期三UTC+8上午10时13分57秒,Lipei写道:
--
 
 
 

Reply all
Reply to author
Forward
0 new messages