public SessionBroker( IChunkCollector chunkCollector, UserTypeIdentifier userTypeIdentifier) { _chunkCollector = chunkCollector; _userTypeIdentifier = userTypeIdentifier; }
public StreamerController( ChunkerConfig chunkerConfig, StreamerSessionCfg streamerSessionCfg, IDistributedCache cache, ITokenBroker tokenBroker, ISessionBroker sessionBroker, ITokenParser tokenParser, IChunkCollector chunkCollector, IPlaylistAssembler playlistAssembler) { _cache = cache; _tokenBroker = tokenBroker; _tokenParser = tokenParser; _sessionBroker = sessionBroker; _chunkCollector = chunkCollector; _playlistAssembler = playlistAssembler; _chunkerConfig = chunkerConfig; _sessionCfg = streamerSessionCfg; }