NET_SDK_StartVoiceCom¶
Interface Definition¶
1 2 3 4 5 6 | |
1 2 3 4 5 6 | |
Function Description¶
Start voice intercom.
Parameter Description¶
| Parameters | Type | Remark |
|---|---|---|
| lUserIDin | LONG | User ID, the return value of NET_SDK_Login or NET_SDK_LoginEx. |
| bNeedCBNoEncDatain | BOOL | Whether the local voice data needs to be encoded when callback, select TRUE, the stream from the device is directly callback. Select FALSE, the stream from the device is decoded before callback. |
| fVoiceDataCallBackin | TALK_DATA_CALLBACK | Audio data callback function. |
| pUserin | void* | User-defined parameters. |
| lChannelin | LONG | Channel number, starting from 0. This parameter is invalid for IPC devices. |
Return Value¶
-
type:POINTERHANDLE
-
remark:-1 indicates failure, and other values are used as the voice intercom handle.
Remarks¶
None