Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

latency and jitter or stutter (clicks and pops)

843802Apr 15 2007 — edited Jul 7 2008
hello all. I have developed a sound server with 3 java apps, first one captures audio and ships it to the server, then from the server ships it to the clients, i have been tinkering with the buffer values for over two days now, (a lotta tinkering with just numbers) all values greater than 1024 in the client for playback seems to create a queue and make a latency which perpetually gains a second of delay per minute of playback.

I found that having the buffer on the socket set to 1024 and having the java sound buffer at 512 creates a near realtime situation, however it constantly jitters and stutters as well as clicks and pops to maintain its position and not to get a latency.

How do i stop this from happening? Has anyone else experienced the same thing and corrected it? Thanks much in advance for your help.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 4 2008
Added on Apr 15 2007
5 comments
238 views