public void StartRecording()
        {
            DisposeVideoWorker();

            CommandWorker.SendConfigCommand(VideoOnUsbConfigKey, TrueConfigValue);
            CommandWorker.SendConfigCommand(VideoCodecConfigKey, Mp4_360p_H264_720p_CodecConfigValue);

            VideoWorker = WorkerFactory.CreateVideoWorker();
            VideoWorker.Run();
        }
示例#2
0
        public void Run_CallsSocketConnect()
        {
            // Arrange

            // Act
            _target.Run();

            // Assert
            _mockTcpSocket.Verify(x => x.Connect());
        }