From e4478fcdbbfcfadb34389a74946478ee866330a6 Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Fri, 5 Sep 2025 09:52:19 -0400 Subject: [PATCH] MT#63317 print bundle groups for bundled media Change-Id: I3dce645f308bf0fe5f63b13fbb56f33ab0ff0ae2 --- daemon/sdp.c | 2 ++ t/auto-daemon-tests-bundle.pl | 2 ++ 2 files changed, 4 insertions(+) diff --git a/daemon/sdp.c b/daemon/sdp.c index 6b2b7a661..adcf425ec 100644 --- a/daemon/sdp.c +++ b/daemon/sdp.c @@ -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); diff --git a/t/auto-daemon-tests-bundle.pl b/t/auto-daemon-tests-bundle.pl index 3321ff1da..a13c17d07 100755 --- a/t/auto-daemon-tests-bundle.pl +++ b/t/auto-daemon-tests-bundle.pl @@ -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