Updates a call to setMute().
This commit is contained in:
parent
5017fed28e
commit
a7058747ac
|
@ -72,14 +72,11 @@ var RTC = {
|
||||||
this.localStreams[0].getOriginalStream() != stream)
|
this.localStreams[0].getOriginalStream() != stream)
|
||||||
this.localStreams.push(localStream);
|
this.localStreams.push(localStream);
|
||||||
if(isMuted === true)
|
if(isMuted === true)
|
||||||
localStream.setMute(false);
|
localStream.setMute(true);
|
||||||
|
|
||||||
if(type == "audio")
|
if(type == "audio") {
|
||||||
{
|
|
||||||
this.localAudio = localStream;
|
this.localAudio = localStream;
|
||||||
}
|
} else {
|
||||||
else
|
|
||||||
{
|
|
||||||
this.localVideo = localStream;
|
this.localVideo = localStream;
|
||||||
}
|
}
|
||||||
var eventType = StreamEventTypes.EVENT_TYPE_LOCAL_CREATED;
|
var eventType = StreamEventTypes.EVENT_TYPE_LOCAL_CREATED;
|
||||||
|
|
Loading…
Reference in New Issue