react-native-vision-camera/docs
Marc Rousavy eeb765f018
fix: Move Audio Input initialization shortly before startRecording (#159)
* rename

* Update AVAudioSession+updateCategory.swift

* fix bootstrap script

* Update CameraView+AVAudioSession.swift

* move audio input adding lower

* Activate AudioSession only when starting recording

* format

* Deactivate Audio Session

* remove audio input before deactivating audio session

* Update CameraView+AVAudioSession.swift

* log time

* Update CameraView+AVAudioSession.swift

* measure time with `measureElapsedTime`

* Update project.pbxproj

* only log in debug builds

* bootstrap with bridge (RNN new API)

* Mark two funcs as `@inlinable`

* format

* Update ReactLogger.swift

* Make audioWriter optional (allow videos without sound)

* only log frame drop reason in DEBUG

* Make audio writing entirely optional

* format

* Use function name as label for measureElapsedTime

* Update MeasureElapsedTime.swift

* Update MeasureElapsedTime.swift

* Mark AudioWriter as finished

* set `automaticallyConfiguresApplicationAudioSession` once

* Add JS console logging

* log to JS console for a few logs

* Update AVAudioSession+updateCategory.swift

* format

* Update JSConsoleHelper.mm

* catch log errors

* Update ReactLogger.swift

* fix docs

* Update RecordingSession.swift

* Immediatelly add audio input

* Update CameraView+AVCaptureSession.swift

* Update CameraView+AVCaptureSession.swift

* Update ReactLogger.swift

* immediatelly set audio session

* extract

* format

* Update TROUBLESHOOTING.mdx

* hmm

* Update AVAudioSession+updateCategory.swift

* Create secondary `AVCaptureSession` for audio

* Configure once, start stop on demand

* format

* fix audio notification interruptions

* docs
2021-06-03 14:16:02 +02:00
..
docs/guides fix: Move Audio Input initialization shortly before startRecording (#159) 2021-06-03 14:16:02 +02:00
src Move Guides to docs/guides directory (#96) 2021-03-23 15:25:27 +01:00
static docs: Add Frame Processor benchmarks (#154) 2021-05-30 12:13:50 +02:00
.gitignore Automatically build API documentation (#11) 2021-03-03 12:37:43 +01:00
babel.config.js Automatically build API documentation (#11) 2021-03-03 12:37:43 +01:00
docusaurus.config.js feature: Frame Processors (iOS) (#2) 2021-05-06 14:11:55 +02:00
package.json fix: Fix AVAudioSession not allowing background music playback (#155) 2021-06-01 13:07:57 +02:00
README.md Automatically build API documentation (#11) 2021-03-03 12:37:43 +01:00
sidebars.js feature: Frame Processors (iOS) (#2) 2021-05-06 14:11:55 +02:00
yarn.lock fix: Fix AVAudioSession not allowing background music playback (#155) 2021-06-01 13:07:57 +02:00

Website

This website is built using Docusaurus 2, a modern static website generator.

Installation

yarn install

Local Development

yarn start

This command starts a local development server and open up a browser window. Most changes are reflected live without having to restart the server.

Build

yarn build

This command generates static content into the build directory and can be served using any static contents hosting service.

Deployment

GIT_USER=<Your GitHub username> USE_SSH=true yarn deploy

If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the gh-pages branch.