saki4510t / UVCCamera

library and sample to access to UVC web camera on non-rooted Android device
2.96k stars 1.19k forks source link

any one's saki450t/uvcamera work properly? #629

Open bandrarom opened 2 years ago

jeranio commented 2 years ago

Yes, mine does. Using these settings :

supportLibVersion = '27.1.1'  // variable that can be referenced to keep support libs consistent
commonLibVersion= '4.1.1'
versionBuildTool = '27.0.3'
versionCompiler = 31
versionTarget = 27
versionNameString = '1.0.0'
javaSourceCompatibility = JavaVersion.VERSION_1_8
javaTargetCompatibility = JavaVersion.VERSION_1_8

allprojects { repositories { // google() maven { url 'https://maven.google.com' } jcenter() maven { url 'https://raw.github.com/saki4510t/libcommon/master/repository/' } } }


/Android/Sdk/ndk-bundle/android-ndk-r20b


Android Studio Arctic Fox 2020.3.1 Patch 2 classpath 'com.android.tools.build:gradle:7.0.2' distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-all.zip

bandrarom commented 2 years ago

thank you for you comment

jeranio commented 2 years ago

Also in manifest files change theme to Theme.Appcompat and remove background colors from layout files.

bandrarom commented 2 years ago

yeah thank you for your reply . can i know how to devide audio from mCameraHelper.setOnPreviewFrameListener(new AbstractUVCCameraHandler.OnPreViewResultListener() { @Override public void onPreviewResult(byte[] bytes) {}

i want to get uvc camera audio seperatly

lifei commented 2 years ago

Yes, mine does. Using these settings :

supportLibVersion = '27.1.1'  // variable that can be referenced to keep support libs consistent
commonLibVersion= '4.1.1'
versionBuildTool = '27.0.3'
versionCompiler = 31
versionTarget = 27
versionNameString = '1.0.0'
javaSourceCompatibility = JavaVersion.VERSION_1_8
javaTargetCompatibility = JavaVersion.VERSION_1_8

allprojects { repositories { // google() maven { url 'https://maven.google.com' } jcenter() maven { url 'https://raw.github.com/saki4510t/libcommon/master/repository/' } } }

/Android/Sdk/ndk-bundle/android-ndk-r20b

Android Studio Arctic Fox 2020.3.1 Patch 2 classpath 'com.android.tools.build:gradle:7.0.2' distributionUrl=https://services.gradle.org/distributions/gradle-7.0.2-all.zip

save my time. thank you.