Commit 3743c8f9 authored by Tristan Matthews's avatar Tristan Matthews
Browse files

* #27530: sdp: add error checking

parent 8f51e0cf
......@@ -455,8 +455,9 @@ void Sdp::receiveOffer(const pjmedia_sdp_session* remote,
remoteSession_ = pjmedia_sdp_session_clone(memPool_, remote);
pjmedia_sdp_neg_create_w_remote_offer(memPool_, localSession_,
remoteSession_, &negotiator_);
if (pjmedia_sdp_neg_create_w_remote_offer(memPool_, localSession_,
remoteSession_, &negotiator_) != PJ_SUCCESS)
ERROR("Failed to initialize negotiator");
void Sdp::startNegotiation()
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