diff -r 43e37759235e -r 51a74ef9ed63 Symbian3/SDK/Source/GUID-EFAEDFA5-3807-56EB-8D47-3A6960C4056C.dita --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/SDK/Source/GUID-EFAEDFA5-3807-56EB-8D47-3A6960C4056C.dita Wed Mar 31 11:11:55 2010 +0100 @@ -0,0 +1,37 @@ + + + + + +How +to use the SDP Codec API +
Protocols

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.

+
Error handling

All +function calls are synchronous. When an error occurs the functions leave with +SDP Codec specific error codes and Symbian platform error codes.

+
\ No newline at end of file