Exemplo n.º 1
0
        public ViewRecordingDlg(RecordingSettings settings, ViewRecording recording)
        {
            InitializeComponent();

            this.settings = settings;
            this.recording = recording;

            SetupControlValues();
        }
Exemplo n.º 2
0
        public ViewRecordingDlg(RecordingSettings settings, ViewRecording recording)
        {
            InitializeComponent();

            this.settings  = settings;
            this.recording = recording;

            SetupControlValues();
        }
Exemplo n.º 3
0
        public EncodingDlg(ViewRecording recording, RecordingSettings settings,
                           string outFilename, IRecordingRenderer renderer)
        {
            InitializeComponent();

            this.recording = recording;
            this.settings = settings;
            this.renderer = renderer;
            this.outFilename = outFilename;

            workThread = new Thread(this.EncodeProcess);
        }
Exemplo n.º 4
0
        public EncodingDlg(ViewRecording recording, RecordingSettings settings,
                           string outFilename, IRecordingRenderer renderer)
        {
            InitializeComponent();

            this.recording   = recording;
            this.settings    = settings;
            this.renderer    = renderer;
            this.outFilename = outFilename;

            workThread = new Thread(this.EncodeProcess);
        }
Exemplo n.º 5
0
        public void StartRecording(RecordingSettings settings)
        {
            ViewRecording.ViewRecorder vr = new ViewRecording.ViewRecorder();
            ViewRecording rec = new ViewRecording(vr);
            EncodingDlg dlg = new EncodingDlg(rec, RecordingSettings.DefaultsInstance, "c:/testOut.avi", renderContext);
            dlg.ShowDialog(this);

            // start recording actions
            //if (settings == null)
            //    this.rSettings = RecordingSettings.DefaultsInstance;
            //else
            //    this.rSettings = settings;

            //controlHandler.Recorder = new ViewRecording.ViewRecorder();
            //renderContext.Recording = true;
        }