HI Every one
I am working in JMF and i am faceing a problem in voice conversation that there is delay of almost one or two seconds in conversation but i am not able where i can set buffer length and threshold amount to reduce this delay in conversation followin code of transmiter(RTPServer) and receiver(RTPClient) Please guid me regarding this problem in code so i can reduce the delay
i already pasted a query but no reply to me i am waiting for reply i have another problem that when i execute this program the voice conversation is started but when i stop this conversation and starts it again then there is error which is given below i am really waiting for reply please reply me and who understand this problem
Thanks
Regards
javax.media.NotConfiguredError: setContentDescriptor cannot be called before configured
at com.sun.media.ProcessEngine.setContentDescriptor(ProcessEngine.java:342)
at com.sun.media.MediaProcessor.setContentDescriptor(MediaProcessor.java:123)
at RTPServer.RTPServerTranmsimter(RTPServer.java:66)
at SignalingServer.Receive(SignalingServer.java:44)
at SignalingServer.run(SignalingServer.java:142)
at java.lang.Thread.run(Thread.java:619)
Exception in
thread "Thread-2" javax.media.NotConfiguredError: setContentDescriptor cannot be called before configured
at com.sun.media.ProcessEngine.setContentDescriptor(ProcessEngine.java:342)
at com.sun.media.MediaProcessor.setContentDescriptor(MediaProcessor.java:123)
at RTPServer.RTPServerTranmsimter(RTPServer.java:66)
at SignalingServer.Receive(SignalingServer.java:44)
at SignalingServer.run(SignalingServer.java:142)
at java.lang.Thread.run(Thread.java:619)
and code for Receiver is