File tree 5 files changed +27
-3
lines changed
5 files changed +27
-3
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
3
3
--------------------------------------------
4
+ [ 1.1.1] - 2023-08-14
5
+
6
+ * Add more async methods.
7
+
4
8
[ 1.1.0] - 2023-06-29
5
9
6
10
* Add FrameCryptor interface.
Original file line number Diff line number Diff line change @@ -55,7 +55,9 @@ abstract class MediaStream {
55
55
}
56
56
57
57
/// Clones the given [MediaStream] and all its tracks.
58
- Future <MediaStream > clone ();
58
+ Future <MediaStream > clone () {
59
+ throw UnimplementedError ();
60
+ }
59
61
60
62
Future <void > dispose () async {
61
63
return Future .value ();
Original file line number Diff line number Diff line change @@ -66,7 +66,9 @@ abstract class MediaStreamTrack {
66
66
// throw UnimplementedError();
67
67
// }
68
68
69
- // MediaStreamTrack clone();
69
+ Future <MediaStreamTrack > clone () async {
70
+ throw UnimplementedError ();
71
+ }
70
72
71
73
Future <void > stop ();
72
74
Original file line number Diff line number Diff line change @@ -34,12 +34,28 @@ abstract class RTCPeerConnection {
34
34
35
35
RTCSignalingState ? get signalingState;
36
36
37
+ Future <RTCSignalingState ?> getSignalingState () async {
38
+ return signalingState;
39
+ }
40
+
37
41
RTCIceGatheringState ? get iceGatheringState;
38
42
43
+ Future <RTCIceGatheringState ?> getIceGatheringState () async {
44
+ return iceGatheringState;
45
+ }
46
+
39
47
RTCIceConnectionState ? get iceConnectionState;
40
48
49
+ Future <RTCIceConnectionState ?> getIceConnectionState () async {
50
+ return iceConnectionState;
51
+ }
52
+
41
53
RTCPeerConnectionState ? get connectionState;
42
54
55
+ Future <RTCPeerConnectionState ?> getConnectionState () async {
56
+ return connectionState;
57
+ }
58
+
43
59
Future <void > dispose ();
44
60
45
61
Map <String , dynamic > get getConfiguration;
Original file line number Diff line number Diff line change 1
1
name : webrtc_interface
2
2
description : WebRTC Interface for Dart-Web/Flutter.
3
- version : 1.1.0
3
+ version : 1.1.1
4
4
homepage : https://flutter-webrtc.org
5
5
6
6
environment :
You can’t perform that action at this time.
0 commit comments