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 ca2d4e5 + 33b2e4b commit 66e529eCopy full SHA for 66e529e
lib/rtc_peerconnection_factory.dart
@@ -5,7 +5,7 @@ import 'utils.dart';
5
6
Future<RTCPeerConnection> createPeerConnection(
7
Map<String, dynamic> configuration,
8
- Map<String, dynamic> constraints) async {
+ [Map<String, dynamic> constraints = const {}]) async {
9
MethodChannel channel = WebRTC.methodChannel();
10
11
Map<String, dynamic> defaultConstraints = {
0 commit comments