10000 Merge pull request #23 from rostopira/patch-3 · flutter-webrtc/flutter-webrtc@87fdd0d · GitHub
[go: up one dir, main page]

Skip to content

Commit 87fdd0d

Browse files
authored
Merge pull request #23 from rostopira/patch-3
Fixed few callbacks not called
2 parents a91756a + 52b8584 commit 87fdd0d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/rtc_peerconnection.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,12 +100,12 @@ class RTCPeerConnection {
100100
break;
101101
case 'iceGatheringState':
102102
String state = map['state'];
103-
if (this.onSignalingState != null)
103+
if (this.onIceGatheringState != null)
104104
this.onIceGatheringState(iceGatheringStateforString(state));
105105
break;
106106
case 'iceConnectionState':
107107
String state = map['state'];
108-
if (this.onSignalingState != null)
108+
if (this.onIceConnectionState != null)
109109
this.onIceConnectionState(iceConnectionStateForString(state));
110110
break;
111111
case 'onCandidate':

0 commit comments

Comments
 (0)
0