public DirectShowCapturer(IVideoTransport encoder) { if (encoder == null) { throw new ArgumentNullException("encoder"); } _encoder = encoder; }
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 { } }
public DirectShowFrameInfo(DirectShowCapturer parent) { _encoder = parent._encoder; }