[mirotalksfu] - update npm dep.

main
Miroslav Pejic 4 years ago
parent ef692fd4f8
commit 0c74bb4b6d

@ -16,8 +16,8 @@
"cors": "^2.8.5", "cors": "^2.8.5",
"express": "^4.17.1", "express": "^4.17.1",
"httpolyglot": "^0.1.2", "httpolyglot": "^0.1.2",
"mediasoup": "^3.8.4", "mediasoup": "^3.9.0",
"mediasoup-client": "^3.6.42", "mediasoup-client": "^3.6.43",
"ngrok": "^4.2.2", "ngrok": "^4.2.2",
"socket.io": "^4.2.0", "socket.io": "^4.2.0",
"swagger-ui-express": "^4.1.6", "swagger-ui-express": "^4.1.6",

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

Loading…
Cancel
Save