8000 Update rtc_peerconnection.dart · next-coder/flutter-webrtc@e952214 · GitHub
[go: up one dir, main page]

Skip to content

Commit e952214

Browse files
authored
Update rtc_peerconnection.dart
1 parent fe6718b commit e952214

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/web/rtc_peerconnection.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ class RTCPeerConnection {
7676
js.JsObject.fromBrowserObject(_jsPc)['onicegatheringstatechange'] =
7777
js.JsFunction.withThis((_) {
7878
_iceGatheringState = iceGatheringStateforString(_jsPc.iceGatheringState);
79-
onIceGatheringState.call(_iceGatheringState);
79+
onIceGatheringState?.call(_iceGatheringState);
8080
});
8181

8282
_jsPc.onRemoveStream.listen((mediaStreamEvent) {

0 commit comments

Comments
 (0)
0