Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Video Record Not Working on Some Android Device. #148

Open
mvn-vinhhuynh-dn opened this issue Jun 2, 2023 · 0 comments
Open

Video Record Not Working on Some Android Device. #148

mvn-vinhhuynh-dn opened this issue Jun 2, 2023 · 0 comments

Comments

@mvn-vinhhuynh-dn
Copy link

mvn-vinhhuynh-dn commented Jun 2, 2023

Issue: Can not start camera preview, displayed black screen

trinityJni.cc line 59

static jlong Android_JNI_createRecord(JNIEnv *env, jobject object) {
    auto *record = new CameraRecord(env);
    return reinterpret_cast<jlong>(record);
}

this function return an negative value, so can not create instance of Handler().
Could somebody meet it? And how to resolve this problem pls.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant