mirror of https://github.com/OpenVidu/openvidu.git
openvidu-browser: fix RTCIceCandidate and Blob errors
parent
16682c5456
commit
4e304b18d4
|
@ -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(<any>this.blob);
|
||||
a.href = url;
|
||||
a.download = this.id + '.webm';
|
||||
a.click();
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue