MT#55283 rework test for implicit mux

Change-Id: I69f135a4034e497f315c3968d56dc759d8ac7b1a
pull/1126/merge
Richard Fuchs 1 week ago
parent 99e4904600
commit 1c4bf007a4

@ -2203,13 +2203,13 @@ bool sdp_streams(const sdp_sessions_q *sessions, sdp_streams_q *streams, sdp_ng_
SP_SET(sp, IMPLICIT_RTCP);
goto next;
}
if (attr->rtcp.port_num == sp->rtp_endpoint.port
&& !is_trickle_ice_address(&sp->rtp_endpoint))
SP_SET(sp, RTCP_MUX);
errstr = "Invalid RTCP attribute";
if (fill_endpoint(&sp->rtcp_endpoint, media, flags, &attr->rtcp.address,
attr->rtcp.port_num))
goto error;
if (endpoint_eq(&sp->rtcp_endpoint, &sp->rtp_endpoint)
&& !is_trickle_ice_address(&sp->rtp_endpoint))
SP_SET(sp, RTCP_MUX);
next:
t_queue_push_tail(streams, sp);

Loading…
Cancel
Save