Esempio n. 1
0
        public void BeginRecording()
        {
            isRecording = true;

            if (_recorder.encoderType == EncoderType.MediaEncoder)
            {
#if MEDIA_ENCODER_SUPPORT
                _vimeoEncoder.BeginRecording();
#endif // MEDIA_ENCODER_SUPPORT
            }
            else
            {
#if VIMEO_AVPRO_CAPTURE_SUPPORT
                _avproEncoder.StartCapture();
#endif // VIMEO_AVPRO_CAPTURE_SUPPORT
            }
        }
Esempio n. 2
0
 /// <summary>
 /// 开始录像
 /// </summary>
 public void StartCapture()
 {
     movieCapture.StartCapture();
 }
 void startRecording()
 {
     movieCapture.StartCapture();
     recording = true;
 }