Пример #1
0
        void Reset()
        {
            _videoInput = -1;
            _mode       = null;
            _device     = null;
            _flipX      = _flipY = false;

            _deviceSelection     = SelectDeviceBy.Default;
            _modeSelection       = SelectModeBy.Default;
            _videoInputSelection = SelectDeviceBy.Default;
            _desiredDeviceNames  = new List <string>(4);
            _desiredResolutions  = new List <Vector2>(2);
            _desiredVideoInputs  = new List <AVProLiveCameraPlugin.VideoInput>(4);
            _desiredDeviceNames.Add("Logitech BRIO");
            _desiredDeviceNames.Add("Logitech HD Pro Webcam C922");
            _desiredDeviceNames.Add("Logitech HD Pro Webcam C920");
            _desiredDeviceNames.Add("Decklink Video Capture");
            _desiredDeviceNames.Add("Logitech Webcam Pro 9000");
            _desiredResolutions.Add(new Vector2(1920, 1080));
            _desiredResolutions.Add(new Vector2(1280, 720));
            _desiredResolutions.Add(new Vector2(640, 360));
            _desiredResolutions.Add(new Vector2(640, 480));
            _desiredVideoInputs.Add(AVProLiveCameraPlugin.VideoInput.Video_Serial_Digital);
            _desiredVideoInputs.Add(AVProLiveCameraPlugin.VideoInput.Video_SVideo);
            _desiredVideoInputIndex = 0;
            _maintainAspectRatio    = false;
            _desiredFrameRate       = 0f;
            _desiredFormatAny       = true;
            _desiredFormat          = AVProLiveCameraPlugin.VideoFrameFormat.YUV_422_HDYC;
            _desiredModeIndex       = -1;
            _desiredDeviceIndex     = 0;
        }
Пример #2
0
    void Reset()
    {
        _videoInput = -1;
        _mode       = null;
        _device     = null;

        _deviceSelection     = SelectDeviceBy.Default;
        _modeSelection       = SelectModeBy.Default;
        _videoInputSelection = SelectDeviceBy.Default;
        _desiredDeviceNames  = new List <string>(4);
        _desiredResolutions  = new List <Vector2>(2);
        _desiredVideoInputs  = new List <AVProLiveCameraPlugin.VideoInput>(4);
        _desiredDeviceNames.Add("Decklink Video Capture");
        _desiredDeviceNames.Add("Logitech Webcam Pro 9000");
        _desiredResolutions.Add(new Vector2(640, 360));
        _desiredResolutions.Add(new Vector2(1280, 720));
        _desiredVideoInputs.Add(AVProLiveCameraPlugin.VideoInput.Video_Serial_Digital);
        _desiredVideoInputs.Add(AVProLiveCameraPlugin.VideoInput.Video_SVideo);
        _desiredVideoInputIndex = 0;
        _maintainAspectRatio    = false;
        _desiredModeIndex       = -1;
        _desiredDeviceIndex     = 0;
    }
Пример #3
0
    void Reset()
    {
        _videoInput = -1;
        _mode = null;
        _device = null;
        _flipX = _flipY = false;

        _deviceSelection = SelectDeviceBy.Default;
        _modeSelection = SelectModeBy.Default;
        _videoInputSelection = SelectDeviceBy.Default;
        _desiredDeviceNames = new List<string>(4);
        _desiredResolutions = new List<Vector2>(2);
        _desiredVideoInputs = new List<AVProLiveCameraPlugin.VideoInput>(4);
        _desiredDeviceNames.Add("Logitech HD Pro Webcam C920");
        _desiredDeviceNames.Add("Decklink Video Capture");
        _desiredDeviceNames.Add("Logitech Webcam Pro 9000");
        _desiredResolutions.Add(new Vector2(1920, 1080));
        _desiredResolutions.Add(new Vector2(1280, 720));
        _desiredResolutions.Add(new Vector2(640, 360));
        _desiredResolutions.Add(new Vector2(640, 480));
        _desiredVideoInputs.Add(AVProLiveCameraPlugin.VideoInput.Video_Serial_Digital);
        _desiredVideoInputs.Add(AVProLiveCameraPlugin.VideoInput.Video_SVideo);
        _desiredVideoInputIndex = 0;
        _maintainAspectRatio = false;
        _desiredModeIndex = -1;
        _desiredDeviceIndex = 0;
    }