|
@@ -45,7 +45,9 @@ function JitsiConference(options) {
|
45
|
45
|
this.statistics = new Statistics(this.xmpp, {
|
46
|
46
|
callStatsID: this.options.config.callStatsID,
|
47
|
47
|
callStatsSecret: this.options.config.callStatsSecret,
|
48
|
|
- disableThirdPartyRequests: this.options.config.disableThirdPartyRequests
|
|
48
|
+ disableThirdPartyRequests:
|
|
49
|
+ this.options.config.disableThirdPartyRequests,
|
|
50
|
+ roomName: this.options.name
|
49
|
51
|
});
|
50
|
52
|
setupListeners(this);
|
51
|
53
|
var JitsiMeetJS = this.connection.JitsiMeetJS;
|
|
@@ -315,7 +317,7 @@ JitsiConference.prototype.addTrack = function (track) {
|
315
|
317
|
{
|
316
|
318
|
throw new Error(JitsiTrackErrors.TRACK_IS_DISPOSED);
|
317
|
319
|
}
|
318
|
|
-
|
|
320
|
+
|
319
|
321
|
if (track.isVideoTrack() && this.rtc.getLocalVideoTrack()) {
|
320
|
322
|
throw new Error("cannot add second video track to the conference");
|
321
|
323
|
}
|