Merge pull request #2060 from famedly/karthi/member-state-not-set-in-unencrypted-rooms

chore: upgrade webrtc_interface to v1.2.2+hotfix.1
This commit is contained in:
td 2025-03-26 11:20:13 +01:00 committed by GitHub
commit b740cd78bd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 1 deletions

View File

@ -32,7 +32,7 @@ dependencies:
sqflite_common: ^2.4.5 sqflite_common: ^2.4.5
sqlite3: ^2.1.0 sqlite3: ^2.1.0
typed_data: ^1.3.2 typed_data: ^1.3.2
webrtc_interface: ^1.2.0 webrtc_interface: ^1.2.2+hotfix.1
dev_dependencies: dev_dependencies:
build_runner: ^2.4.13 build_runner: ^2.4.13

View File

@ -689,6 +689,11 @@ class MockRTCDataChannel implements RTCDataChannel {
// Mock implementation for closing the data channel // Mock implementation for closing the data channel
Logs().i('Mock: Closing RTCDataChannel'); Logs().i('Mock: Closing RTCDataChannel');
} }
@override
Future<int> getBufferedAmount() async {
return 0;
}
} }
class MockMediaStream implements MediaStream { class MockMediaStream implements MediaStream {