예제 #1
0
        public void BindMediaDeviceCollection(MediaDevice[] devices)
        {
            BindingSource binding = new BindingSource()
            {
                DataSource = devices
            };

            this.MediaDeviceComboBox.DataSource = binding.DataSource;
            this.MediaDeviceComboBox.DisplayMember = "DisplayName";
        }
예제 #2
0
 public ONVIFAgent(MediaDevice device) : base(device)
 {
 }
예제 #3
0
 public PresenterThread(MediaDevice device)
 {
     this.device = device;
 }
예제 #4
0
 public MediaStreamAgent(MediaDevice device)
     : base(device)
 {
 }
예제 #5
0
 public AVProcessorAgent(MediaDevice device)
     : base(device)
 {
 }
예제 #6
0
 public AVDecoderAgent(MediaDevice device)
     : base(device)
 {
 }
예제 #7
0
        public bool Connect(MediaDevice device, string login, string password)
        {
            if (isConnected == false)
            {
                device.ONVIF.Connect(login, password);

                mediaDevice = device;

                isConnected = true;

                OnConnected();

            }

            return isConnected;
        }
예제 #8
0
 public PresenterThread(MediaDevice device)
 {
     this.device = device;
 }
예제 #9
0
        public bool Connect(MediaDevice device, string login, string password)
        {
            bool Result = service.Connect(device, login, password);

            if (Result == true)
            {
                Profile[] profiles = device.ONVIF.MediaProfiles;

                mainForm.BindMediaProfileCollection(profiles);

                MediaFormManager.UpdateControls();

            }
            return Result;
        }
예제 #10
0
 public MediaDeviceAgent(MediaDevice device)
 {
     this.mediaDevice = device;
 }
예제 #11
0
 public MediaDeviceAgent(MediaDevice device)
 {
     this.mediaDevice = device;
 }
예제 #12
0
 public AVProcessorAgent(MediaDevice device) : base(device)
 {
 }
예제 #13
0
 public AVDecoderAgent(MediaDevice device) : base(device)
 {
 }
예제 #14
0
 public ONVIFAgent(MediaDevice device)
     : base(device)
 {
 }
예제 #15
0
 public MediaStreamAgent(MediaDevice device) : base(device)
 {
 }