0.2.0 • Published 8 years ago

react-native-video-recorder v0.2.0

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

React Native Video Recorder

This is a very experimental module, you probably don't want to use it. Take a look at https://github.com/lwansbrough/react-native-camera

This is a video recorder component using the Camera 2 API. It currently does not support the older API so only devices with Android Lollipop or higher are supported.

import VideoRecorder from 'react-native-video-recorder';

<VideoRecorder
  ref="recorder"
  onRecordingStarted={() => console.log('Started')}
  onRecordingFinished={(e) => console.log(e.nativeEvent.file)}
  onCameraAccessException={() => alert('No permission for camera')}
  onCameraFailed={() => alert('Camera failed')}
  type="front"
  videoEncodingBitrate={7000000}
  videoEncodingFrameRate={30}
/>

this.refs.recorder.record();
this.refs.recorder.stop();
0.2.0

8 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago