stephenlb / webrtc-sdk

WebRTC Simple Calling API + Mobile SDK - A simplified approach to RTCPeerConnection for mobile and web video calling apps.

Home Page:https://stephenlb.github.io/webrtc-sdk/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sound Volume

yvain99 opened this issue · comments

How can I decrease the volume / turn off loudspeaker of receiving calls?
It's like we turn on the loudspeaker on call received.

Callers must be in SEPARATE ROOMS. Calling devices are TOO CLOSE. Make sure to use separate rooms.

You can also use the video volume on receivers like this:

Example

Set video volume to 20%:

var vid = document.getElementById("myVideo");
vid.volume = 0.2;

reference: http://www.w3schools.com/tags/av_prop_volume.asp