Impl todos for the webrtc

This commit is contained in:
2025-10-19 17:59:25 +08:00
parent 3f83bbc1d8
commit e96b1fd9d4
2 changed files with 124 additions and 12 deletions

View File

@@ -30,6 +30,8 @@ class WebRTCManager {
final Map<String, RTCPeerConnection> _peerConnections = {};
MediaStream? _localStream;
MediaStream? get localStream => _localStream;
final StreamController<WebRTCParticipant> _participantController =
StreamController<WebRTCParticipant>.broadcast();
final StreamController<String> _participantLeftController =