[mirotalksfu] - refactoring

هذا الالتزام موجود في:
Miroslav Pejic
2021-10-14 23:02:49 +02:00
الأصل cc86c16902
التزام f986e719da
5 ملفات معدلة مع 30 إضافات و45 حذوفات

عرض الملف

@@ -6269,6 +6269,7 @@
const answer = { type: 'answer', sdp: this._remoteSdp.getSdp() };
logger.debug('stopSending() | calling pc.setRemoteDescription() [answer:%o]', answer);
await this._pc.setRemoteDescription(answer);
this._mapMidTransceiver.delete(localId);
}
async replaceTrack(localId, track) {
this._assertSendDirection();
@@ -6399,6 +6400,7 @@
const answer = await this._pc.createAnswer();
logger.debug('stopReceiving() | calling pc.setLocalDescription() [answer:%o]', answer);
await this._pc.setLocalDescription(answer);
this._mapMidTransceiver.delete(localId);
}
async pauseReceiving(
// eslint-disable-next-line @typescript-eslint/no-unused-vars
@@ -6818,6 +6820,7 @@
const answer = { type: 'answer', sdp: this._remoteSdp.getSdp() };
logger.debug('stopSending() | calling pc.setRemoteDescription() [answer:%o]', answer);
await this._pc.setRemoteDescription(answer);
this._mapMidTransceiver.delete(localId);
}
async replaceTrack(localId, track) {
this._assertSendDirection();
@@ -6947,6 +6950,7 @@
const answer = await this._pc.createAnswer();
logger.debug('stopReceiving() | calling pc.setLocalDescription() [answer:%o]', answer);
await this._pc.setLocalDescription(answer);
this._mapMidTransceiver.delete(localId);
}
async pauseReceiving(localId) {
this._assertRecvDirection();
@@ -7822,6 +7826,7 @@
const answer = { type: 'answer', sdp: this._remoteSdp.getSdp() };
logger.debug('stopSending() | calling pc.setRemoteDescription() [answer:%o]', answer);
await this._pc.setRemoteDescription(answer);
this._mapMidTransceiver.delete(localId);
}
async replaceTrack(localId, track) {
this._assertSendDirection();
@@ -7954,6 +7959,7 @@
const answer = await this._pc.createAnswer();
logger.debug('stopReceiving() | calling pc.setLocalDescription() [answer:%o]', answer);
await this._pc.setLocalDescription(answer);
this._mapMidTransceiver.delete(localId);
}
async pauseReceiving(localId) {
this._assertRecvDirection();
@@ -9451,6 +9457,7 @@
const answer = { type: 'answer', sdp: this._remoteSdp.getSdp() };
logger.debug('stopSending() | calling pc.setRemoteDescription() [answer:%o]', answer);
await this._pc.setRemoteDescription(answer);
this._mapMidTransceiver.delete(localId);
}
async replaceTrack(localId, track) {
this._assertSendDirection();
@@ -9580,6 +9587,7 @@
const answer = await this._pc.createAnswer();
logger.debug('stopReceiving() | calling pc.setLocalDescription() [answer:%o]', answer);
await this._pc.setLocalDescription(answer);
this._mapMidTransceiver.delete(localId);
}
async pauseReceiving(localId) {
this._assertRecvDirection();
@@ -11157,7 +11165,7 @@
/**
* Expose mediasoup-client version.
*/
exports.version = '3.6.42';
exports.version = '3.6.43';
/**
* Expose parseScalabilityMode() function.
*/