Skip to content
Snippets Groups Projects
Commit f9866a30 authored by Rafaël Carré's avatar Rafaël Carré
Browse files

* #6547 : AudioRtpSession: remove impossible error case

_ca is set in constructor and never modified
parent 46dd56f2
Branches
Tags
No related merge requests found
......@@ -168,11 +168,6 @@ void AudioRtpSession::setDestinationIpAddress (void)
{
_info ("AudioRtpSession: Setting IP address for the RTP session");
if (_ca == NULL) {
_error ("AudioRtpSession: Sipcall is gone.");
throw AudioRtpSessionException();
}
// Store remote ip in case we would need to forget current destination
_remote_ip = ost::InetHostAddress (_ca->getLocalSDP()->getRemoteIP().c_str());
if (!_remote_ip) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment