less label
This commit is contained in:
parent
9461c8ee6e
commit
679e5bc3d5
2
app.js
2
app.js
|
@ -265,7 +265,7 @@ $(document).bind('remotestreamadded.jingle', function (event, data, sid) {
|
|||
if (data.stream.id.indexOf('mixedmslabel') === -1) {
|
||||
var ssrclines = SDPUtil.find_lines(sess.peerconnection.remoteDescription.sdp, 'a=ssrc');
|
||||
ssrclines = ssrclines.filter(function (line) {
|
||||
return line.indexOf('msid:' + data.stream.label) !== -1;
|
||||
return line.indexOf('msid:' + data.stream.id) !== -1;
|
||||
});
|
||||
if (ssrclines.length) {
|
||||
thessrc = ssrclines[0].substring(7).split(' ')[0];
|
||||
|
|
|
@ -107,7 +107,7 @@ ColibriFocus.prototype.makeConference = function (peers) {
|
|||
this.peerconnection.onaddstream = function (event) {
|
||||
// search the jid associated with this stream
|
||||
Object.keys(self.remotessrc).forEach(function (jid) {
|
||||
if (self.remotessrc[jid].join('\r\n').indexOf('mslabel:' + event.stream.id) != -1) {
|
||||
if (self.remotessrc[jid].join('\r\n').indexOf('msid:' + event.stream.id) != -1) {
|
||||
event.peerjid = jid;
|
||||
}
|
||||
});
|
||||
|
@ -894,4 +894,4 @@ ColibriFocus.prototype.sendTerminate = function (session, reason, text) {
|
|||
window.clearInterval(this.statsinterval);
|
||||
this.statsinterval = null;
|
||||
}
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue