Skip to content

Commit

Permalink
Normalize line endings
Browse files Browse the repository at this point in the history
  • Loading branch information
sorooshm78 committed Dec 24, 2024
1 parent 0ef4cb0 commit b04175a
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions pjsip/src/pjsua-lib/pjsua_media.c
Original file line number Diff line number Diff line change
Expand Up @@ -3003,16 +3003,6 @@ pj_status_t pjsua_media_channel_create_sdp(pjsua_call_id call_id,
continue;
}

/* Check if request supports PJSIP_INV_REQUIRE_SIPREC. If so Get label
* attribute in SDP offer and add label attribute to SDP answer
*/
if (call->inv && (call->inv->options & PJSIP_INV_REQUIRE_SIPREC)) {
pjmedia_sdp_attr *label_attr;
label_attr = pjmedia_sdp_attr_get_label(rem_sdp->media[mi]);
m->attr[m->attr_count++] = pjmedia_sdp_attr_create_label(pool,
&label_attr->value);
}

/* Add ssrc and cname attribute */
m->attr[m->attr_count++] = pjmedia_sdp_attr_create_ssrc(pool,
call_med->ssrc,
Expand Down

0 comments on commit b04175a

Please sign in to comment.