Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Dec : Advice needed, please
| Subject: | Advice needed, please |
| Posted by: | "York" (nospam@nospam.com) |
| Date: | Fri, 1 Dec 2006 23:05:09 |
Hello
My application is transmiting audio data packets using idTCPClient to a
IdTCPServer.
The client sents a data packet to the server 5 times per second i.e. 200ms
between two data packets.
The server has a buffer to hold 5 data packets (i.e. 1 second of audio data)
The other client applications are reading this buffer.
In 95% of the cases it works well. I.e. the voice stream is not breaking and
the data packets arrive "in time".
Sometimes, however clients that are connecting from China and Israel or
other countries are having problems.
The data packets sent from those locations do not arrive in time. Not just a
small delay but constant delay of about 4-5 secconds in each 10/15 secconds
or sort of. This hoever results in breaks of the audio stream in the
"listening" parties.
So could anyone suggest:
1. What could be the reason for this
2, How this could be overcome
Thanks in advance
Regards