From 0fc96018a66dfc21ddf57a7ae8c788dba131dd2a Mon Sep 17 00:00:00 2001 From: Karthikeyan S Date: Wed, 26 Mar 2025 14:15:08 +0530 Subject: [PATCH] chore: upgrade webrtc_interface to v1.2.2+hotfix.1 --- pubspec.yaml | 2 +- test/webrtc_stub.dart | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) 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 {