Skip to content

NET_SDK_OpenSound

Interface Definition

1
2
BOOL NET_SDK_OpenSound(
    POINTERHANDLE lLiveHandle);
1
2
public static extern bool NET_SDK_OpenSound(
    POINTERHANDLE lLiveHandle);

Function Description

Enable sound in exclusive sound card mode during preview.

Parameter Description

Parameters Type Remark
lLiveHandlein POINTERHANDLE The preview handle, which is the return value of NET_SDK_LivePlay or NET_SDK_LivePlayEx.

Return Value

  • type:BOOL

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

Remarks

If the current mode is shared, calling this interface will return a failure. Only one channel can be opened for exclusive playback, that is, when multiple channels are opened in sequence, only the last channel is opened.

Error Code