Deleting Fields From the SDP Session Structure
int sdp_delete_all_field(sdp_session_t *session, const char field);
The sdp_delete_all_field()
function deletes all occurrences
of the SDP field that is specified by the field parameter
from the SDP structure. For example, if an SDP structure has three BANDWIDTH (b=) fields, calling this function with a value
of SDP_BANDWIDTH_FIELD in the field parameter deletes all
three BANDWIDTH fields from the session structure.
For more information, see the
sdp_delete_all_field(3COMMPUTIL) man page.