Exemple #1
0
        private void OpenJpegUrlToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var form = new UrlForm();

            form.Description = "Enter URL of an updating JPEG from a web camera:";
            form.Urls        = new[]
            {
                "http://195.243.185.195/axis-cgi/jpg/image.cgi?camera=1"
            };

            if (form.ShowDialog(this) == DialogResult.OK)
            {
                var jpegSource = new JPEGStream(form.Url);
                OpenVideoSource(jpegSource);
            }
        }
Exemple #2
0
        private void OpenMJpegUrlToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var form = new UrlForm();

            form.Description = "Enter URL of an MJPEG video stream:";
            form.Urls        = new[]
            {
                "http://195.243.185.195/axis-cgi/mjpg/video.cgi?camera=4",
                "http://195.243.185.195/axis-cgi/mjpg/video.cgi?camera=3"
            };

            if (form.ShowDialog(this) == DialogResult.OK)
            {
                var mjpegSource = new MJPEGStream(form.Url);
                OpenVideoSource(mjpegSource);
            }
        }
Exemple #3
0
        private void OpenMJpegUrlToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var form = new UrlForm();

            form.Description = "Enter URL of an MJPEG video stream:";
            form.Urls = new[]
                            {
                                "http://195.243.185.195/axis-cgi/mjpg/video.cgi?camera=4",
                                "http://195.243.185.195/axis-cgi/mjpg/video.cgi?camera=3"
                            };

            if (form.ShowDialog(this) == DialogResult.OK)
            {
                var mjpegSource = new MJPEGStream(form.Url);
                OpenVideoSource(mjpegSource);
            }
        }
Exemple #4
0
        private void OpenJpegUrlToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var form = new UrlForm();

            form.Description = "Enter URL of an updating JPEG from a web camera:";
            form.Urls = new[]
                            {
                                "http://195.243.185.195/axis-cgi/jpg/image.cgi?camera=1"
                            };

            if (form.ShowDialog(this) == DialogResult.OK)
            {
                var jpegSource = new JPEGStream(form.Url);
                OpenVideoSource(jpegSource);
            }
        }