I need an EXPERTS opinion, please, and I'm sorry if my question in itself is a confused question.
I read about the structure of VOIP applications (Client / Server). And mainly UDP is recommended for voice streams. I also tested some voice transmission applications such as paltalk and inspeak, and their sites mention that they use the udp speech stream, which does not seem correct for the reasons below.
I examined the traffic / ports used by the fingertip and the inspector. They open the UDP and TCP ports and use a packet sniffer, I see that there is not much UDP communication, but basically it is a TCP connection.
Also, as far as I know, on the UDP protocol server you cannot send data to the client for NAT (DSL Router). And "UDP Braodcast" is not an option for online voice chat applications. THAT WHY YAHOO SHOWED in his documentation that yahoo messenger switches to tcp if udp communication is not possible.
So my question is ...
Do I understand something wrong in my statements above?
If UDP is not possible, then do these chat applications use TCP Stream for voice?
Since I was faced with the fact that TCP voice streams create a delay, the voice is not interrupted, but Delay is in the voice, and what should be the best structure for chat server / client exchange?
Until now, I think that if the client sends data as udp packets to the server and the server, distributes the packets to clients over TCP streams, is this a suitable solution? I mean, what do commercial voicemail apps do?
Thank you for your answer to help me and many other programmers.
Jf
James source
share