Skip to content

Commit

Permalink
populate rtpe_connection_addr with our address during offer processing
Browse files Browse the repository at this point in the history
  • Loading branch information
guss77 committed Dec 11, 2019
1 parent 3adf514 commit 9328f02
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions daemon/call.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 9328f02

Please sign in to comment.