File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed
Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,8 @@ class RTCConfiguration {
3838 return < String , dynamic > {
3939 // only supports unified plan
4040 'sdpSemantics' : 'unified-plan' ,
41+ 'bundlePolicy' :
42+ 'max-bundle' , // https://linear.app/stream/issue/FLU-91/peerconnection-rtp-bundle
4143 if (iceServersMap.isNotEmpty) 'iceServers' : iceServersMap,
4244 if (iceCandidatePoolSize != null )
4345 'iceCandidatePoolSize' : iceCandidatePoolSize,
Original file line number Diff line number Diff line change 1+ import 'package:flutter_test/flutter_test.dart' ;
2+ import 'package:stream_video/stream_video.dart' show RTCConfiguration;
3+
4+ void main () {
5+ test ('Verify default configurations' , () {
6+ const sut = RTCConfiguration ();
7+ final map = sut.toMap ();
8+
9+ expect (map['sdpSemantics' ], 'unified-plan' );
10+ expect (map['bundlePolicy' ], 'max-bundle' );
11+ });
12+ }
You can’t perform that action at this time.
0 commit comments