Tuesday, July 19, 2011

[android-developers] Restarting Camera.previewFrame after using MediaRecorder

I wrote an application to record video that works fine, and I am able
to use the Camera.PreviewCallback to view frames in onPreviewFrame.
But, when I start recording video onPreviewFrame stops and I can not
restart it.

I know that when I setup the MediaRecorder instance it takes over
control of the camera and the Android Dev team seems to have made it
stop making any call-backs that have been added.

After stopping recording I have tried lots of things to get the
onPreviewFrame to work to no avail. Any suggestions on how to get it
working again would be appreciated.

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment