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
pull/1880/head
Donat Zenichev 1 year ago
parent 61b4eb8239
commit 4669051cac

@ -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)

Loading…
Cancel
Save