for established media sessions. Instead of aborting SDP decode with
an error (ENOTSUP) if transport is not supported, this scenario is
handled gracefully, and the media lines in question are disabled in
the SDP answer, and disabled from the app's perspective (remote port set to 0).
- sdp_media_set_alt_protos() and accessor function
Example usage:
err = sdp_media_set_alt_protos(m->sdp, 4,
"RTP/AVP",
"RTP/AVPF",
"RTP/SAVP",
"RTP/SAVPF");
set SDP media encode-handler to NULL on deref
adds a function to make SDP media ignore formats. This is useful
for example with BFCP where the format list is to be ignored.