j2me record and stream without gap?

253 views Asked by At

Is it possible to record voice and stream in J2ME,like I record and use commit() to get the byte array,but the commit() takes at least 250ms ,even the record length is 10 ms,and it irrationally takes 280ms if the record length is 10s etc, the device I tested is Nokia 6300 s40 device.

How can I prevent the gap?

Actually I need to record voice in a packets of the time intervals as small as possible like 100ms,200ms,etc. but each time the commit() takes at least 250ms.

1

There are 1 answers

0
bharath On

AFAIK its not possible. Because you have to commit() after recording the audio. So it should takes sometime to commit().