From 4669051cac4b628f1a77bd43d0564e1a5cba370a Mon Sep 17 00:00:00 2001 From: Donat Zenichev Date: Fri, 1 Nov 2024 18:16:18 +0100 Subject: [PATCH] MT#56465 offer/answer: subscribe sender to receiver When calling `__subscribe_medias_both_ways()`, add sender to receiver, and not the other way. This is just for simplicity of code reading (so kinda: from -> to). Change-Id: I7df889b7744c1fc3c1bec5016adbe6924e5396c3 --- daemon/call.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/call.c b/daemon/call.c index fe71efccf..a5963c4cc 100644 --- a/daemon/call.c +++ b/daemon/call.c @@ -3002,7 +3002,7 @@ int monologue_offer_answer(struct call_monologue *monologues[2], sdp_streams_q * * details already. */ /* if medias still not subscribed to each other, do it now */ - __subscribe_medias_both_ways(receiver_media, sender_media); + __subscribe_medias_both_ways(sender_media, receiver_media); struct media_subscription * ms = call_get_media_subscription(receiver_media->media_subscribers_ht, sender_media); if (ms)