Skip to content

Commit 2d4fcf2

Browse files
committed
MT#61856 sdp.c: fix some code comments typos
Change-Id: I8639f843061fbc86ce3f64d79e3296920da0e65f
1 parent 84d844d commit 2d4fcf2

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

daemon/sdp.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ struct sdp_attr {
307307
};
308308

309309
/**
310-
* Globaly visible variables for this file.
310+
* Globally visible variables for this file.
311311
*/
312312
static char __id_buf[6*2 + 1]; // 6 hex encoded characters
313313
const str rtpe_instance_id = STR_CONST(__id_buf);
@@ -3169,7 +3169,7 @@ static void sdp_out_add_other(GString *out, struct call_monologue *monologue,
31693169
bool media_has_ice = MEDIA_ISSET(media, ICE);
31703170
bool media_has_ice_lite_self = MEDIA_ISSET(media, ICE_LITE_SELF);
31713171

3172-
/* add loop protectio if required */
3172+
/* add loop protection if required */
31733173
if (flags->loop_protect)
31743174
append_attr_to_gstring(out, "rtpengine", &rtpe_instance_id, flags, media->type_id);
31753175
#ifdef WITH_TRANSCODING
@@ -3194,7 +3194,7 @@ static void sdp_out_add_other(GString *out, struct call_monologue *monologue,
31943194
/* carry other session level a= attributes to the outgoing SDP */
31953195
monologue->sdp_attr_print(out, monologue, flags);
31963196

3197-
/* ADD arbitrary SDP manipulations for a session sessions */
3197+
/* ADD arbitrary SDP manipulations for a session */
31983198
struct sdp_manipulations *sdp_manipulations = sdp_manipulations_get_by_id(flags->sdp_manipulations, MT_UNKNOWN);
31993199
sdp_manipulations_add(out, sdp_manipulations);
32003200
}
@@ -3423,7 +3423,7 @@ static struct call_media *sdp_out_set_source_media_address(struct call_media *me
34233423

34243424
/**
34253425
* For the offer/answer model, SDP create will be triggered for the B monologue,
3426-
* which likely has empty paramaters (such as sdp origin, session name etc.), hence
3426+
* which likely has empty parameters (such as sdp origin, session name etc.), hence
34273427
* such parameters have to be taken from the A monologue (so from the subscription).
34283428
*
34293429
* For the rest of cases (publish, subscribe, janus etc.) this works as usual:

0 commit comments

Comments
 (0)