File tree Expand file tree Collapse file tree 5 files changed +27
-3
lines changed Expand file tree Collapse file tree 5 files changed +27
-3
lines changed Original file line number Diff line number Diff line change 11# Changelog
22
33--------------------------------------------
4+ [ 1.1.1] - 2023-08-14
5+
6+ * Add more async methods.
7+
48[ 1.1.0] - 2023-06-29
59
610* Add FrameCryptor interface.
Original file line number Diff line number Diff line change @@ -55,7 +55,9 @@ abstract class MediaStream {
5555 }
5656
5757 /// Clones the given [MediaStream] and all its tracks.
58- Future <MediaStream > clone ();
58+ Future <MediaStream > clone () {
59+ throw UnimplementedError ();
60+ }
5961
6062 Future <void > dispose () async {
6163 return Future .value ();
Original file line number Diff line number Diff line change @@ -66,7 +66,9 @@ abstract class MediaStreamTrack {
6666 // throw UnimplementedError();
6767 // }
6868
69- // MediaStreamTrack clone();
69+ Future <MediaStreamTrack > clone () async {
70+ throw UnimplementedError ();
71+ }
7072
7173 Future <void > stop ();
7274
Original file line number Diff line number Diff line change @@ -34,12 +34,28 @@ abstract class RTCPeerConnection {
3434
3535 RTCSignalingState ? get signalingState;
3636
37+ Future <RTCSignalingState ?> getSignalingState () async {
38+ return signalingState;
39+ }
40+
3741 RTCIceGatheringState ? get iceGatheringState;
3842
43+ Future <RTCIceGatheringState ?> getIceGatheringState () async {
44+ return iceGatheringState;
45+ }
46+
3947 RTCIceConnectionState ? get iceConnectionState;
4048
49+ Future <RTCIceConnectionState ?> getIceConnectionState () async {
50+ return iceConnectionState;
51+ }
52+
4153 RTCPeerConnectionState ? get connectionState;
4254
55+ Future <RTCPeerConnectionState ?> getConnectionState () async {
56+ return connectionState;
57+ }
58+
4359 Future <void > dispose ();
4460
4561 Map <String , dynamic > get getConfiguration;
Original file line number Diff line number Diff line change 11name : webrtc_interface
22description : WebRTC Interface for Dart-Web/Flutter.
3- version : 1.1.0
3+ version : 1.1.1
44homepage : https://flutter-webrtc.org
55
66environment :
You can’t perform that action at this time.
0 commit comments