Browse Source

MT#63317 avoid duplicate extmap

Change-Id: If3237a5fc07e6257b58722336563d8ca95cd984c
rfuchs/dtls-ice
Richard Fuchs 3 months ago
parent
commit
8b66f0a5e4
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      daemon/call.c

+ 4
- 0
daemon/call.c View File

@ -3011,6 +3011,10 @@ static void media_set_extmap(struct call_media *media, const extmap_q *emq,
if (manip && !manip(&ext_o->name, flags))
continue;
// already present?
if (media->extmap_ops->lookup(media, ext_o->id))
continue;
__auto_type ext = g_new(__typeof(*ext_o), 1);
*ext = *ext_o;
t_queue_push_tail(&media->extmap, ext);


Loading…
Cancel
Save