Click here to Skip to main content
15,888,253 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hai,
How to send and receive audio file after successful log in from one client to another without the delay in speech using c#.net
Posted

1 solution

There is no such a thing - without delays.
You have to devide the voice stream to packets. Each packet shall be compressed with some codec (G.711, G.729, FFT), encrypted (if relevant), sent to the other side, decrypted, decoded and finally played. Everyone of those steps takes time. You cannot do it without delay.
Here are few tips for you to implement, so that your app will be fine.
1. Use RTP over UDP, don't use TCP
2. Use jitter buffer

My advice is to read some literature before you start coding.
 
Share this answer
 
Comments
xj107359 30-Jun-10 2:49am    
Reason for my vote of 1
"There is no such a thing - without delays"
But we can make delays very short.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900