Skip to content
Snippets Groups Projects
Commit 845cf3ad authored by Alexandre Savard's avatar Alexandre Savard
Browse files

[#3071] Remove SDP negotiation in call state changed

It makes SDP answer to be sent in ACK even if offer have been already
sent with INVITE request
parent 5dd9025e
Branches
No related tags found
No related merge requests found
......@@ -3113,19 +3113,6 @@ void call_on_state_changed (pjsip_inv_session *inv, pjsip_event *e)
}
// After 2xx is sent/received.
else if (inv->state == PJSIP_INV_STATE_CONNECTING) {
status = call->getLocalSDP()->check_sdp_answer (inv, rdata);
if (status != PJ_SUCCESS) {
_warn ("UserAgent: Failed to check incoming SDP in call_on_state_changed");
return;
}
}
// After we sent or received a ACK - The connection is established
else if (inv->state == PJSIP_INV_STATE_CONFIRMED) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment