Skip to content

Commit

Permalink
fix: handle icecandidateerror events
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisguttandin committed Nov 21, 2023
1 parent f9c71ff commit 07c1669
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/operators/negotiate-data-channels.ts
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,12 @@ export const negotiateDataChannels =
);
}
}),
on(
peerConnection,
'icecandidateerror'
)(() =>
errorSubject.next(new Error('RTCPeerConnection fired unexpected event of type "icecandidateerror".'))
),
on(
peerConnection,
'iceconnectionstatechange'
Expand Down

0 comments on commit 07c1669

Please sign in to comment.