Browse Source

MT#57719 unconditional subscribe

Always create the offer/answer subscriptions during an offer/answer
exchange, making sure that no other offer/answer subscriptions can
exist.

Change-Id: I95e584c24e7ba74f2ead36d0c23976ef1f2e461c
pull/1870/head
Richard Fuchs 2 years ago
parent
commit
bf4f32b652
1 changed files with 1 additions and 5 deletions
  1. +1
    -5
      daemon/call.c

+ 1
- 5
daemon/call.c View File

@ -3004,11 +3004,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 */
if (!call_get_media_subscription(media->media_subscribers_ht, other_media) &&
!call_get_media_subscription(other_media->media_subscribers_ht, media))
{
__subscribe_medias_both_ways(media, other_media);
}
__subscribe_medias_both_ways(media, other_media);
struct media_subscription * ms = call_get_media_subscription(media->media_subscribers_ht, other_media);
if (ms)


Loading…
Cancel
Save