i am getting  ERROR/MediaRecorder(1003): setVideoSource called in an
invalid state(4)

at this line
recorder.setVideoSource(MediaRecorder.VideoSource.CAMERA);

can you please help me to figure out what is the problem.
i am using the same code Anders wrote above

On May 7, 11:50 pm, Jason Proctor <[email protected]> wrote:
> btw, since streaming movies via HTTP requires the moov atom to be
> ahead of the mdat atom in the file, it would therefore be handy if
> MediaRecorder wrote the file like that :-)
>
> will this be fixed do you think? wondering whether i should just
> write that piece of code anyway.
>
> --
> jason.software.particle
--~--~---------~--~----~------------~-------~--~----~
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