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 {