-
Notifications
You must be signed in to change notification settings - Fork 88
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
Android 4.3 Crash #1
Comments
Thanks for reporting! I'm looking into this now. Note to self: Double check all the synchronization in CameraEncoder. |
Just tried this fix and it seems that that was all that was needed to fix the crash on my 4.3 samsung. Although the framerate seems slow when streaming the stream can be viewed on another device. |
I confirm that this fixed a crash on Nexus 7 with android 4.3 as well. :) 👍 |
Thank you @silverscania! Sure enough, the wisdom of your fix is right there in the Android docs
The SurfaceTexture's EGL context is created on the CameraSurface.Renderer thread, so this is definitely the way to go. 👍 indeed! |
Hey, just built the sample and it works really well streaming from a 4.4 device.
Viewing also works with 4.3. But when I go to capture on my 4.3 device I get a crash (io.kickflip.sdk.av.CameraEncoder.handleFrameAvailable(CameraEncoder.java:416)) . Its a Samsung GT-I9300. Log cat is below, hope it helps:
The text was updated successfully, but these errors were encountered: