|
1 |
| -abstract class RTCOfferOptions { |
2 |
| - RTCOfferOptions({ |
3 |
| - bool iceRestart, |
4 |
| - bool offerToReceiveAudio, |
5 |
| - bool offerToReceiveVideo, |
6 |
| - bool voiceActivityDetection, |
7 |
| - }); |
8 |
| - bool get iceRestart; |
9 |
| - bool get offerToReceiveAudio; |
10 |
| - bool get offerToReceiveVideo; |
11 |
| - bool get voiceActivityDetection; |
12 |
| -} |
13 |
| - |
14 |
| -abstract class RTCAnswerOptions { |
15 |
| - RTCAnswerOptions({bool voiceActivityDetection}); |
16 |
| - bool get voiceActivityDetection; |
17 |
| -} |
18 |
| - |
19 |
| -abstract class RTCConfiguration { |
20 |
| - RTCConfiguration({ |
21 |
| - List<RTCIceServer> iceServers, |
22 |
| - String rtcpMuxPolicy, |
23 |
| - String iceTransportPolicy, |
24 |
| - String bundlePolicy, |
25 |
| - String peerIdentity, |
26 |
| - int iceCandidatePoolSize, |
27 |
| - }); |
28 |
| - List<RTCIceServer> get iceServers; |
29 |
| - |
30 |
| - ///Optional: 'negotiate' or 'require' |
31 |
| - String get rtcpMuxPolicy; |
32 |
| - |
33 |
| - ///Optional: 'relay' or 'all' |
34 |
| - String get iceTransportPolicy; |
35 |
| - |
36 |
| - /// A DOMString which specifies the target peer identity for the |
37 |
| - /// RTCPeerConnection. If this value is set (it defaults to null), |
38 |
| - /// the RTCPeerConnection will not connect to a remote peer unless |
39 |
| - /// it can successfully authenticate with the given name. |
40 |
| - String get peerIdentity; |
41 |
| - |
42 |
| - int get iceCandidatePoolSize; |
43 |
| - |
44 |
| - ///Optional: 'balanced' | 'max-compat' | 'max-bundle' |
45 |
| - String get bundlePolicy; |
46 |
| -} |
47 |
| - |
48 |
| -abstract class RTCIceServer { |
49 |
| - RTCIceServer({String urls, String username, String credential}); |
50 |
| - // String or List<String> |
51 |
| - dynamic get urls; |
52 |
| - String get username; |
53 |
| - String get credential; |
54 |
| -} |
| 1 | +// abstract class RTCOfferOptions { |
| 2 | +// RTCOfferOptions({ |
| 3 | +// bool iceRestart, |
| 4 | +// bool offerToReceiveAudio, |
| 5 | +// bool offerToReceiveVideo, |
| 6 | +// bool voiceActivityDetection, |
| 7 | +// }); |
| 8 | +// bool get iceRestart; |
| 9 | +// bool get offerToReceiveAudio; |
| 10 | +// bool get offerToReceiveVideo; |
| 11 | +// bool get voiceActivityDetection; |
| 12 | +// } |
| 13 | + |
| 14 | +// abstract class RTCAnswerOptions { |
| 15 | +// RTCAnswerOptions({bool voiceActivityDetection}); |
| 16 | +// bool get voiceActivityDetection; |
| 17 | +// } |
| 18 | + |
| 19 | +// abstract class RTCConfiguration { |
| 20 | +// RTCConfiguration({ |
| 21 | +// List<RTCIceServer> iceServers, |
| 22 | +// String rtcpMuxPolicy, |
| 23 | +// String iceTransportPolicy, |
| 24 | +// String bundlePolicy, |
| 25 | +// String peerIdentity, |
| 26 | +// int iceCandidatePoolSize, |
| 27 | +// }); |
| 28 | +// List<RTCIceServer> get iceServers; |
| 29 | + |
| 30 | +// ///Optional: 'negotiate' or 'require' |
| 31 | +// String get rtcpMuxPolicy; |
| 32 | + |
| 33 | +// ///Optional: 'relay' or 'all' |
| 34 | +// String get iceTransportPolicy; |
| 35 | + |
| 36 | +// /// A DOMString which specifies the target peer identity for the |
| 37 | +// /// RTCPeerConnection. If this value is set (it defaults to null), |
| 38 | +// /// the RTCPeerConnection will not connect to a remote peer unless |
| 39 | +// /// it can successfully authenticate with the given name. |
| 40 | +// String get peerIdentity; |
| 41 | + |
| 42 | +// int get iceCandidatePoolSize; |
| 43 | + |
| 44 | +// ///Optional: 'balanced' | 'max-compat' | 'max-bundle' |
| 45 | +// String get bundlePolicy; |
| 46 | +// } |
| 47 | + |
| 48 | +// abstract class RTCIceServer { |
| 49 | +// RTCIceServer({String urls, String username, String credential}); |
| 50 | +// // String or List<String> |
| 51 | +// dynamic get urls; |
| 52 | +// String get username; |
| 53 | +// String get credential; |
| 54 | +// } |
0 commit comments