Creating a New SDP Session Structure
sdp_session_t *sdp_new_session
():
The sdp_new_session
()
function allocates memory for
a new SDP session structure that is specified by the session
parameter
and assigns a version number to that new structure.
You can free the memory that is allocated to the session structure by calling the sdp_free_session
()
function. For more information, see the Deleting an Attribute From the SDP Media Structure.