1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2025-06-19 08:15:16 +00:00

Can send SDP back to server

This commit is contained in:
2020-04-20 17:29:36 +02:00
parent 45d903bcf7
commit 096251eaad
2 changed files with 14 additions and 2 deletions

View File

@ -184,8 +184,7 @@ class _CallScreenState extends SafeState<CallScreen> {
if (ev.sessionDescription.type == "offer") {
final answer = await _peersConnections[ev.peerID].createAnswer({});
//TODO : Send answer back to server
print("ANSWER TO SEND ${answer.toMap()}");
await CallsHelper.sendSessionDescription(convID, ev.peerID, answer);
}
}