Then it would write out the data when the stop function is called. On Friday, March 16, 2012 4:05:35 PM UTC+1, Daniel Drozdzewski wrote: > > Hypothetically, what would happen, if your bandwidth was to small to > cope with the amount of data generated by the live video capture? > > > On 16 March 2012 14:44, paul <paulelsne...@googlemail.com> wrote: > > *push* > > > > Has anybody an idea or at least the same problem? > > Or do you know a way how to access the hardware encoder directly with > native > > code? > > > > Thanks. > > > > On Tuesday, March 13, 2012 9:46:37 PM UTC+1, paul wrote: > >> > >> Hi. > >> > >> I try to capture video from the camera, encoding it with the > >> MediaRecorder and write the output to a LocalSocket. > >> All works fine, but the encoder seems to write the data into an > >> internal buffer. The data only gets written to the socket when the > >> buffer is full or the encoding process is stopped. Depending on the > >> set up data-rate, the delay between start recording an begin writing > >> to the socket is up to 20sec. > >> This delay is not acceptable, because I try to develop a live stream > >> application. > >> > >> Does any body know a way to avoid this buffering? Is that issue known? > >> Maybe it depends on my device? Atrix with Tegra2 => hardware encoder > >> > >> I hope to hear from you soon. > >> > >> Regards, > >> Paul > > > > -- > > 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 > > -- > Daniel Drozdzewski > >
-- 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