Skip to content

NET_SDK_VoiceComSendData

Interface Definition

1
2
3
4
BOOL NET_SDK_VoiceComSendData(
    POINTERHANDLE lVoiceComHandle,
    char* pSendBuf,
    DWORD dwBufSize);
1
2
3
4
public static extern bool NET_SDK_VoiceComSendData(
    POINTERHANDLE lVoiceComHandle,
    IntPtr pSendBuf,
    int dwBufSize);

Function Description

Voice forwarding real-time data transmission.

Parameter Description

Parameters Type Remark
lVoiceComHandlein POINTERHANDLE Voice forwarding handle, the return value of NET_SDK_StartVoiceCom_MR.
pSendBufin char* Data sending buffer pointer. The data to be sent in the buffer is the PCM data before encoding.
dwBufSizein DWORD Buffer size.

Return Value

  • type:BOOL

  • remark:Returns TRUE if successful, FALSE if failed.

Remarks

None

Error Code