The following steps describe how to use the SDP Codec API to create an SDP description:
Create a CSdpDocument object and open the string pool before use. Note : The string table includes predefined SDP constants for which handles are retrieved when SdpCodecStringPool::StringPoolL() is called. The string table includes all predefined SDP related constants.
The net type and the address type of the connection and origin field parameters that are predefined are retrieved from the string pool.
Create the origin field with origin field parameters, and set the CSdpDocument object.
Create the connection field from the connection parameters, and set the CSdpDocument object.
When you finish with the SDP description, delete the CSdpDocument object and close the string pool.
The following illustration shows how to create an SDP description.
Note : In the following illustration only required SDP fields are included.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License v1.0.