public override void Start() { if (!device.enable) { return; } key = VideoManager.CreateInstance(device.type); if (VideoManager.Open(key, device.ip, device.port, device.user, device.pwd)) { OnConnectEH(device, 0); } else { OnConnectEH(device, 1); } }
public bool PlayBackControl(int play, int param, int inValue, ref int outValue) { return(VideoManager.PlayBackControl(key, play, param, inValue, ref outValue)); }
public void StopPlayBack(int play) { VideoManager.StopPlayBack(key, play); }
public int PlayBackByTime(string camera, int channel, string begin, string end, IntPtr handle) { return(VideoManager.PlayBackByTime(key, camera, channel, begin, end, handle)); }
public bool PtzPan(string camera, int channel, int pan, int speed, int stop) { return(VideoManager.PtzPan(key, camera, channel, pan, speed, stop)); }
public bool Preset(string camera, int channel, int param, int preset) { return(VideoManager.Preset(key, camera, channel, param, preset)); }
public void StopRealPlay(int play) { VideoManager.StopRealPlay(key, play); }
public int RealPlay(string camera, int channel, IntPtr handle) { return(VideoManager.RealPlay(key, camera, channel, handle)); }
public override bool SetServerTime(IntPtr time) { return(VideoManager.SetServerTime(key, time)); }