Skip to content

Commit 3188d5d

Browse files
authored
Merge branch 'main' into chore/sync_0.14.2
2 parents 453293d + 9367609 commit 3188d5d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

android/src/main/java/io/getstream/webrtc/flutter/MethodCallHandlerImpl.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -404,6 +404,7 @@ public void onInterruptionEnd() {
404404
}
405405
});
406406
result.success(null);
407+
break;
407408
}
408409
case "createPeerConnection": {
409410
Map<String, Object> constraints = call.argument("constraints");

android/src/main/java/io/getstream/webrtc/flutter/utils/ConstraintsMap.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public ConstraintsMap(){
1313
}
1414

1515
public ConstraintsMap(Map<String, Object> map){
16-
this.mMap = map;
16+
this.mMap = (map != null) ? map : new HashMap<String, Object>();
1717
}
1818

1919
public Map<String, Object> toMap() {

0 commit comments

Comments
 (0)