From 4e304b18d431f1e78b615424306126ce8897be51 Mon Sep 17 00:00:00 2001 From: pabloFuente Date: Wed, 12 Jan 2022 01:36:53 +0100 Subject: [PATCH] openvidu-browser: fix RTCIceCandidate and Blob errors --- openvidu-browser/src/OpenVidu/LocalRecorder.ts | 2 +- openvidu-browser/src/OpenVidu/Session.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/openvidu-browser/src/OpenVidu/LocalRecorder.ts b/openvidu-browser/src/OpenVidu/LocalRecorder.ts index 14bd2881..d5212cc1 100644 --- a/openvidu-browser/src/OpenVidu/LocalRecorder.ts +++ b/openvidu-browser/src/OpenVidu/LocalRecorder.ts @@ -265,7 +265,7 @@ export class LocalRecorder { a.style.display = 'none'; document.body.appendChild(a); - const url = window.URL.createObjectURL(this.blob); + const url = window.URL.createObjectURL(this.blob); a.href = url; a.download = this.id + '.webm'; a.click(); diff --git a/openvidu-browser/src/OpenVidu/Session.ts b/openvidu-browser/src/OpenVidu/Session.ts index 1dcc8997..24865a1f 100644 --- a/openvidu-browser/src/OpenVidu/Session.ts +++ b/openvidu-browser/src/OpenVidu/Session.ts @@ -1021,6 +1021,7 @@ export class Session extends EventDispatcher { */ recvIceCandidate(event: { senderConnectionId: string, endpointName: string, sdpMLineIndex: number, sdpMid: string, candidate: string }): void { const candidate: RTCIceCandidate = { + address: null, candidate: event.candidate, sdpMid: event.sdpMid, sdpMLineIndex: event.sdpMLineIndex,