Browse Source

MT#55283 remove sp->desired_family

doesn't really belong there

Change-Id: Ia5a5be897404a5ebc34bc499d08c14323229cb14
pull/1998/head
Richard Fuchs 4 months ago
parent
commit
a7e9d52776
3 changed files with 2 additions and 4 deletions
  1. +2
    -2
      daemon/call.c
  2. +0
    -1
      daemon/sdp.c
  3. +0
    -1
      include/call.h

+ 2
- 2
daemon/call.c View File

@ -2992,8 +2992,8 @@ static void __media_init_from_flags(struct call_media *other_media, struct call_
if (media && (!media->desired_family || !MEDIA_ISSET(media, ICE))) {
if (!media->desired_family)
media->desired_family = other_media->desired_family;
if (sp->desired_family)
media->desired_family = sp->desired_family;
if (flags->address_family)
media->desired_family = flags->address_family;
}
if (flags->opmode == OP_OFFER) {


+ 0
- 1
daemon/sdp.c View File

@ -1884,7 +1884,6 @@ int sdp_streams(const sdp_sessions_q *sessions, sdp_streams_q *streams, sdp_ng_f
sp->type = media->media_type_str;
sp->type_id = media->media_type_id;
memcpy(sp->direction, flags->direction, sizeof(sp->direction));
sp->desired_family = flags->address_family;
bf_set_clear(&sp->sp_flags, SP_FLAG_ASYMMETRIC, flags->asymmetric);
bf_set_clear(&sp->sp_flags, SP_FLAG_UNIDIRECTIONAL, flags->unidirectional);
bf_set_clear(&sp->sp_flags, SP_FLAG_STRICT_SOURCE, flags->strict_source);


+ 0
- 1
include/call.h View File

@ -365,7 +365,6 @@ struct stream_params {
sdp_attr_q generic_attributes; /* just some other attributes */
sdp_attr_q all_attributes; /* all attributes */
str direction[2];
sockfamily_t *desired_family;
struct dtls_fingerprint fingerprint;
atomic64 sp_flags;
struct codec_store codecs;


Loading…
Cancel
Save