Skip to content
This SDK only works with devices released within the past 3 years. We regularly optimize and update the SDK to ensure compatibility and performance. We do not guarantee compatibility or provide technical support for devices older than 3 years.

# NET_SDK_VoiceComSendData

### Interface Definition

C++C#

    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