Skip to content

Commit

Permalink
release: 1.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudwebrtc committed Aug 14, 2023
1 parent c6f948c commit 359f64b
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Changelog

--------------------------------------------
[1.1.1] - 2023-08-14

* Add more async methods.

[1.1.0] - 2023-06-29

* Add FrameCryptor interface.
Expand Down
4 changes: 3 additions & 1 deletion lib/src/media_stream.dart
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,9 @@ abstract class MediaStream {
}

/// Clones the given [MediaStream] and all its tracks.
Future<MediaStream> clone();
Future<MediaStream> clone() {
throw UnimplementedError();
}

Future<void> dispose() async {
return Future.value();
Expand Down
4 changes: 3 additions & 1 deletion lib/src/media_stream_track.dart
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,9 @@ abstract class MediaStreamTrack {
// throw UnimplementedError();
// }

// MediaStreamTrack clone();
Future<MediaStreamTrack> clone() async {
throw UnimplementedError();
}

Future<void> stop();

Expand Down
16 changes: 16 additions & 0 deletions lib/src/rtc_peerconnection.dart
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,28 @@ abstract class RTCPeerConnection {

RTCSignalingState? get signalingState;

Future<RTCSignalingState?> getSignalingState() async {
return signalingState;
}

RTCIceGatheringState? get iceGatheringState;

Future<RTCIceGatheringState?> getIceGatheringState() async {
return iceGatheringState;
}

RTCIceConnectionState? get iceConnectionState;

Future<RTCIceConnectionState?> getIceConnectionState() async {
return iceConnectionState;
}

RTCPeerConnectionState? get connectionState;

Future<RTCPeerConnectionState?> getConnectionState() async {
return connectionState;
}

Future<void> dispose();

Map<String, dynamic> get getConfiguration;
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: webrtc_interface
description: WebRTC Interface for Dart-Web/Flutter.
version: 1.1.0
version: 1.1.1
homepage: https://flutter-webrtc.org

environment:
Expand Down

0 comments on commit 359f64b

Please sign in to comment.