Commit 15733c73 authored by Guillaume Roguez's avatar Guillaume Roguez

sipcall: prevent re-invite if no invite done yet

This prevents a crash due to non-initialised internal states.

Refs #75275

Change-Id: Ib6baf474ca3e0785261ae171d4eed871f543bc1c
parent b373571f
......@@ -228,6 +228,10 @@ SIPCall::setTransport(const std::shared_ptr<SipTransport>& t)
// Do nothing if no invitation processed yet
if (not inv)
return PJ_SUCCESS;
// Generate new ports to receive the new media stream
// LibAV doesn't discriminate SSRCs and will be confused about Seq changes on a given port
Markdown is supported
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