1
0
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:
2020-04-20 17:53:31 +02:00
parent ee6509bb9a
commit 7364fc49a8
2 changed files with 15 additions and 0 deletions

View File

@ -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) {