Browse Source

MT#63317 remove rejected streams from bundle

Change-Id: Ib596cf1479eae475c0fec3303afca7e24166f51e
rfuchs/dtls-ice
Richard Fuchs 3 months ago
parent
commit
72ac8d8008
1 changed files with 9 additions and 0 deletions
  1. +9
    -0
      daemon/call.c

+ 9
- 0
daemon/call.c View File

@ -3362,6 +3362,14 @@ static void monologue_bundle_check_consistency(struct call_monologue *ml) {
continue;
}
// rejected/disabled stream?
if (!media->streams.head->data->selected_sfd) {
if (media->bundle == media)
ilog(LOG_WARN, "Bundle head has been rejected/disabled");
media->bundle = NULL;
continue;
}
// MID extension available?
if (media->extmap_id[RTP_EXT_MID]) {
if (media->media_id.len > 255) {
@ -3776,6 +3784,7 @@ int monologue_offer_answer(struct call_monologue *monologues[2], sdp_streams_q *
}
monologue_bundle_accept(sender_ml, flags);
monologue_bundle_check_consistency(receiver_ml);
monologue_bundle_set_fds(receiver_ml);
monologue_bundle_set_sinks(sender_ml);
monologue_bundle_set_sinks(receiver_ml);


Loading…
Cancel
Save