Update RTC.js
This commit is contained in:
parent
2068c142b5
commit
54cfb18770
|
@ -188,7 +188,8 @@ var RTC = {
|
|||
// local video
|
||||
stream = this.localVideo;
|
||||
} else {
|
||||
var peerStreams = this.remoteStreams[jid];
|
||||
var peerJid = APP.xmpp.findJidFromResource(jid);
|
||||
var peerStreams = this.remoteStreams[peerJid];
|
||||
if(!peerStreams)
|
||||
return false;
|
||||
stream = peerStreams[MediaStreamType.VIDEO_TYPE];
|
||||
|
|
Loading…
Reference in New Issue