ITMedia::put_FormatCodes method
[ Rendezvous IP Telephony Conferencing controls and interfaces are not available for use in Windows Vista, Windows Server 2008, and subsequent versions of the operating system. The RTC Client API provides similar functionality.]
The put_FormatCodes method sets the list of media payload format codes. The variant contains a SAFEARRAY of BSTRs. Each BSTR within that array is a format code string.
Syntax
HRESULT put_FormatCodes(
[in] VARIANT NewVal
);
Parameters
-
NewVal [in]
-
List of media payload format codes.
Return value
This method can return one of these values.
Return code | Description |
---|---|
|
Method succeeded. |
|
The NewVal parameter is not valid. |
|
Insufficient memory exists to perform the operation. |
|
Unspecified error. |
|
This method is not yet implemented. |
Remarks
When a list of payload formats is given, this implies that all of these formats may be used in the session, but the first of these formats is the default format for the session. When the transport protocol is RTP, the format codes are RTP payload types.
Requirements
Requirement | Value |
---|---|
TAPI version |
Requires TAPI 3.0 or later |
Header |
|
Library |
|
DLL |
|