public void BindMediaDeviceCollection(MediaDevice[] devices) { BindingSource binding = new BindingSource() { DataSource = devices }; this.MediaDeviceComboBox.DataSource = binding.DataSource; this.MediaDeviceComboBox.DisplayMember = "DisplayName"; }
public ONVIFAgent(MediaDevice device) : base(device) { }
public PresenterThread(MediaDevice device) { this.device = device; }
public MediaStreamAgent(MediaDevice device) : base(device) { }
public AVProcessorAgent(MediaDevice device) : base(device) { }
public AVDecoderAgent(MediaDevice device) : base(device) { }
public bool Connect(MediaDevice device, string login, string password) { if (isConnected == false) { device.ONVIF.Connect(login, password); mediaDevice = device; isConnected = true; OnConnected(); } return isConnected; }
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; }
public MediaDeviceAgent(MediaDevice device) { this.mediaDevice = device; }