Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/switch_rtp.c
Original file line number Diff line number Diff line change
Expand Up @@ -4670,6 +4670,9 @@ SWITCH_DECLARE(switch_rtp_t *) switch_rtp_new(const char *rx_host,
goto end;
}

/* once we have the remote_addr set, change from_addr to it, since this is the one we should expect incoming packets from later on */
switch_cp_addr(rtp_session->from_addr, rtp_session->remote_addr);

end:

if (rtp_session) {
Expand Down
Loading