Example #1
0
        // Constructor
        public FujikoCamera()
        {

            videoSource = new MJPEGSource();
            JPEGSource.SetAllowUnsafeHeaderParsing20();
            streamType = StreamType.MJpeg;
        }
Example #2
0
        // Create video source object
        public VsICoreProvider CreateVideoSource(object config)
        {
            MJPEGConfiguration cfg = (MJPEGConfiguration)config;

            if (cfg != null)
            {
                MJPEGSource source = new MJPEGSource();

                source.VideoSource = cfg.source;
                source.Login       = cfg.login;
                source.Password    = cfg.password;

                return((VsICoreProvider)source);
            }
            return(null);
        }
Example #3
0
		// Create video source object
		public VsICoreProvider CreateVideoSource(object config)
		{
			MJPEGConfiguration cfg = (MJPEGConfiguration) config;
			
			if (cfg != null)
			{
				MJPEGSource source = new MJPEGSource();

				source.VideoSource	= cfg.source;
				source.Login		= cfg.login;
				source.Password		= cfg.password;

				return (VsICoreProvider) source;
			}
			return null;
		}