private void InvokeNewVideoSample(VideoSampleArgs e) { EventHandler <VideoSampleArgs> sample = NewVideoSample; if (sample != null) { sample(this, e); } }
private void PlayerNewVideoSample(object sender, VideoSampleArgs e) { InvokeNewVideoSample(e); }
private void InvokeNewVideoSample(VideoSampleArgs e) { EventHandler<VideoSampleArgs> sample = NewVideoSample; if(sample != null) sample(this, e); }
void videoCapElement_NewVideoSample(object sender, VideoSampleArgs e) { //e.VideoFrame.Save(@"c:\users\jmoney\desktop\test.bmp", System.Drawing.Imaging.ImageFormat.Bmp); }