Tuesday, March 13, 2012

[android-developers] Connect MediaRecorder to MediaPlayer

I want to test running both the hardware video encoder and decoder simultaneously. To that end I'm trying to figure out how to connect the output of a MediaRecorder as the input to a MediaPlayer. The only way I could figure out to do this was through DatagramSockets connected through the loopback and ParcelFileDescriptors. I'm having some trouble getting this to work though. Is there a better way to hook up a MediaRecorder to a MediaPlayer? Know of any sample code that exists?

Thanks in advance.

--
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