Adding an Attribute Field to the SDP Session Structure
int sdp_add_attribute(sdp_attr_t **attr, const char *name, const char *value);
The sdp_add_attribute
()
function adds the ATTRIBUTE
(a=
) SDP field to the session structure
(sdp_session_t
) or the media structure
(sdp_media_t
) using the name
and
value
parameters.
For more information, see the
sdp_add_attribute
(3COMMPUTIL) man page.