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_SetPlayerBufNumber

### Interface Definition

C++C#

    1
    2
    3
    BOOL NET_SDK_SetPlayerBufNumber(
        POINTERHANDLE lLiveHandle,
        DWORD dwBufNum);

    1
    2
    3
    public static extern Boolean NET_SDK_SetPlayerBufNumber(
        POINTERHANDLE lLiveHandle,
        UInt32 dwBufNum);

### Function Description

Set the number of frame buffers in the playback library (this function is not currently supported).

### Parameter Description

Parameters | Type | Remark
--- | --- | ---
lLiveHandlein | POINTERHANDLE | The preview handle, which is the return value of `NET_SDK_LivePlay` or `NET_SDK_LivePlayEx`.
dwBufNumin | DWORD | The maximum number of frames in the buffer when playing a single video. The value range is [1,50]. The SDK default frame buffer size is 15.

### Return Value

- Type：BOOL

- Remark：Returns TRUE if successful, FALSE if failed.

### Remarks

None

Error Code