How to get an IP camera stream into C#?

后端 未结 5 700
心在旅途
心在旅途 2021-01-31 23:07

I\'ve used AForge library to make this little program, that shows live feed from a webcam into a PictureBox.

private FilterInfoCollection VideoCaptureDevices;
pr         


        
5条回答
  •  走了就别回头了
    2021-01-31 23:22

    Solved it with MJPEGStream from the same AForge.net :)

    MJPEGStream stream = new MJPEGStream("http://192.168.2.5:8080/videofeed");
                stream.NewFrame += new NewFrameEventHandler(video_NewFrame);
                stream.Start();
    

提交回复
热议问题