示例#1
0
        public ClientStream(ClientConnection targetClient, CachedEncoder encoder)
        {
            TargetClient = targetClient;
            Encoder      = encoder;

            Encoder.FrameUpdated += OnFrameUpdated;
        }
示例#2
0
 public MJPEGStreamer(VideoSource source, QualityDefinition qualityDefinition)
 {
     Encoder = new CachedEncoder(Source = source, QualityDefinition = qualityDefinition);
 }