McDewey

Multi-vendor documentation library · semantic search · MCP endpoint at /mcp

Page 466

↗ View in doc context
page
466
source
cucm/v15/tapi-dev-guide/tapi-dev-guide.md
chunk_id
cucm::v15::tapi-dev-guide::tapi-dev-guide::480

• STREAM_TYPE_AUDIO • STREAM_TYPE_VIDEO streamDir Stream direction. This parameter can be one of the following values: • ToApp • ToNwk Return Value If no errors occurs, this function returns stream handle which can be used to reference the stream. If an error occurs, NULL is returned, and a specific error code can be retrieved by calling EpApiGetLastError Description Error code EpAPI is not initialized. EP_ERR_INIT Specified endpoint handle is invalid. EP_ERR_HANDLE_INVALID Specified stream type or direction is invalid. EP_ERR_PARAM_INVALID EpStreamStart Enables data flow on a specified stream Syntax CMAPI bool EpStreamStart ( HANDLE hStream, PRTPDATACALLBACK pCallback ); Parameters hStream Stream handle returned by EpGetStreamHandle. pCallback Pointer to an application callback function to be called when data buffer is received/sent or an error occurred. 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. Cisco Unified TAPI Developers Guide for Cisco Unified Communications Manager, Release 15 and SUs 434 Cisco TSP Media Driver EpStreamStart

Page 466 diagram