Hi dave,

With reference to this discussion, does this mean that simultaneous
Record and Playback with Mediarecorder and Mediaplayer is not possible
at this point?

Please reply, Thanks in advance.

Regards
Anu


---------- Forwarded message ----------
From: Dave Sparks <[email protected]>
Date: May 20 2009, 7:59 pm
Subject: MediaRecorder / MediaPlayer simultaneous use?
To: android-framework


I believe you will need to reset theMediaPlayerobject to get it to
clear it's reference to the ISurface. In any case, you don't want to
be hanging on to aMediaPlayerthat could be potentially keep the DSP
holding on to wakelocks while the activity is in background. This is a
sure-fire way to kill the battery.

Some of these restrictions will be lifted in a future release, but
you'll still have to be careful about how much you try to do at once
and how it will affect battery life.

On May 20, 4:17 am, Andy Quan <[email protected]> wrote:

> Dave,As for the restriction you mentioned, would I run into this violation
> if I first minimize my video player (push it to the background like what it
> is for music player), then open camcorder?

> On Tue, May 19, 2009 at 11:03 PM, Dave Sparks <[email protected]>wrote:

> > The media framework should be able to support it if you don't overtax
> > the DSP, but I believe there's a restriction in SurfaceFlinger that
> > prevents you from having two push-buffer SurfaceViews at the same
> > time.

> > On May 18, 5:34 pm, John Bresnik <[email protected]> wrote:
> > > Anyone have experience doingsimultaneousplayback / recording, i.e. full
> > > duplex - couldn't find a definitive answer on whether it was support or
> > > not.
> > > Thanks

> --
> Thanks,
> Andy

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

Reply via email to