Method for performing media transmission using ICE relay candidate address

The invention relates to a method for performing media transmission by adopting an ICE relay candidate address. The method comprises the following steps: a user-end proxy sends the Allocate request toa STUN server and receives the Allocate response carrying the relay candidate address, and then sends a Binding request carrying the self-defined CHANGED-TUPLE attribute which meets the internationalcommunications standard to the relay candidate address that the server allocates so that the STUN server replaces the internal quintuple which is originally generated by the Allocate request and contains the monitoring address of the STUN server by using the new quintuple of the Binding request including the source address containing the IP address and the port number, the destination address containing the IP address and the port number (namely, the relay candidate address to which the STUN server containing the IP address and the port number allocate) and the transmission protocol after receiving the Binding request with the CHANGED-TUPLE attribute. The method forwards the media stream without occupying the monitoring address of the STUN server, thus greatly enhancing the transmitting efficiency of the STUN server, improving the transfer efficiency of the media stream and reducing the transmission delay of the media.