Generally speaking, video streams need to be seekable in order to play.  
The exception to this is video streams that were specially constructed to 
be streamable, which I'm pretty sure you will not get out of a 
MediaRecorder.

Doug

On Tuesday, March 13, 2012 2:40:38 PM UTC-7, Jeff wrote:
>
> 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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to