AudioVideoRecordingSample
AudioVideoRecordingSample copied to clipboard
I want to add PreviewCallback
hello saki, thanks for your passion. I have a question. I want to add PreviewCallback in CameraGLView.
The following is what I have tried :
in CameraGLView.java
Callback is working well. But if i try to record, happened crash with this message.
07-21 13:02:23.193 19753-19764/com.serenegiant.mediaaudiotest E/AndroidRuntime﹕ FATAL EXCEPTION: FinalizerWatchdogDaemon Process: com.serenegiant.mediaaudiotest, PID: 19753 java.util.concurrent.TimeoutException: android.media.MediaMuxer.finalize() timed out after 10 seconds at android.media.MediaMuxer.nativeRelease(Native Method) at android.media.MediaMuxer.finalize(MediaMuxer.java:240) at java.lang.Daemons$FinalizerDaemon.doFinalize(Daemons.java:187) at java.lang.Daemons$FinalizerDaemon.run(Daemons.java:170) at java.lang.Thread.run(Thread.java:841)
can you help me? sorry for my bad english, thank you.