Method | Description | |
---|---|---|
AddBindingParameters ( System.ServiceModel.Description.ServiceDescription serviceDescription, ServiceHostBase serviceHostBase, System |
||
ApplyDispatchBehavior ( System.ServiceModel.Description.ServiceDescription serviceDescription, ServiceHostBase serviceHostBase ) : void | ||
Connect ( string &sessionID ) : |
连接融合网关
|
|
DataCallBackFunc ( string cameraNo, |
码流回调委托
|
|
Disconnect ( ) : |
断开监控管理连接
|
|
GetAllCameras ( PlatformType platformType, |
获取摄像头列表及分组信息
|
|
GetRefreshStatus ( |
获取监控摄像头列表刷新状态,返回结果为0是表示刷新完毕,为1是刷新操作中。当查询刷新状态为0时,可调用获取监控摄像头列表接口,获取刷新后监控摄像头列表
|
|
Instance ( ) : |
单实例
|
|
KeepAliver ( string sessionID ) : |
保持连接
|
|
Load ( ) : |
线程加载cgw
|
|
MakeIFrame ( string cameraNo ) : |
重发关键帧
|
|
RefreshMonitorCamera ( ) : |
刷新监控摄像头列表
|
|
SetHost ( System.ServiceModel.ServiceHost host ) : void |
设置服务运行宿主
|
|
SetMic ( string cameraNo, bool isOn ) : |
设置摄像头麦克风状态
|
|
SetSpeaker ( string cameraNo, bool isOn ) : SmcErr |
设置摄像头扬声器状态
|
|
StartControlPtz ( string cameraNo, PtzCommandType ptzCommandType, int param ) : SmcErr |
PTZ(Pan/Tilt/Zoom)控制,该接口需要在预览模式下使用
|
|
StartReceiveVideoByPipe ( string cameraNo, string &pipeName ) : SmcErr |
预览摄像头视频,使用命名管道方式接收数据
|
|
StopControlPtz ( string cameraNo, PtzCommandType ptzCommandType ) : SmcErr |
停止云台控制,摄像头控制
|
|
StopReceiveVideoByPipe ( string cameraNo ) : SmcErr |
停止预览摄像头视频,并清理命名管道
|
|
Validate ( ServiceDescription serviceDescription, ServiceHostBase serviceHostBase ) : void |
Method | Description | |
---|---|---|
OnStop ( ) : void |
停止服务
|
Method | Description | |
---|---|---|
CheckSession ( string sessionID ) : |
检查Session
|
|
MonitorManageService ( ) : System |
私有构造函数
|
public AddBindingParameters ( System.ServiceModel.Description.ServiceDescription serviceDescription, ServiceHostBase serviceHostBase, System |
||
serviceDescription | System.ServiceModel.Description.ServiceDescription | |
serviceHostBase | ServiceHostBase | |
endpoints | System |
|
bindingParameters | System | |
return | void |
public ApplyDispatchBehavior ( System.ServiceModel.Description.ServiceDescription serviceDescription, ServiceHostBase serviceHostBase ) : void | ||
serviceDescription | System.ServiceModel.Description.ServiceDescription | |
serviceHostBase | ServiceHostBase | |
return | void |
public Connect ( string &sessionID ) : |
||
sessionID | string | |
return |
public DataCallBackFunc ( string cameraNo, |
||
cameraNo | string | 摄像头编号 |
mediaData | 码流 | |
sender | string | 调用者,区别哪个平台的回调 |
return | void |
public GetAllCameras ( PlatformType platformType, |
||
platformType | PlatformType | |
pageParam | ||
cameraList | List |
摄像头列表 |
groupList | List |
组信息 |
nodeRelationList | List |
分组关系 |
pagesInfo | System.PageInfo | |
licenseInfo | ||
return |
public GetRefreshStatus ( |
||
refreshStatus | ||
return |
static public Instance ( ) : |
||
return |
public KeepAliver ( string sessionID ) : |
||
sessionID | string | |
return |
public MakeIFrame ( string cameraNo ) : |
||
cameraNo | string | 摄像头编号 |
return |
public RefreshMonitorCamera ( ) : |
||
return |
public SetHost ( System.ServiceModel.ServiceHost host ) : void | ||
host | System.ServiceModel.ServiceHost | |
return | void |
public SetMic ( string cameraNo, bool isOn ) : |
||
cameraNo | string | 摄像头编号 |
isOn | bool | 麦克风是否开启 |
return |
public SetSpeaker ( string cameraNo, bool isOn ) : SmcErr | ||
cameraNo | string | 摄像头编号 |
isOn | bool | 扬声器是否开启 |
return | SmcErr |
public StartControlPtz ( string cameraNo, PtzCommandType ptzCommandType, int param ) : SmcErr | ||
cameraNo | string | 摄像头编号 |
ptzCommandType | PtzCommandType | 命令类型 |
param | int | 命令参数 |
return | SmcErr |
public StartReceiveVideoByPipe ( string cameraNo, string &pipeName ) : SmcErr | ||
cameraNo | string | |
pipeName | string | |
return | SmcErr |
public StopControlPtz ( string cameraNo, PtzCommandType ptzCommandType ) : SmcErr | ||
cameraNo | string | 摄像头编号 |
ptzCommandType | PtzCommandType | 命令类型 |
return | SmcErr |
public StopReceiveVideoByPipe ( string cameraNo ) : SmcErr | ||
cameraNo | string | |
return | SmcErr |
public Validate ( ServiceDescription serviceDescription, ServiceHostBase serviceHostBase ) : void | ||
serviceDescription | ServiceDescription | |
serviceHostBase | ServiceHostBase | |
return | void |