Writes the SDP information field (i) to the output buffer.
uint32_t mccdSdpAddInformation ( MCC_SDP_CONTEXT_W * context, const char * info)
Argument |
Description |
context |
Pointer to the MCC_SDP_CONTEXT_W structure that stores an SDP message as you create its components. |
info |
Pointer to SDP session information. |
Depending on when you call mccdSdpAddInformation, it adds a session-level information field or a media-level information field to the SDP message. For more information, see Creating an SDP message.
mccdSdpAddInformation returns either MCCSDP_OK (function completed successfully) or MCCSDP_MEMORY_ERROR.
This example:
mccdSdpAddInformation ( pc, "My audio stream" );
creates the following SDP output:
i=My audio stream