Commit 013d54d3 authored by Tristan Matthews's avatar Tristan Matthews
Browse files

* #18261: audiortp: use forgetDestination in the same manner as addDestination

If no control port is given to add/forgetDestination, ccrtp will assume you
want rtp_port + 1. Since this is the behaviour we rely on for addDestination,
we should use the same convention for forgetDestination, instead of
explicitly saying remote_port_ + 1.
parent 82f4b096
......@@ -223,7 +223,7 @@ void AudioRtpSession::updateDestinationIpAddress()
// Destination address are stored in a list in ccrtp
// This method remove the current destination entry
if (!queue_.forgetDestination(remote_ip_, remote_port_, remote_port_ + 1))
if (!queue_.forgetDestination(remote_ip_, remote_port_))
DEBUG("Did not remove previous destination");
// new destination is stored in call
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment