Property | Type | Description | |
---|---|---|---|
isRefreshSucess | bool |
Method | Description | |
---|---|---|
GetDeviceList ( string serverSignalGateway, string deviceID ) : void |
获取系统设备列表
|
|
IVS_NETSOURCE_UnInit ( ) : IVS_NETSOURCE_RESULT |
释放所有实况通道,释放NETSOURCE资源
|
|
PtzControl ( string deviceID, string ptzCmd, string controlPriority ) : EM_SIP_RESULT |
云台控制
|
|
SIP_SDK_ACK ( int iResponseID ) : EM_SIP_RESULT |
该函数用于发送SIP ACK消息
|
|
SIP_SDK_BYE ( int responseID ) : EM_SIP_RESULT |
该函数用于发送SIP BYE消息
|
|
SIP_SDK_INVITE ( string pAccount, string pSdpBody, int &iResponseID, StringBuilder strRemoteBody ) : EM_SIP_RESULT |
该函数用于发送SIP Invite消息
|
|
SIP_SDK_Init ( string pSipAccount, string pSipPasswd, string pLocalID, int iLocalPort, string pServerSipAccount, string pServerSipPasswd, string pServerID, string pServerIP, int iServerPort, EventHandler receivedAllDevice ) : EM_SIP_RESULT |
初始化SIP协议栈
|
|
SIP_SDK_REGISTER ( ) : EM_SIP_RESULT |
该函数用于发送SIP Register消息
|
|
SIP_SDK_Subscribe ( string pBody ) : EM_SIP_RESULT |
该函数用于发送subscribe消息
|
|
SIP_SDK_UNREGISTER ( ) : EM_SIP_RESULT |
该函数用于发送SIP UNRegister消息,有效期为0
|
|
SIP_SDK_UnInit ( ) : EM_SIP_RESULT |
该函数用于去初始化SIP协议栈
|
|
SetNetDataCallBack ( NET_DATA_CALLBACK dataCallBack, NET_EXCEPTION_CALLBACK netExceptionCallBack ) : void |
设置实况rtp数据包回调
|
|
StartKeepalive ( string serverID, string localID ) : void |
sip保活
|
|
StartRecvStream ( string cameraCode, string domain, string iSipPort, string localPort ) : |
打开通道,开始接收实况RTP数据流
|
|
StopRecvStream ( |
停止接收rtp数据包
|
Method | Description | |
---|---|---|
GetAllDeviceNum ( string strBody ) : int |
获取查询出的设备总数
|
|
GetDeviceItem ( string strBody ) : void |
根据消息体解析设备
|
|
GetInviteRemoteIPPort ( string strRemoteBody, string &pRemoteSendStreamIp, uint &uiRemoteSendStreamVideoPort ) : void |
获取收流的IP、端口
|
|
GetLocalIP ( string serverIP, int serverPort, int localPort ) : string |
获取本机ip
|
|
IVS_NETSOURCE_FreeChannel ( |
释放NETSOURCE通道资源
|
|
SIP_CallBackMethod ( int msgType, int eventType, StringBuilder pPara ) : EM_SIP_RESULT |
消息通知回调函数结果
|
|
SIP_CallBackThreadMethod ( object oPara ) : void |
线程解析返回的xml
|
public GetDeviceList ( string serverSignalGateway, string deviceID ) : void | ||
serverSignalGateway | string | 要查询的域编码 |
deviceID | string | 要查询的根设备编码 |
return | void |
public IVS_NETSOURCE_UnInit ( ) : IVS_NETSOURCE_RESULT | ||
return | IVS_NETSOURCE_RESULT |
public PtzControl ( string deviceID, string ptzCmd, string controlPriority ) : EM_SIP_RESULT | ||
deviceID | string | 设备编码 |
ptzCmd | string | |
controlPriority | string | 优先级 |
return | EM_SIP_RESULT |
public SIP_SDK_ACK ( int iResponseID ) : EM_SIP_RESULT | ||
iResponseID | int | iResponseID |
return | EM_SIP_RESULT |
public SIP_SDK_BYE ( int responseID ) : EM_SIP_RESULT | ||
responseID | int | |
return | EM_SIP_RESULT |
public SIP_SDK_INVITE ( string pAccount, string pSdpBody, int &iResponseID, StringBuilder strRemoteBody ) : EM_SIP_RESULT | ||
pAccount | string | 对方账号 |
pSdpBody | string | SDP描述字符串 |
iResponseID | int | |
strRemoteBody | StringBuilder | |
return | EM_SIP_RESULT |
public SIP_SDK_Init ( string pSipAccount, string pSipPasswd, string pLocalID, int iLocalPort, string pServerSipAccount, string pServerSipPasswd, string pServerID, string pServerIP, int iServerPort, EventHandler receivedAllDevice ) : EM_SIP_RESULT | ||
pSipAccount | string | |
pSipPasswd | string | |
pLocalID | string | |
iLocalPort | int | |
pServerSipAccount | string | |
pServerSipPasswd | string | |
pServerID | string | |
pServerIP | string | |
iServerPort | int | |
receivedAllDevice | EventHandler | |
return | EM_SIP_RESULT |
public SIP_SDK_Subscribe ( string pBody ) : EM_SIP_RESULT | ||
pBody | string | |
return | EM_SIP_RESULT |
public SIP_SDK_UNREGISTER ( ) : EM_SIP_RESULT | ||
return | EM_SIP_RESULT |
public SetNetDataCallBack ( NET_DATA_CALLBACK dataCallBack, NET_EXCEPTION_CALLBACK netExceptionCallBack ) : void | ||
dataCallBack | NET_DATA_CALLBACK | |
netExceptionCallBack | NET_EXCEPTION_CALLBACK | |
return | void |
public StartKeepalive ( string serverID, string localID ) : void | ||
serverID | string | |
localID | string | |
return | void |
public StartRecvStream ( string cameraCode, string domain, string iSipPort, string localPort ) : |
||
cameraCode | string | 摄像机编码 |
domain | string | |
iSipPort | string | |
localPort | string | |
return |
public StopRecvStream ( |
||
channel | ||
return | EM_SIP_RESULT |