Skip to content

Commit 9328f02

Browse files
committed
populate rtpe_connection_addr with our address during offer processing
1 parent 3adf514 commit 9328f02

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

daemon/call.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2018,6 +2018,11 @@ int monologue_offer_answer(struct call_monologue *other_ml, GQueue *streams,
20182018
ice_update(media->ice_agent, NULL); /* this is in case rtcp-mux has changed */
20192019

20202020
recording_setup_media(media);
2021+
2022+
if (!call->rtpe_connection_addr.len) {
2023+
call->rtpe_connection_addr.s = call_malloc(call, 64);
2024+
format_network_address(&call->rtpe_connection_addr, media->streams.head->data, flags, 0);
2025+
}
20212026
}
20222027

20232028
return 0;

0 commit comments

Comments
 (0)