Giter VIP home page Giter VIP logo

Comments (8)

Twometer avatar Twometer commented on May 22, 2024 40

Nevermind, I am just stupid and forgot to request audio permission.

from camera-samples.

jaydeepw avatar jaydeepw commented on May 22, 2024

I have RECORD_AUDIO permission however, I am still getting this exception when trying to capture the video while using latest 1.1.0-alpha04 CameraX dependencies.

from camera-samples.

ssjsaha avatar ssjsaha commented on May 22, 2024

Hi there , Did you guys had the solution? Im facing the same problem here !

from camera-samples.

Balasnest avatar Balasnest commented on May 22, 2024

Facing the same. It's happening in the release build. Debug build is fine.

----- solution:
Yeah. microphone permission is required. Is there a way to record without audio?

from camera-samples.

chief10x avatar chief10x commented on May 22, 2024

I still face the same issue

from camera-samples.

temcguir avatar temcguir commented on May 22, 2024

androidx.camera.core.VideoCapture is not a supported public API, and should give lint errors when you try to use it as it is marked as restricted.

androidx.camera.video.VideoCapture, which is part of the camera-video artifact is the officially supported use case for recording video. Are you running into this problem with that class?

from camera-samples.

namdhis avatar namdhis commented on May 22, 2024

Hi there , Did you guys had the solution? Im facing the same problem here !

Did you find the way to record video by camera X without using audio permision yet?

from camera-samples.

temcguir avatar temcguir commented on May 22, 2024

androidx.camera.video.VideoCapture should not require the audio permission unless you call PendingRecording.withAudioEnabled().

Please see this guide on how to use the new VideoCapture API.

from camera-samples.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.