fix early media vs answer race

This commit is contained in:
Anthony Minessale committed 2014-08-06 21:09:03 +05:00
1 parent 3691279e8a
commit 8135509803
3 files changed
+3454 -233

No files matched your search

-1
View File
@@ -1848,7 +1848,6 @@ static switch_status_t verto_send_media_indication(switch_core_session_t *sessio
} else {
cJSON *params = NULL;
cJSON *msg = jrpc_new_req(method, tech_pvt->call_id, &params);
if (!switch_test_flag(tech_pvt, TFLAG_SENT_MEDIA)) {
cJSON_AddItemToObject(params, "sdp", cJSON_CreateString(tech_pvt->mparams->local_sdp_str));
}