From 9328f025647aafd595b844a5036ef236b1a2f344 Mon Sep 17 00:00:00 2001 From: Oded Arbel Date: Tue, 10 Dec 2019 16:28:01 +0200 Subject: [PATCH] populate rtpe_connection_addr with our address during offer processing --- daemon/call.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/daemon/call.c b/daemon/call.c index a21fc84c63..e0a1760bec 100644 --- a/daemon/call.c +++ b/daemon/call.c @@ -2018,6 +2018,11 @@ int monologue_offer_answer(struct call_monologue *other_ml, GQueue *streams, ice_update(media->ice_agent, NULL); /* this is in case rtcp-mux has changed */ recording_setup_media(media); + + if (!call->rtpe_connection_addr.len) { + call->rtpe_connection_addr.s = call_malloc(call, 64); + format_network_address(&call->rtpe_connection_addr, media->streams.head->data, flags, 0); + } } return 0;