Giter Site home page Giter Site logo

Comments (4)

saki4510t avatar saki4510t commented on August 11, 2024

HI,
Theoritically it is possible, please check usbCameraTest4. It works as Service and can record in background.
FYI, app needs Activity to get permanent permission(this is Android specification). If you want to completely hide Activity, finish Activity before setContentView after start Service.
saki

from uvccamera.

zakir224 avatar zakir224 commented on August 11, 2024

Thanks for your answer. I've already figured out an way..

There is another issue. when i record the video with usb cam the video is recorded well but the audio is only noise..when i record without usb cam then the audio is also ok. Do you have any idea why its happening. t happened with your sample project 2 and 5 both.

from uvccamera.

saki4510t avatar saki4510t commented on August 11, 2024

Hi,
Sorry my answer delayed. I assume system software of your device has something trouble on audio(like recent GALAXY series). Try to use other constant for AudioRecord instead of MediaRecorder.AudioSource.MIC. Ex. MediaRecorder.AudioSource.CAMCORDER may help you.
saki

from uvccamera.

saki4510t avatar saki4510t commented on August 11, 2024

closed due to inactivity.

from uvccamera.

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.