diff -r 51a74ef9ed63 -r ae94777fff8f Symbian3/SDK/Source/GUID-EFAEDFA5-3807-56EB-8D47-3A6960C4056C.dita --- a/Symbian3/SDK/Source/GUID-EFAEDFA5-3807-56EB-8D47-3A6960C4056C.dita Wed Mar 31 11:11:55 2010 +0100 +++ b/Symbian3/SDK/Source/GUID-EFAEDFA5-3807-56EB-8D47-3A6960C4056C.dita Fri Jun 11 12:39:03 2010 +0100 @@ -1,37 +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.

+ + + + + +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