|
@@ -1369,7 +1369,7 @@ JitsiConference.prototype.selectParticipants = function(participantIds) {
|
1369
|
1369
|
* @returns {number}
|
1370
|
1370
|
*/
|
1371
|
1371
|
JitsiConference.prototype.getLastN = function() {
|
1372
|
|
- return this.rtc.getLastN();
|
|
1372
|
+ return this.receiveVideoController.getLastN();
|
1373
|
1373
|
};
|
1374
|
1374
|
|
1375
|
1375
|
/**
|
|
@@ -3033,7 +3033,7 @@ JitsiConference.prototype._setP2PStatus = function(newStatus) {
|
3033
|
3033
|
|
3034
|
3034
|
// Sync up video transfer active in case p2pJingleSession not existed
|
3035
|
3035
|
// when the lastN value was being adjusted.
|
3036
|
|
- const isVideoActive = this.rtc.getLastN() !== 0;
|
|
3036
|
+ const isVideoActive = this.getLastN() !== 0;
|
3037
|
3037
|
|
3038
|
3038
|
this.p2pJingleSession
|
3039
|
3039
|
.setMediaTransferActive(true, isVideoActive)
|