diff --git a/pubspec.yaml b/pubspec.yaml index bfe1015a..ec2f5d04 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -32,7 +32,7 @@ dependencies: sqflite_common: ^2.4.5 sqlite3: ^2.1.0 typed_data: ^1.3.2 - webrtc_interface: ^1.2.0 + webrtc_interface: ^1.2.2+hotfix.1 dev_dependencies: build_runner: ^2.4.13 diff --git a/test/webrtc_stub.dart b/test/webrtc_stub.dart index e336cf12..4eb55ac6 100644 --- a/test/webrtc_stub.dart +++ b/test/webrtc_stub.dart @@ -689,6 +689,11 @@ class MockRTCDataChannel implements RTCDataChannel { // Mock implementation for closing the data channel Logs().i('Mock: Closing RTCDataChannel'); } + + @override + Future getBufferedAmount() async { + return 0; + } } class MockMediaStream implements MediaStream {