bump colibri.js version
This commit is contained in:
parent
ab1ac06e83
commit
a5daa0bc36
|
@ -132,9 +132,8 @@ ColibriFocus.prototype._makeConference = function () {
|
||||||
elem.c('conference', {xmlns: 'http://jitsi.org/protocol/colibri'});
|
elem.c('conference', {xmlns: 'http://jitsi.org/protocol/colibri'});
|
||||||
|
|
||||||
var localSDP = new SDP(this.peerconnection.localDescription.sdp);
|
var localSDP = new SDP(this.peerconnection.localDescription.sdp);
|
||||||
var contents = SDPUtil.find_lines(localSDP.raw, 'a=mid:').map(SDPUtil.parse_mid);
|
|
||||||
localSDP.media.forEach(function (media, channel) {
|
localSDP.media.forEach(function (media, channel) {
|
||||||
var name = SDPUtil.parse_mid(SDPUtil.find_line(media, 'a=mid:'));
|
var name = SDPUtil.parse_mline(media.split('\r\n')[0]).media;
|
||||||
elem.c('content', {name: name});
|
elem.c('content', {name: name});
|
||||||
elem.c('channel', {initiator: 'false', expire: '15'});
|
elem.c('channel', {initiator: 'false', expire: '15'});
|
||||||
|
|
||||||
|
@ -401,8 +400,8 @@ ColibriFocus.prototype.addNewParticipant = function (peer) {
|
||||||
var elem = $iq({to: this.bridgejid, type: 'get'});
|
var elem = $iq({to: this.bridgejid, type: 'get'});
|
||||||
elem.c('conference', {xmlns: 'http://jitsi.org/protocol/colibri', id: this.confid});
|
elem.c('conference', {xmlns: 'http://jitsi.org/protocol/colibri', id: this.confid});
|
||||||
var localSDP = new SDP(this.peerconnection.localDescription.sdp);
|
var localSDP = new SDP(this.peerconnection.localDescription.sdp);
|
||||||
var contents = SDPUtil.find_lines(localSDP.raw, 'a=mid:').map(SDPUtil.parse_mid);
|
localSDP.media.forEach(function (media, channel) {
|
||||||
contents.forEach(function (name) {
|
var name = SDPUtil.parse_mline(media.split('\r\n')[0]).media;
|
||||||
elem.c('content', {name: name});
|
elem.c('content', {name: name});
|
||||||
elem.c('channel', {initiator: 'true', expire:'15'});
|
elem.c('channel', {initiator: 'true', expire:'15'});
|
||||||
elem.up(); // end of channel
|
elem.up(); // end of channel
|
||||||
|
|
Loading…
Reference in New Issue