Skip to content

Commit

Permalink
docs: fix typo in video docs (#3080)
Browse files Browse the repository at this point in the history
Update RECORDING_VIDEOS.mdx

minor: updated error in docs
  • Loading branch information
jcgoodru authored Jul 13, 2024
1 parent 2cb1917 commit 1914b48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/guides/RECORDING_VIDEOS.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ To stop the video recording, you can call [`stopRecording(...)`](/docs/api/class
await camera.current.stopRecording()
```

Once a recording has been stopped, the `onRecordingFinished` callback passed to the [`stopRecording(...)`](/docs/api/classes/Camera#stoprecording) function will be invoked with a [`VideoFile`](/docs/api/interfaces/VideoFile) which you can then use to display in a [`<Video>`](https://github.com/react-native-video/react-native-video) component, uploaded to a backend, or saved to the Camera Roll using [react-native-cameraroll](https://github.com/react-native-cameraroll/react-native-cameraroll).
Once a recording has been stopped, the `onRecordingFinished` callback passed to the [`startRecording(...)`](/docs/api/classes/Camera#startrecording) function will be invoked with a [`VideoFile`](/docs/api/interfaces/VideoFile) which you can then use to display in a [`<Video>`](https://github.com/react-native-video/react-native-video) component, uploaded to a backend, or saved to the Camera Roll using [react-native-cameraroll](https://github.com/react-native-cameraroll/react-native-cameraroll).

### Pause/Resume

Expand Down

0 comments on commit 1914b48

Please sign in to comment.