public DemoVideoStreamSession(ISettingsManager settingsManager, DemoConnectionManager demoConnectionManager, Guid sessionId, string deviceId, int channelId, Guid streamId) : base(settingsManager, demoConnectionManager, sessionId, deviceId, channelId, streamId) { UpdateFrameRateOnDevice(); _settingsManager.OnSettingsChanged += _settingsManager_OnSettingsChanged; }
public BaseDemoStreamSession(ISettingsManager settingsManager, DemoConnectionManager demoConnectionManager, Guid sessionId, string deviceId, int channelId, Guid streamId) { Id = sessionId; _settingsManager = settingsManager; _demoConnectionManager = demoConnectionManager; _deviceId = deviceId; _streamId = streamId; Channel = channelId; try { _demoConnectionManager.StartLiveStream(Channel); } catch (Exception ex) { throw new ConnectionLostException(ex.Message + ex.StackTrace); } }
public InputPoller(IEventManager eventManager, DemoConnectionManager demoConnectionManager) { _demoConnectionManager = demoConnectionManager; _eventManager = eventManager; InitEventHandlers(); }
public DemoMetadataStreamSession(ISettingsManager settingsManager, DemoConnectionManager demoConnectionManager, Guid sessionId, string deviceId, Guid streamId, int channel) : base(settingsManager, demoConnectionManager, sessionId, deviceId, channel, streamId) { }
public DemoMicrophoneStreamSession(ISettingsManager settingsManager, DemoConnectionManager demoConnectionManager, Guid sessionId, string deviceId, Guid streamId) : base(settingsManager, demoConnectionManager, sessionId, deviceId, DemoDeviceConstants.DeviceAudioChannel, streamId) { }
public DemoSpeakerStreamSession(ISettingsManager settingsManager, DemoConnectionManager demoConnectionManager, Guid sessionId, string deviceId, Guid streamId) : base(settingsManager, demoConnectionManager, sessionId, deviceId, DemoDeviceConstants.DeviceSpeakerChannel, streamId) { }