|
|
|
|
@ -3535,8 +3535,8 @@ int monologue_subscribe_answer(struct call_monologue *dst_ml, sdp_ng_flags *flag
|
|
|
|
|
|
|
|
|
|
for (__auto_type l = streams->head; l; l = l->next)
|
|
|
|
|
{
|
|
|
|
|
struct stream_params * sp = l->data;
|
|
|
|
|
struct call_media * dst_media = __get_media(dst_ml, sp, flags, 0, mid_tracker);
|
|
|
|
|
struct stream_params *sp = l->data;
|
|
|
|
|
struct call_media *dst_media = __get_media(dst_ml, sp, flags, 0, mid_tracker);
|
|
|
|
|
|
|
|
|
|
if (!dst_media)
|
|
|
|
|
continue;
|
|
|
|
|
@ -3545,8 +3545,12 @@ int monologue_subscribe_answer(struct call_monologue *dst_ml, sdp_ng_flags *flag
|
|
|
|
|
* TODO: this should probably be reworked to support one-to-multi subscriptions.
|
|
|
|
|
*/
|
|
|
|
|
__auto_type src_ml_media_it = dst_media->media_subscriptions.head;
|
|
|
|
|
struct media_subscription * ms = src_ml_media_it->data;
|
|
|
|
|
struct call_media * src_media = ms->media;
|
|
|
|
|
if (!src_ml_media_it)
|
|
|
|
|
continue;
|
|
|
|
|
struct media_subscription *ms = src_ml_media_it->data;
|
|
|
|
|
if (!ms)
|
|
|
|
|
continue;
|
|
|
|
|
struct call_media *src_media = ms->media;
|
|
|
|
|
|
|
|
|
|
if (!src_media)
|
|
|
|
|
continue;
|
|
|
|
|
|