From d2ce4c297ca89acbeb45c5cf822f6c66af803f7d Mon Sep 17 00:00:00 2001 From: pabloFuente Date: Wed, 2 Sep 2020 13:30:35 +0200 Subject: [PATCH] openvidu-browser: support reconnection with mediasoup --- openvidu-browser/src/OpenVidu/Stream.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openvidu-browser/src/OpenVidu/Stream.ts b/openvidu-browser/src/OpenVidu/Stream.ts index d973a438..832a03e1 100644 --- a/openvidu-browser/src/OpenVidu/Stream.ts +++ b/openvidu-browser/src/OpenVidu/Stream.ts @@ -913,7 +913,7 @@ export class Stream extends EventDispatcher { */ initWebRtcPeerReceive(reconnect: boolean): Promise { return new Promise((resolve, reject) => { - this.session.openvidu.sendRequest('prepareReceiveVideFrom', { sender: this.streamId }, (error, response) => { + this.session.openvidu.sendRequest('prepareReceiveVideFrom', { sender: this.streamId, reconnect }, (error, response) => { if (error) { reject(new Error('Error on prepareReceiveVideFrom: ' + JSON.stringify(error))); } else {