Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ggfan/9920f17bd6855058125323cdd2349bf5 to your computer and use it in GitHub Desktop.
Save ggfan/9920f17bd6855058125323cdd2349bf5 to your computer and use it in GitHub Desktop.
val recorder = Recorder.Builder()
.setQualitySelector(qualitySelector)
.build()
// Create the VideoCapture UseCase and make it available to use
// in the other part of the application.
videoCapture = VideoCapture.withOutput(recorder)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment