mirror of
https://gitlab.com/comunic/comunicmobile
synced 2025-06-19 08:15:16 +00:00
Can send ice candidates to server
This commit is contained in:
@ -168,6 +168,10 @@ class _CallScreenState extends SafeState<CallScreen> {
|
||||
|
||||
_peersConnections[memberID] = peerConnection;
|
||||
|
||||
// Register callbacks
|
||||
peerConnection.onIceCandidate =
|
||||
(c) => CallsHelper.sendIceCandidate(convID, memberID, c);
|
||||
|
||||
// Request an offer to establish a peer connection
|
||||
await CallsHelper.requestOffer(convID, memberID);
|
||||
} catch (e, stack) {
|
||||
|
Reference in New Issue
Block a user