Пример #1
0
        private void Form1_Load(object sender, EventArgs e)
        {
            //  MjpegProcessor.
            //  _Server = new ImageStreamingServer("http://210.241.67.167/abs2mjpg/mjpg?resolution=352x240&camera=1", "admin", "pass");
            // _Server = new ImageStreamingServer("http://192.192.85.20:11000/getimage", "admin", "pass");

            //http://192.168.0.104/cgi/mjpg/mjpeg.cgi
//_Server = new ImageStreamingServer("http://192.168.0.104/cgi/mjpg/mjpeg.cgi", "admin", "admin");

            _Server = new ImageStreamingServer("http://192.192.85.33/axis-cgi/mjpg/video.cgi?camera=1", "root", "pass");
            _Server.Start(8080);

            reader = new ETAGReader("192.192.85.33", 50007);

            reader.OnEtagArriveEvent += reader_OnEtagArriveEvent;
        }
Пример #2
0
        private void Form1_Load(object sender, EventArgs e)
        {
            //  MjpegProcessor.
              //  _Server = new ImageStreamingServer("http://210.241.67.167/abs2mjpg/mjpg?resolution=352x240&camera=1", "admin", "pass");
              // _Server = new ImageStreamingServer("http://192.192.85.20:11000/getimage", "admin", "pass");

            //http://192.168.0.104/cgi/mjpg/mjpeg.cgi
            //_Server = new ImageStreamingServer("http://192.168.0.104/cgi/mjpg/mjpeg.cgi", "admin", "admin");

            _Server = new ImageStreamingServer("http://192.192.85.33/axis-cgi/mjpg/video.cgi?camera=1", "root", "pass");
            _Server.Start(8080);

            reader = new ETAGReader("192.192.85.33", 50007);

            reader.OnEtagArriveEvent += reader_OnEtagArriveEvent;
        }