NET_SDK_StartVoiceCom_MR¶
Interface Definition¶
1 2 3 4 5 6 | |
1 2 3 4 5 6 | |
Function Description¶
Enable the voice forwarding function.
Parameter Description¶
| Parameters | Type | Remark |
|---|---|---|
| lUserIDin | LONG | User ID, the return value of NET_SDK_Login or NET_SDK_LoginEx. |
| bNeedNoEncodeDatain | BOOL | Whether the voice data does not need to be encoded, select TRUE, the stream from the device is directly called back and sent to the device stream SDK for encoding. Select FALSE, the stream from the device is decoded and then called back, and the stream to the device SDK is not encoded. |
| fVoiceDataCallBackin | TALK_DATA_CALLBACK | Voice data callback function. |
| pUserin | void* | User-defined parameters. |
| lChannelin | LONG | Channel number, starting from 0. The IPC device parameter is invalid. The default value is -1, indicating the device itself. |
Return Value¶
-
type:POINTERHANDLE
-
remark:-1 indicates failure, and other values are used as voice forwarding handles.
Remarks¶
None