Indicates the ending of the media description field (m).
uint32_t mccdSdpAddMediaEnd ( MCC_SDP_CONTEXT_W * context)
Argument |
Description |
context |
Pointer to the MCC_SDP_CONTEXT_W structure that stores an SDP message as you create its components. |
Call mccdSdpAddMediaEnd after using mccdSdpAddMediaBegin and mccdSdpAddMediaFormat. For more information, see Creating an SDP message.
mccdSdpAddMediaEnd returns either MCCSDP_OK (function completed successfully) or MCCSDP_MEMORY_ERROR.
This example:
mccdSdpAddMediaEnd (pc );
terminates the sample media description field created by mccdSdpAddMediaBegin and mccdSdpAddMediaFormat.