Esempio n. 1
0
 public void GetCapabilities()
 {
     if (InitializeClient())
     {
         _idle = false;
         _client.GetCapabilities(new CapabilityCategory[] { CapabilityCategory.All });
     }
 }
Esempio n. 2
0
        /// <summary>
        /// Returns media service address
        /// </summary>
        public void GetMediaAddress()
        {
            DiscoveredDevices devices = ContextController.GetDiscoveredDevices();

            _deviceClientWorking = true;
            string address = devices != null ? devices.ServiceAddress : string.Empty;

            InitializeDeviceClient(address);
            _deviceClient.GetCapabilities(new Device.CapabilityCategory[] { Device.CapabilityCategory.Media });
        }
Esempio n. 3
0
        /// <summary>
        /// Returns service addresses
        /// </summary>
        public void GetAddress(Onvif.CapabilityCategory[] categories)
        {
            DiscoveredDevices devices = ContextController.GetDiscoveredDevices();

            _deviceClientWorking = true;
            string address = devices != null ? devices.ServiceAddress : string.Empty;

            InitializeDeviceClient(address);
            _deviceClient.GetCapabilities(categories);
        }