OpenSDK  V4.2.0
Functions
Two-way audio

Functions

OPENSDK_API OPENSDK_RESULT CALLBACK OpenSDK_StartVoiceTalkEx (const char *szSessionId, const char *szDevSerial, const int iChannelNo)
 Start Two-way audio, talking with multiple devices is not supported. More...
 
OPENSDK_API OPENSDK_RESULT CALLBACK OpenSDK_StopVoiceTalk (const char *szSessionId)
 Stop Two-way audio. More...
 

Detailed Description

Function Documentation

OPENSDK_API OPENSDK_RESULT CALLBACK OpenSDK_StartVoiceTalkEx ( const char *  szSessionId,
const char *  szDevSerial,
const int  iChannelNo 
)

Start Two-way audio, talking with multiple devices is not supported.

Parameters
[in]szSessionIdSession ID
[in]szAccessTokenToken verification
[in]szDevSerialDevice serial No.
[in]iChannelNoDevice channel No.
Returns
Return 0 on success, -1 on failure,-2 on two-way audio started
See also
OpenSDK_StopVoiceTalk()
OPENSDK_API OPENSDK_RESULT CALLBACK OpenSDK_StopVoiceTalk ( const char *  szSessionId)

Stop Two-way audio.

Parameters
[in]szSessionIdSession ID
Returns
Return 0 on success, -1 on failure
See also
OpenSDK_StartVoiceTalk()