Skip to content

NET_SDK_GetRtspUrl

Interface Definition

1
2
3
4
5
BOOL NET_SDK_GetRtspUrl(
    LONG lUserID,
    LONG lChannel,
    LONG lStreamType,
    char* sRtspUrl);
1
2
3
4
5
public static extern bool NET_SDK_GetRtspUrl(
    int lUserID,
    int lChlID,
    int lStreamType,
    IntPtr pRtspUrl);

Function Description

Get the RTSP URL of the device.

Parameter Description

Parameters Type Remark
lUserIDin LONG User ID, the return value of NET_SDK_Login or NET_SDK_LoginEx.
lChannelin LONG Channel number, starting from 0. This parameter is invalid for IPC devices.
lStreamTypein LONG Stream type, 0 represents the main stream, and the rest represent the main stream.
sRtspUrlout char* The RTSP URL of the device.

Return Value

  • type:BOOL

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

Remarks

None

Error Code