public ClientStream(ClientConnection targetClient, CachedEncoder encoder) { TargetClient = targetClient; Encoder = encoder; Encoder.FrameUpdated += OnFrameUpdated; }
public MJPEGStreamer(VideoSource source, QualityDefinition qualityDefinition) { Encoder = new CachedEncoder(Source = source, QualityDefinition = qualityDefinition); }