Socket
Socket
Sign inDemoInstall

react-native-video-recorder

Package Overview
Dependencies
0
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    react-native-video-recorder

A <VideoRecorder /> element using Camera2 API for react-native


Version published
Weekly downloads
5
decreased by-16.67%
Maintainers
1
Install size
32.6 kB
Created
Weekly downloads
 

Readme

Source

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();

FAQs

Last updated on 26 Aug 2016

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc