Esempio n. 1
0
 public DirectShowCapturer(IVideoTransport encoder)
 {
     if (encoder == null)
     {
         throw new ArgumentNullException("encoder");
     }
     _encoder = encoder;
 }
Esempio n. 2
0
 public KinectCapturer(IAudioTransport audioEncoder, IVideoTransport videoEncoder)
 {
     if (audioEncoder == null)
     {
         throw new ArgumentNullException("audioEncoder");
     }
     if (videoEncoder == null)
     {
         throw new ArgumentNullException("videoEncoder");
     }
     _audioEncoder = audioEncoder;
     _videoEncoder = videoEncoder;
     //
     _runtime = new Runtime();
     try { _audio = new KinectAudioSource(); }
     catch { }
 }
Esempio n. 3
0
 public DirectShowFrameInfo(DirectShowCapturer parent)
 {
     _encoder = parent._encoder;
 }