/mcppWaveFormat Pointer to a WAVEFORMATEX data structure. Upon successful completion of the request this structure is filled with stream inbound codec format data. Return Value If no error occurs, this function returns true. If an error occurs, false is returned, and a specific error code can be retrieved by calling EpApiGetLastError. Description Error code EpAPI is not initialized. EP_ERR_INIT Specified stream handle is invalid. EP_ERR_HANDLE_INVALID EpStreamCodecInSet Sets stream inbound codec format. Syntax CMAPI bool EpStreamCodecInSet ( HANDLE hStream, PWAVEFORMATEX pWaveFormat, ULONG pktSizeMs ); Parameters hStream Stream handle returned by EpGetStreamHandle. pWaveFormat Pointer to a WAVEFORMATEX data structure which contains codec information. pktSizeMs Packet size in milliseconds. If value 0 (zero) is specified a default value (20) is used. Return Value If no error occurs, this function returns true. If an error occurs, false is returned, and a specific error code can be retrieved by calling EpApiGetLastError. Description Error code EpAPI is not initialized. EP_ERR_INIT Specified stream handle is invalid. EP_ERR_HANDLE_INVALID Cisco Unified TAPI Developers Guide for Cisco Unified Communications Manager, Release 15 and SUs 438 Cisco TSP Media Driver EpStreamCodecInSet