Browse Source

MT#63317 print bundle groups for bundled media

Change-Id: I3dce645f308bf0fe5f63b13fbb56f33ab0ff0ae2
rfuchs/dtls-ice
Richard Fuchs 3 months ago
parent
commit
e4478fcdbb
2 changed files with 4 additions and 0 deletions
  1. +2
    -0
      daemon/sdp.c
  2. +2
    -0
      t/auto-daemon-tests-bundle.pl

+ 2
- 0
daemon/sdp.c View File

@ -3160,6 +3160,8 @@ static void sdp_out_add_other(GString *out, struct call_monologue *monologue,
for (__auto_type ll = source_ml->groups_other.head; ll; ll = ll->next)
append_attr_to_gstring(out, "group", ll->data, flags, media->type_id);
}
else
append_bundle_groups(out, monologue, flags);
/* carry other session level a= attributes to the outgoing SDP */
monologue->sdp_attr_print(out, monologue, flags);


+ 2
- 0
t/auto-daemon-tests-bundle.pl View File

@ -396,6 +396,7 @@ v=0
o=- 1545997027 1 IN IP4 198.51.100.1
s=tester
t=0 0
a=group:BUNDLE a v
m=audio PORT RTP/AVP 0
c=IN IP4 203.0.113.1
a=mid:a
@ -508,6 +509,7 @@ v=0
o=- 1545997027 1 IN IP4 198.51.100.1
s=tester
t=0 0
a=group:BUNDLE a v
m=audio PORT RTP/AVP 0
c=IN IP4 203.0.113.1
a=mid:a


Loading…
Cancel
Save