diff --git a/src/operators/negotiate-data-channels.ts b/src/operators/negotiate-data-channels.ts index 89984c77..586c6694 100644 --- a/src/operators/negotiate-data-channels.ts +++ b/src/operators/negotiate-data-channels.ts @@ -172,6 +172,12 @@ export const negotiateDataChannels = ); } }), + on( + peerConnection, + 'icecandidateerror' + )(() => + errorSubject.next(new Error('RTCPeerConnection fired unexpected event of type "icecandidateerror".')) + ), on( peerConnection, 'iceconnectionstatechange'