public BaseBeiaDeviceDriverStreamSession(ISettingsManager settingsManager, BeiaDeviceDriverConnectionManager connectionManager, Guid sessionId, string deviceId, Guid streamId)
 {
     Id = sessionId;
     _settingsManager   = settingsManager;
     _connectionManager = connectionManager;
     _deviceId          = deviceId;
     _streamId          = streamId;
     try
     {
         // TODO: Make request for starting live stream
     }
     catch (Exception ex)
     {
         throw new ConnectionLostException(ex.Message + ex.StackTrace);
     }
 }
 public BeiaDeviceDriverMicrophoneStreamSession(ISettingsManager settingsManager, BeiaDeviceDriverConnectionManager connectionManager, Guid sessionId, string deviceId, Guid streamId) :
     base(settingsManager, connectionManager, sessionId, deviceId, streamId)
 {
     // TODO: Set Channel to correct channel number
     Channel = 1;
 }
Ejemplo n.º 3
0
 public InputPoller(IEventManager eventManager, BeiaDeviceDriverConnectionManager connectionManager,
                    DeviceMessageHandler messageHandler)
 {
     _messageHandler = messageHandler;
     _eventManager   = eventManager;
 }
 public BeiaDeviceDriverVideoStreamSession(ISettingsManager settingsManager, BeiaDeviceDriverConnectionManager connectionManager, Guid sessionId, string deviceId, Guid streamId) :
     base(settingsManager, connectionManager, sessionId, deviceId, streamId)
 {
     Channel = 1;
 }