public BroadCast(IStreamingServer server) { this._server = server; this._autoEncProc = new ENCODEPROC(this.AutoEncodingCallback); this._myNotifyProc = new ENCODENOTIFYPROC(this.EncoderNotifyProc); this._retryTimerDelegate = new TimerCallback(this.CheckStatus); }
public SessionRouter(IQueryService[] queryServices, IHttpResponseWriter responseWriter, ISerializer serializer, IStreamingServer streamingServer) { _queryServices = queryServices; _responseWriter = responseWriter; _serializer = serializer; _streamingServer = streamingServer; }
public TelloManager(string droneIPAddress, IStreamingServer videoServer, IStreamingServer stateServer, IServer commandServer) { _ipaddress = IPAddress.Parse(droneIPAddress); _videoServer = videoServer; _stateServer = stateServer; _commandServer = commandServer; initServers(droneIPAddress); _bgStateServer = new BackgroundWorker(); _bgVideoServer = new BackgroundWorker(); _bgStateServer.DoWork += StateServer_DoWork; _bgVideoServer.DoWork += VideoServer_DoWork; startStreamServers(); }
public MainApplication(IConfigurationService configurationService, IRecordService recordService, IPlaybackService playbackService, IRestServer restServer, IRestRouter[] routers, IStreamingServer streamingServer, IQueryService[] queryServices) { _startMode = configurationService.GetConfiguration().StartMode; _recordService = recordService; _playbackService = playbackService; _streamingServer = streamingServer; _restServer = restServer; _restRouters = routers; _queryServices = queryServices; _currentMode = ApplicationMode.Waiting; }
protected AudioStreaminServer([NotNull] IStreamingServer server) { if (server == null) throw new ArgumentNullException(nameof(server)); _server = server; }