Updates a call to setMute().

This commit is contained in:
bgrozev 2015-07-30 10:51:50 -05:00
parent 5017fed28e
commit a7058747ac
1 changed files with 3 additions and 6 deletions

View File

@ -72,14 +72,11 @@ var RTC = {
this.localStreams[0].getOriginalStream() != stream)
this.localStreams.push(localStream);
if(isMuted === true)
localStream.setMute(false);
localStream.setMute(true);
if(type == "audio")
{
if(type == "audio") {
this.localAudio = localStream;
}
else
{
} else {
this.localVideo = localStream;
}
var eventType = StreamEventTypes.EVENT_TYPE_LOCAL_CREATED;