Skip to content

Commit

Permalink
fix spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
Lejla Solak committed Dec 30, 2019
1 parent a7966bf commit 56cb7de
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions plugins/janus_sip.c
Original file line number Diff line number Diff line change
Expand Up @@ -3430,8 +3430,8 @@ static void *janus_sip_handler(void *data) {
JANUS_LOG(LOG_VERB, "Going to negotiate SDES-SRTP (%s)...\n", session->media.require_srtp ? "mandatory" : "optional");
}
/* Get video-orientation extension id from SDP we got */
session->media.video_orientation_extension_id = janus_rtp_header_extension_get_id(msg_sdp, JANUS_RTP_EXTMAP_VIDEO_ORIENTATION);
/* Parse the SDP we got, manipulate some things, and generate a new one */
session->media.video_orientation_extension_id = janus_rtp_header_extension_get_id(msg_sdp, JANUS_RTP_EXTMAP_VIDEO_ORIENTATION);
/* Parse the SDP we got, manipulate some things, and generate a new one */
char sdperror[100];
janus_sdp *parsed_sdp = janus_sdp_parse(msg_sdp, sdperror, sizeof(sdperror));
if(!parsed_sdp) {
Expand Down Expand Up @@ -3573,9 +3573,9 @@ static void *janus_sip_handler(void *data) {
g_snprintf(error_cause, 512, "[SIP-%s] SDP type %s is incompatible with session status %s\n", session->account.username, msg_sdp_type, janus_sip_call_status_string(session->status));
goto error;
}
/* Get video-orientation extension id from SDP we got */
session->media.video_orientation_extension_id = janus_rtp_header_extension_get_id(msg_sdp, JANUS_RTP_EXTMAP_VIDEO_ORIENTATION);
/* Parse the SDP we got, manipulate some things, and generate a new one */
/* Get video-orientation extension id from SDP we got */
session->media.video_orientation_extension_id = janus_rtp_header_extension_get_id(msg_sdp, JANUS_RTP_EXTMAP_VIDEO_ORIENTATION);
/* Parse the SDP we got, manipulate some things, and generate a new one */
char sdperror[100];
janus_sdp *parsed_sdp = janus_sdp_parse(msg_sdp, sdperror, sizeof(sdperror));
if(!parsed_sdp) {
Expand Down

0 comments on commit 56cb7de

Please sign in to comment.