摘要 |
Method and device for transmitting media stream are provided to solve the problem of quality reduction in audio and video caused by packet loss, jitter, link breakage in a media stream transmission process in the conventional art. The method includes: a media capability negotiation between a calling terminal and a called terminal is conducted according to a link establishment request message transmitted by the calling terminal and a response message transmitted by the called terminal in response to the link establishment request message, and at least two media channels are established; a media stream is transmitted through a first media channel according to negotiated media capabilities; and when an abnormity is detected to appear in the media stream transmission of the first media channel, another one of the at least two media channels is selected as a second media channel, and the media stream is switched from the first media channel to the second media channel for transmission. By the invention, the quality of audio and video of two communicating parties can be ensured. |