VCT_SetCodec

Syntax

#include <vct.h>
BOOL VCT_SetCodec( VCTCodec codec );

Argument

codec The codec type to change.

Return Value

TRUE if successful; otherwise, FALSE.

Description

VCT_SetCodec changes the codec used for audio streaming. The codec can be changed even during streaming.

In Transceiver and Conference Modes, insufficient bandwidth prevents usage of the 8-bit 8KHz RAW and G.711 u-Law formats. VCT_SetCodec returns an error when the codec is configured in Transceiver and Conference Modes.

See Also

VCT_GetCodec

Revision History

2006/04/10 An additional explanation regarding the codec's limitation in Transceiver and Conference Modes was added.

2006/01/25 First release