MT#55283 don't look up dst media by src media_id

Change-Id: Id6da108b68943d62ad7036b2bb38df8f4f786c98
rfuchs/2073
Richard Fuchs 2 months ago
parent bc85945a59
commit 05268aac2b

@ -4370,7 +4370,8 @@ static int monologue_subscribe_request1(struct call_media *src_media, struct cal
struct stream_params *sp = &src_media->sp;
struct call_media *dst_media = __get_media(dst_ml, sp, flags, (*index)++, mid_tracker_dst);
struct call_media *dst_media = call_get_media(dst_ml, &src_media->type, src_media->type_id,
NULL, false, (*index)++, mid_tracker_dst);
/* subscribe dst_ml (subscriber) to src_ml, don't forget to carry the egress flag, if required */
__add_media_subscription(dst_media, src_media, &(struct sink_attrs) { .egress = !!flags->egress });

Loading…
Cancel
Save