Sparky__H
Sparky__H
Greetings
I’m creating a VOIP application in java with all the RTP bits and bobs necessary for real time transmission. However after bodging together a prototype to get to understand the JMF API I’ve come across a strange and irritating problem.
No matter what I do there is a 2second delay between speaking into the microphone and the receiver playing through the appropriate output.
From various forums and blogs I’ve been informed that perhaps it is the fault of a java class that encapsulates a DirectSound dll file which has a huge buffer that is set up to fill before it begins to render it.
Has anyone got any input or advice other then “don’t use java or JMF” please as it is starting to become problematic…
p.s.
I’m using a processor from the earlier JMF Manager library then using an RTPManager and SendStream with a parallel ReceiveStream & player on the receiving object.
I’m creating a VOIP application in java with all the RTP bits and bobs necessary for real time transmission. However after bodging together a prototype to get to understand the JMF API I’ve come across a strange and irritating problem.
No matter what I do there is a 2second delay between speaking into the microphone and the receiver playing through the appropriate output.
From various forums and blogs I’ve been informed that perhaps it is the fault of a java class that encapsulates a DirectSound dll file which has a huge buffer that is set up to fill before it begins to render it.
Has anyone got any input or advice other then “don’t use java or JMF” please as it is starting to become problematic…
p.s.
I’m using a processor from the earlier JMF Manager library then using an RTPManager and SendStream with a parallel ReceiveStream & player on the receiving object.