Browse Source

MT#60476 sdp_create: convert parameter naming

For the `print_sdp_media_section()` change
parameter naming `message_setup` -> `sdp_create`,
so that other differentiations can also take place
in this function.

E.g. slightly different rtcp handling for the
sdp_create in comparison to the sdp_replace (because
no chopper based approach can be applied here).

Change-Id: I555e0ace04b384d6907f831c2a3de9a0b09777e4
rfuchs/test
Donat Zenichev 1 year ago
parent
commit
572dd713c6
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      daemon/sdp.c

+ 2
- 2
daemon/sdp.c View File

@ -3182,7 +3182,7 @@ static struct packet_stream *print_sdp_media_section(GString *s, struct call_med
packet_stream_list *rtp_ps_link,
bool is_active,
bool force_end_of_ice,
bool message_setup) /* TODO: remove after sdp_replace is deprecated */
bool sdp_create) /* TODO: remove after sdp_replace is deprecated */
{
struct packet_stream *rtp_ps = rtp_ps_link->data;
struct packet_stream *ps_rtcp = NULL;
@ -3234,7 +3234,7 @@ static struct packet_stream *print_sdp_media_section(GString *s, struct call_med
}
/* message media type. Cases like: "m=message 28000 TCP/MSRP *" */
} else if (media->type_id == MT_MESSAGE && message_setup) {
} else if (media->type_id == MT_MESSAGE && sdp_create) {
/* handle `a=setup:` */
insert_setup(s, media, flags, false);
}


Loading…
Cancel
Save