We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 809ba43 + fda8127 commit 55d8e87Copy full SHA for 55d8e87
lib/src/rtc_peerconnection_impl.dart
@@ -94,8 +94,8 @@ class RTCPeerConnectionWeb extends RTCPeerConnection {
94
onSignalingState?.call(_signalingState!);
95
});
96
97
- _jsPc.onIceConnectionStateChange.listen((_) {
98
- _connectionState = peerConnectionStateForString(_jsPc.iceConnectionState);
+ _jsPc.onConnectionStateChange.listen((_) {
+ _connectionState = peerConnectionStateForString(_jsPc.connectionState);
99
onConnectionState?.call(_connectionState!);
100
101
0 commit comments