This invention provides a
network address translation (NAT) traversal method and apparatus, applied to a
server. The
server, responding to an inbound INVITE request from a
client, obtains the
client's identification information, which carries the
client's network access type. The
server determines the client's network access type based on the client identification information. When the network access type is determined to be a preset type, a
public network dual-address candidate set is established and ice-lite marking is performed. Based on the
public network dual-address candidate set and the ice-lite marking, connection information is determined and sent to the client. Correspondingly, the client receives the connection information sent by the server and establishes a connection with the server based on the
public network connection address and the server's ice-lite interactive connection establishment protocol, completing the
NAT traversal. This method reduces communication maintenance costs, avoids introducing additional media
relay delays, reduces increased call latency and bandwidth consumption, and improves
communication quality.