If two parties are trying to voice chat to each other, first the clients exchange their SIP credentials. The clients are trying to establish a direct UDP/RTP communication between the both hosts. This is typically possible if both the parties are in the same subnet, and if Port 5554 UDP is not blocked by a local firewall.
II. Voice chat between two users where one of the client is in a different network
If one of the both clients is in a different network (e.g., VPN to a company) & if both parties can access this Voice Proxy (STUN) server (can be NATted), on the preconfigured port 3478 UDP, we can open the firewall on Port 3478 for UDP traffic.The communication is very efficient since UDP is being used for the CODEC content.
III.Voice chat between two users where both the clients are in a different networks
If both parties cannot reach the STUN server, then we can establish the voice chat via https tunnel.Here, we create in the background a web conference and use the voice capability of web
conferencing.
No comments:
Post a Comment