diff --git a/examples/aiortc/video-transform/client/typescript/src/smallWebRTCTransport.ts b/examples/aiortc/video-transform/client/typescript/src/smallWebRTCTransport.ts index 676f6caf9..cad68f5bc 100644 --- a/examples/aiortc/video-transform/client/typescript/src/smallWebRTCTransport.ts +++ b/examples/aiortc/video-transform/client/typescript/src/smallWebRTCTransport.ts @@ -52,7 +52,7 @@ export class SmallWebRTCTransport { private createPeerConnection(): RTCPeerConnection { const config: RTCConfiguration = { - //iceServers: [{ urls: ['stun:stun.l.google.com:19302'] }] + iceServers: [{ urls: ['stun:stun.l.google.com:19302'] }] }; let pc = new RTCPeerConnection(config); @@ -208,6 +208,7 @@ export class SmallWebRTCTransport { // @ts-ignore this.log(`Received answer for peer connection id ${answer.pc_id}`) await this.pc!.setRemoteDescription(answer); + this.log(`Remote candidate supports trickle ice: ${this.pc.canTrickleIceCandidates}`) } catch (e) { this.log(`Reconnection attempt ${this.reconnectionAttempts} failed: ${e}`); this.isReconnecting = false