MT#55283 fix original-sendrecv

Fixes regression from the sdp_create rework.

Change-Id: I875052a0e229bca529ea461d7cd3c1c068feebee
(cherry picked from commit 18e0db51a9)
(cherry picked from commit 10c83eca5a)
mr13.1.1
Richard Fuchs 11 months ago
parent 7f09506f4b
commit 115c985a7f

@ -1940,6 +1940,14 @@ int sdp_streams(const sdp_sessions_q *sessions, sdp_streams_q *streams, sdp_ng_f
SP_CLEAR(sp, SEND);
}
if (flags->original_sendrecv) {
sdp_attr_append1(&sp->generic_attributes,
attr_get_by_id_m_s(media, ATTR_SENDRECV));
sdp_attr_append1(&sp->generic_attributes, sendonly);
sdp_attr_append1(&sp->generic_attributes, recvonly);
sdp_attr_append1(&sp->generic_attributes, inactive);
}
/* a=setup */
attr = attr_get_by_id_m_s(media, ATTR_SETUP);
if (attr) {

Loading…
Cancel
Save