Git Product home page Git Product logo

Comments (5)

xhanix avatar xhanix commented on August 17, 2024

Are you on Galaxy S7? There is a power issue. Try this:
[Docs: https://developer.android.com/training/scheduling/wakelock]
Wake up the cpu with PowerManager (PARTIAL flag) before starting the capture. Don't forget to release the lock after done recording.

PowerManager powerManager = (PowerManager) getSystemService(POWER_SERVICE);
WakeLock wakeLock = powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK,
"MyApp::MyWakelockTag");
wakeLock.acquire();

other solutions/work arounds: #24

from android-camera2video.

einsteinarbert avatar einsteinarbert commented on August 17, 2024

Are you on Galaxy S7? There is a power issue. Try this:
[Docs: https://developer.android.com/training/scheduling/wakelock]
Wake up the cpu with PowerManager (PARTIAL flag) before starting the capture. Don't forget to release the lock after done recording.

PowerManager powerManager = (PowerManager) getSystemService(POWER_SERVICE);
WakeLock wakeLock = powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK,
"MyApp::MyWakelockTag");
wakeLock.acquire();

other solutions/work arounds: #24

I call it in main activity but no luck, my device: Samsung J7 Pro

from android-camera2video.

andreififiita avatar andreififiita commented on August 17, 2024

I have the exact same issue.

from android-camera2video.

abel-tefera-beez avatar abel-tefera-beez commented on August 17, 2024

Same issue using GalaxyS7

from android-camera2video.

codingjeremy avatar codingjeremy commented on August 17, 2024

This sample has been migrated to a new location (check README for more information).

As recommended by GitHub, we are closing all issues and pull requests now that this older repo will be archived.

If you still see this issue in the updated repo, please reopen the issue/PR there. Thank you!

from android-camera2video.

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.