A screen record with app audio + mic module for React Native.
npm install @beapp/react-native-screen-recorder
pod install
cd ios && pod install && cd ../
import RecordScreen from '@beapp/react-native-screen-recorder'
// recording start
RecordScreen.startRecording().catch((error) => console.error(error))
// recording stop
const res = await RecordScreen.stopRecording().catch((error) =>
console.warn(error)
)
if (res) {
const url = res.result.outputURL
}
RecordScreen.clean();
Author: beattv
Source Code: https://github.com/beattv/react-native-screen-recorder
#react-native #react #mobile-apps