摘要 |
Embodiments of the present invention disclose a method and a system for web real-time communication and a terminal. The method includes: performing, by a first terminal, web real-time communication with a second terminal, where the first terminal and the second terminal separately save property information of a current media channel; when a network connection is restored within a preset time threshold after network disconnection occurs to the first terminal, automatically initiating, according to the property information, a process of restoring or establishing a media channel; and continuing, by the first terminal, web real-time communication with the second terminal through the restored or established media channel. In the embodiments of the present invention, when a network connection is restored after short network disconnection, a disconnected terminal can automatically initiate a process of restoring or establishing a media channel so that web real-time communication is reconnected automatically, which avoids impacting use experience of a user. |