WO2021259124A1 - 视频会议的实现方法、终端和sip网关 - Google Patents
视频会议的实现方法、终端和sip网关 Download PDFInfo
- Publication number
- WO2021259124A1 WO2021259124A1 PCT/CN2021/100550 CN2021100550W WO2021259124A1 WO 2021259124 A1 WO2021259124 A1 WO 2021259124A1 CN 2021100550 W CN2021100550 W CN 2021100550W WO 2021259124 A1 WO2021259124 A1 WO 2021259124A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- sip
- terminal
- webrtc
- signaling
- video conference
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 61
- 230000011664 signaling Effects 0.000 claims abstract description 205
- 230000003993 interaction Effects 0.000 claims abstract description 21
- 238000012790 confirmation Methods 0.000 claims description 12
- 230000005540 biological transmission Effects 0.000 claims description 9
- 230000000977 initiatory effect Effects 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 8
- 238000005516 engineering process Methods 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 230000002457 bidirectional effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/1066—Session management
- H04L65/1069—Session establishment or de-establishment
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/10—Architectures or entities
- H04L65/102—Gateways
- H04L65/1033—Signalling gateways
- H04L65/104—Signalling gateways in the network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/1066—Session management
- H04L65/1101—Session protocols
- H04L65/1104—Session initiation protocol [SIP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/1066—Session management
- H04L65/1101—Session protocols
- H04L65/1108—Web based protocols, e.g. webRTC
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/40—Support for services or applications
- H04L65/403—Arrangements for multi-party communication, e.g. for conferences
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
- H04L65/65—Network streaming protocols, e.g. real-time transport protocol [RTP] or real-time control protocol [RTCP]
Definitions
- the embodiments of the present application relate to the technical field of video conferencing, and in particular, to a video conferencing method, a WebRTC terminal, and a SIP gateway.
- WebRTC Web Real-Time Communications
- WebRTC Web Real-Time Communications
- an embodiment of the present application provides a method for implementing a video conference, which is applied to a WebRTC terminal, and the method includes:
- the SIP signaling interaction is performed between the SIP account and the SIP gateway to establish a video conference connection with the SIP terminal;
- the SIP signaling between the WebRTC terminal and the SIP gateway is transmitted through the WebSocket protocol, and the WebRTC terminal can Analyze the received SIP signaling transmitted through the WebSocket protocol;
- the interaction of SIP signaling between the SIP account and the SIP gateway to establish a video conference connection with the SIP terminal includes:
- the second SIP signaling sent by the SIP gateway, analyze the second SIP signaling, and establish a video conference connection with the SIP terminal, the second SIP signaling carries the SIP terminal pair Confirmation of the first invitation.
- the interaction of SIP signaling between the SIP account and the SIP gateway to establish a video conference connection with the SIP terminal includes:
- the method before the SIP signaling interaction between the SIP account and the SIP gateway, the method further includes:
- the sending the locally collected video stream includes:
- the receiving the video stream of the SIP terminal includes:
- the embodiments of the present application provide a method for implementing a video conference, which is applied to a SIP gateway, and the method includes:
- the SIP signaling interaction with the WebRTC terminal and the SIP terminal is performed to establish a video conference connection between the WebRTC terminal and the SIP terminal.
- the SIP signaling between the WebRTC terminal and the SIP gateway is through WebSocket Protocol transmission, the SIP gateway can parse SIP signaling transmitted through the WebSocket protocol.
- the interaction of SIP signaling with a WebRTC terminal and a SIP terminal to establish a video conference connection between the WebRTC terminal and the SIP terminal includes:
- the second SIP signaling sent by the SIP terminal is received, and the second SIP signaling is forwarded to the WebRTC terminal to establish a video conference connection between the WebRTC terminal and the SIP terminal.
- the interaction of SIP signaling with a WebRTC terminal and a SIP terminal to establish a video conference connection between the WebRTC terminal and the SIP terminal includes:
- the fourth SIP signaling sent by the WebRTC terminal is received, the fourth SIP signaling is analyzed, and the resolved fourth SIP signaling is forwarded to the SIP terminal to establish the WebRTC terminal and For the video conference connection between the SIP terminals, the fourth SIP signaling carries the confirmation of the WebRTC terminal to the second invitation.
- the method before the SIP signaling interaction with the WebRTC terminal and the SIP terminal, the method further includes:
- an embodiment of the present application provides a terminal, including:
- connection module is used to exchange SIP signaling with the SIP gateway through the SIP account to establish a video conference connection with the SIP terminal;
- SIP signaling between the WebRTC terminal and the SIP gateway is transmitted through the WebSocket protocol, so The WebRTC terminal can parse the received SIP signaling transmitted through the WebSocket protocol;
- the transmission module is used to send the locally collected video stream, and/or to receive the video stream of the SIP terminal and play it through the browser.
- an embodiment of the present application provides a SIP gateway, including:
- the connection module is used to interact with the SIP signaling between the WebRTC terminal and the SIP terminal to establish a video conference connection between the WebRTC terminal and the SIP terminal.
- the connection between the WebRTC terminal and the SIP gateway is SIP signaling is transmitted through the WebSocket protocol, and the SIP gateway terminal can analyze the SIP signaling transmitted through the WebSocket protocol.
- an embodiment of the present application provides a terminal, including a processor, a memory, and a program or instruction stored on the memory and capable of running on the processor, and the program or instruction is executed by the processor.
- the steps of the video conference implementation method of the first aspect described above are realized.
- an embodiment of the present application provides a SIP gateway, including a processor, a memory, and a program or instruction stored on the memory and capable of running on the processor, and the program or instruction is processed by the processor.
- a SIP gateway including a processor, a memory, and a program or instruction stored on the memory and capable of running on the processor, and the program or instruction is processed by the processor.
- an embodiment of the present application provides a readable storage medium storing a program or instruction on the readable storage medium, and when the program or instruction is executed by a processor, the implementation method of the video conference in the first aspect described above is realized Or, when the program or instruction is executed by a processor, the steps of the video conference implementation method of the second aspect described above are realized.
- FIG. 1 is a schematic structural diagram of a video conference system according to an embodiment of the application
- FIG. 2 is a schematic structural diagram of a video conference system according to another embodiment of the application.
- FIG. 3 is a schematic flowchart of a method for implementing a video conference in Embodiment 1 of this application;
- FIG. 4 is a schematic flowchart of a method for implementing a video conference in Embodiment 2 of this application;
- FIG. 5 is a schematic flowchart of a method for implementing a video conference in Embodiment 3 of this application;
- FIG. 6 is a schematic flowchart of a method for implementing a video conference in Embodiment 4 of this application;
- FIG. 7 is a schematic flowchart of a method for implementing a video conference in Embodiment 5 of this application.
- FIG. 8 is a schematic flowchart of a method for implementing a video conference in Embodiment 6 of this application.
- FIG. 9 is a schematic diagram of a specific signaling implementation flow of a SIP account registered by a WebRTC terminal in an embodiment of the application.
- FIG. 10 is a schematic diagram of a signaling realization flow for establishing a connection between a WebRTC terminal and a SIP terminal and transmitting a video stream in an embodiment of the application;
- FIG. 11 is a schematic structural diagram of a WebRTC terminal in an embodiment of the application.
- Figure 12 is a schematic structural diagram of a SIP gateway in an embodiment of the application.
- SIP signaling can be transmitted through the WebSocket protocol, and both WebRTC terminals and SIP terminals use RTP (Real-time Transport Protocol) to transmit audio and video streams.
- RTP Real-time Transport Protocol
- the embodiments of the present application provide a method, terminal, and SIP gateway for implementing a video conference.
- SIP signaling is transmitted between the WebRTC terminal and the SIP gateway through the WebSocket protocol, and the video stream is performed through the RTP protocol.
- the scalability of the video conference is improved.
- FIG. 1 is a schematic structural diagram of a video conferencing system according to an embodiment of this application.
- the video conferencing system includes: WebRTC terminals, SIP terminals, and SIP gateways.
- the WebRTC terminals and SIP gateways can be transmitted through the WebSocket protocol.
- SIP signaling ie SIP over WebSocket
- SIP signaling is transmitted between the SIP gateway and SIP terminal through the SIP protocol to establish a video conference connection between the WebRTC terminal and the SIP terminal.
- the video stream can be transmitted through the RTP protocol.
- the video stream can be transmitted between the WebRTC terminal and the SIP terminal through the SRTP (Secure Real-time Transport Protocol) protocol to improve security.
- SRTP Secure Real-time Transport Protocol
- FIG. 2 is a schematic structural diagram of a video conference system according to another embodiment of the application.
- the video conference system includes: a WebRTC terminal, a SIP terminal, a SIP gateway, and a WebRTC server.
- SIP signaling is transmitted through the WebSocket protocol (that is, SIP over WebSocket), and SIP signaling is transmitted between the SIP gateway and the SIP terminal through the SIP protocol to establish a video conference connection between the WebRTC terminal and the SIP terminal.
- the WebRTC terminal and The video stream can be transmitted between SIP terminals through the RTP protocol.
- a video stream can be transmitted between the WebRTC terminal and the SIP terminal through the SRTP protocol to improve security.
- the WebRTC terminal can also transmit the locally collected video stream to the WebRTC server through the Websocket protocol, and the WebRTC server transmits it to the SIP terminal or other WebRTC terminals.
- the SIP terminal can transmit the locally collected video stream to the SIP gateway through the SIP protocol, and the WebRTC terminal can also receive the SIP terminal's video stream from the SIP gateway through the Websocket protocol, so that the WebRTC terminal or SIP terminal does not need to transfer the locally collected video stream Send to multiple terminals (SIP terminals or other WebRTC terminals) separately, saving bandwidth.
- the video stream can be transmitted between the WebRTC terminal and the WebRTC server through the WSS protocol to improve security.
- the WebRTC server and/or SIP gateway can support SFU (Selective Forward Unit, selective forwarding) mode to send video streams.
- SFU Selective Forward Unit, selective forwarding
- the so-called selective forwarding means that the WebRTC terminal transmits the locally collected video stream To the WebRTC server, the WebRTC server transmits to other terminals respectively.
- the SIP terminal sends the locally collected video stream to the SIP gateway, and the SIP gateway transmits it to other terminals. At this time, the terminal can select one or more of the terminals on the web page.
- the video stream is simple to implement, has strong interactivity, low delay, and has low server hardware requirements.
- the WebRTC specification is not modified, but a WebSocket-based SIP parsing library is set up on the WebRTC terminal and SIP gateway to verify the received WebSocket-based protocol
- the transmitted SIP signaling is analyzed.
- the WebRTC terminal also needs to register a SIP account to realize the video conference with the SIP terminal.
- the SIP account can be an account independent of the WebRTC account, where the WebRTC account is used to conduct WebRTC account video For conferences, SIP accounts are used for SIP video conferences, or SIP and WebRTC use the same account.
- video stream in the embodiment of the present application includes audio and video.
- the following describes the implementation methods of the video conference performed by the WebRTC terminal and the SIP gateway respectively.
- FIG. 3 is a schematic flowchart of a method for implementing a video conference in Embodiment 1 of this application.
- the method for implementing a video conference is applied to a WebRTC terminal and includes:
- Step 31 Perform SIP signaling interaction with the SIP gateway through the SIP account to establish a video conference connection with the SIP terminal; the SIP signaling between the WebRTC terminal and the SIP gateway is transmitted through the WebSocket protocol, and the WebRTC The terminal can analyze the received SIP signaling transmitted through the WebSocket protocol;
- Step 32 Send the locally collected video stream, and/or receive the video stream of the SIP terminal and play it through the browser.
- a WebRTC terminal can create a video conference and invite SIP terminals to join the video conference. Please refer to FIG. 4.
- FIG. 4 is a schematic flowchart of a method for implementing a video conference in Embodiment 2 of this application. The implementation method of is applied to WebRTC terminal, including:
- Step 41 Send a first SIP signaling to the SIP gateway through a SIP account, where the first SIP signaling carries a first invitation to invite SIP terminals to join the video conference;
- Step 42 Receive the second SIP signaling sent by the SIP gateway, parse the second SIP signaling, and establish a video conference connection with the SIP terminal.
- the second SIP signaling carries the The SIP terminal's confirmation of the first invitation.
- Step 43 Send the locally collected video stream, and/or receive the video stream of the SIP terminal and play it through the browser.
- a SIP terminal can also create a video conference and invite WebRTC terminals to join the video conference. Please refer to FIG. 5.
- FIG. 5 The realization method of the meeting is applied to the WebRTC terminal, including:
- Step 51 Receive a third SIP signaling sent by the SIP gateway, where the third SIP signaling carries a second invitation for the SIP terminal to invite the WebRTC terminal to join the video conference;
- Step 52 parse the third SIP signaling, and send fourth SIP signaling to the SIP gateway, where the fourth SIP signaling carries the confirmation of the WebRTC terminal to the second invitation;
- Step 53 Establish a video conference connection with the SIP terminal
- Step 54 Send the locally collected video stream, and/or receive the video stream of the SIP terminal and play it through the browser.
- the WebRTC terminal needs to interact with the SIP gateway through SIP signaling through the SIP account. Therefore, the WebRTC terminal also needs to register the SIP account before interacting with the SIP gateway. That is, the implementation method of the video conference in the embodiment of the present application further includes:
- Step A1 Send fifth SIP signaling to the SIP gateway, where the fifth SIP signaling carries a request to register an account;
- Step A2 Receive the sixth SIP signaling sent by the SIP gateway, and parse the sixth SIP signaling, where the sixth SIP signaling carries the SIP account assigned by the SIP gateway to the WebRTC terminal.
- the sending of the locally collected video stream in the foregoing embodiment may include: sending the locally collected video stream to the WebRTC server through the WebSocket protocol, and the WebRTC server forwards the locally collected video stream to the SIP terminal, or sending the locally collected video through the RTP protocol Send the stream directly to the SIP terminal;
- receiving the video stream of the SIP terminal through the RTP protocol includes: receiving the video stream of the SIP terminal from the SIP gateway through the Websocket protocol, or directly receiving the SIP terminal through the RTP protocol.
- the video stream of the terminal includes: receiving the video stream of the SIP terminal from the SIP gateway through the Websocket protocol, or directly receiving the SIP terminal through the RTP protocol.
- the video stream can be transmitted directly between the WebRTC terminal and the SIP terminal through the RTP protocol, or the video stream can be transmitted to the WebRTC server, and other terminals can watch the video from the WebRTC server.
- FIG. 6 is a schematic flowchart of a method for implementing a video conference according to Embodiment 4 of this application.
- the method for implementing a video conference is applied to a SIP gateway and includes:
- Step 61 Perform SIP signaling interaction with the WebRTC terminal and the SIP terminal to establish a video conference connection between the WebRTC terminal and the SIP terminal, and the SIP signaling between the WebRTC terminal and the SIP gateway If it is transmitted through the WebSocket protocol, the SIP gateway can parse the SIP signaling transmitted through the WebSocket protocol.
- the implementation method of the video conference in the embodiments of the present application includes:
- Step 71 Receive the first SIP signaling sent by the WebRTC terminal through the SIP account, and parse the first SIP signaling, where the first SIP signaling carries an invitation to invite the SIP terminal to join the video conference;
- Step 72 Forward the parsed first SIP signaling to the SIP terminal
- Step 73 Receive the second SIP signaling sent by the SIP terminal, and forward the second SIP signaling to the WebRTC terminal to establish a video conference connection between the WebRTC terminal and the SIP terminal.
- the implementation method of the video conference in the embodiments of the present application includes:
- Step 81 Receive a third SIP signaling sent by the SIP terminal, where the third SIP signaling carries a second invitation for the SIP terminal to invite the WebRTC terminal to join the video conference;
- Step 82 Forward the third SIP signaling to the WebRTC terminal
- Step 83 Receive the fourth SIP signaling sent by the WebRTC terminal, analyze the fourth SIP signaling, and forward the resolved fourth SIP signaling to the SIP terminal to establish the For a video conference connection between the WebRTC terminal and the SIP terminal, the fourth SIP signaling carries a confirmation of the WebRTC terminal to the second invitation.
- the WebRTC terminal needs to interact with the SIP gateway through SIP signaling through the SIP account. Therefore, the WebRTC terminal also needs to register the SIP account before interacting with the SIP gateway. That is, the implementation method of the video conference in the embodiment of the present application further includes:
- Step B1 Receive the fifth SIP signaling sent by the WebRTC terminal, and parse the fifth SIP signaling, where the fifth SIP signaling carries a request to register an account;
- Step B2 Send a sixth SIP signaling to the WebRTC terminal, and the sixth SIP signaling carries the SIP account allocated by the SIP gateway for the WebRTC terminal.
- the implementation method of the video conference in the embodiment of the present application may further include: the SIP gateway receives the video stream sent by the SIP terminal; and when the WebRTC terminal requests to watch the video stream, it is transmitted to the WebRTC terminal through the WebSocket protocol, thereby realizing the video Selective forwarding of streams.
- the following describes the specific signaling implementation process of the WebRTC terminal registering the SIP account.
- the specific signaling implementation process of the SIP account registration of the WebRTC terminal in the embodiment of the present application includes the following steps:
- Step 91 The WebRTC terminal sends an HTTP GET (WS Handshake) to the SIP gateway to request for account registration; HTTP GET (WS Handshake) is the fifth signaling mentioned above;
- Step 92 The SIP gateway sends 101 Switching Protocols to the WebRTC terminal, indicating that the SIP gateway has understood the request of the WebRTC terminal, and will notify the WebRTC terminal to use the WebSocket protocol to complete the request through the Upgrade subsection;
- Step 93 The SIP gateway sends a REGISTER to the WebRTC terminal through the WebSocket protocol, carrying the SIP account allocated by the SIP gateway for the WebRTC terminal, and the REGISTER is the sixth SIP signaling described above.
- Step 94 The WebRTC terminal sends a 200 OK to the SIP gateway, indicating that the SIP account registration is successful.
- the following describes the signaling implementation process of establishing a connection between the WebRTC terminal and the SIP terminal and transmitting the video stream.
- the signaling realization process of establishing a connection between a WebRTC terminal and a SIP terminal and transmitting a video stream in an embodiment of the present application includes the following steps:
- Step 101 The WebRTC terminal sends an INVITE to the SIP gateway through the registered SIP account, and the INVITE carries the first invitation to invite the SIP terminal to join the video conference; INVITE is the above-mentioned first SIP signaling;
- Step 102 The SIP gateway parses the INVITE and returns Trying to the WebRTC terminal. Trying is a temporary response;
- Step 103 The SIP gateway forwards the INVITE to the SIP terminal;
- Step 104 After receiving the INVITE, the SIP terminal can display the INVITE message on the web page or APP, and after confirming to participate in the video conference, it will feed back a 200 OK to the SIP gateway for response.
- the 200 OK is the above-mentioned second SIP signaling
- Step 105 The SIP gateway forwards the 200 OK to the WebRTC terminal through the WebSocket protocol;
- Step 106 The WebRTC terminal sends an ACK to the SIP gateway to confirm receipt;
- Step 107 The SIP gateway forwards the ACK to the SIP terminal, so that a Bidirectional SRTP connection is established between the WebRTC terminal and the SIP terminal.
- the local camera of the SIP terminal collects the user's video stream and sends it to the WebRTC terminal that needs to be watched through the SRTP protocol.
- the SIP terminal also receives the video stream of the WebRTC terminal, and the WebRTC terminal and the SIP terminal establish a two-way media stream transmission interconnection;
- Step 108 If the SIP terminal needs to end the video conference, send a BYE to the SIP gateway;
- Step 109 The SIP gateway forwards the BYE to the WebRTC terminal;
- Step 1010 The WebRTC terminal sends a 200 OK to the SIP gateway to respond to the end of the video conference;
- Step 1011 The SIP gateway sends 200 OK to the SIP terminal, thereby ending the video conference.
- an embodiment of the present application further provides a terminal 110, including:
- connection module 111 is configured to interact with SIP signaling through the SIP account and SIP gateway to establish a video conference connection with the SIP terminal; the SIP signaling between the WebRTC terminal and the SIP gateway is transmitted through the WebSocket protocol, The WebRTC terminal can analyze the received SIP signaling transmitted through the WebSocket protocol;
- the transmission module 112 is configured to send a locally collected video stream, and/or receive the video stream of the SIP terminal and play it through a browser.
- connection module 111 is configured to send a first SIP signaling to the SIP gateway through a SIP account, where the first SIP signaling carries a first invitation to invite SIP terminals to join the video conference; receiving the The second SIP signaling sent by the SIP gateway analyzes the second SIP signaling, and establishes a video conference connection with the SIP terminal.
- the second SIP signaling carries the SIP terminal’s connection to the first SIP terminal. Confirmation of invitation.
- connection module 111 is configured to receive third SIP signaling sent by the SIP gateway, where the third SIP signaling carries a second invitation for the SIP terminal to invite the WebRTC terminal to join the video conference; Analyze the third SIP signaling, and send fourth SIP signaling to the SIP gateway, where the fourth SIP signaling carries the confirmation of the WebRTC terminal to the second invitation; and the SIP The terminal establishes a video conference connection.
- the WebRTC terminal further includes:
- a sending module configured to send fifth SIP signaling to the SIP gateway, where the fifth SIP signaling carries a request for registering an account
- the receiving module is configured to receive the sixth SIP signaling sent by the SIP gateway and parse the sixth SIP signaling, where the sixth SIP signaling carries the SIP allocated by the SIP gateway for the WebRTC terminal account.
- the transmission module 112 is configured to send the locally collected video stream to the WebRTC server through the WebSocket protocol, and the WebRTC server forwards the video stream to the SIP terminal, or directly transmits the locally collected video stream through the RTP protocol. Sent to the SIP terminal;
- the transmission module 112 is configured to receive the video stream of the SIP terminal from the SIP gateway through the Websocket protocol, or directly receive the video stream of the SIP terminal from the SIP terminal through the RTP protocol.
- an embodiment of the present application also provides a SIP gateway 120, including:
- the connection module 121 is configured to interact with the SIP signaling between the WebRTC terminal and the SIP terminal to establish a video conference connection between the WebRTC terminal and the SIP terminal, between the WebRTC terminal and the SIP gateway.
- the SIP signaling transmitted through the WebSocket protocol is transmitted, and the SIP gateway can analyze the SIP signaling transmitted through the WebSocket protocol.
- connection module 121 is configured to receive the first SIP signaling sent by the WebRTC terminal through the SIP account, and parse the first SIP signaling, where the first SIP signaling carries the invitation The SIP terminal’s invitation to join the video conference; forwards the parsed first SIP signaling to the SIP terminal; receives the second SIP signaling sent by the SIP terminal, and forwards the second SIP signaling to The WebRTC terminal to establish a video conference connection between the WebRTC terminal and the SIP terminal.
- connection module 121 is configured to receive third SIP signaling sent by the SIP terminal, where the third SIP signaling carries a second invitation for the SIP terminal to invite the WebRTC terminal to join the video conference; Forward the third SIP signaling to the WebRTC terminal; receive the fourth SIP signaling sent by the WebRTC terminal, parse the fourth SIP signaling, and forward the parsed SIP signaling to the SIP terminal.
- the fourth SIP signaling is used to establish a video conference connection between the WebRTC terminal and the SIP terminal, and the fourth SIP signaling carries a confirmation of the WebRTC terminal to the second invitation.
- the SIP gateway further includes:
- a receiving module configured to receive the fifth SIP signaling sent by the WebRTC terminal, and analyze the fifth SIP signaling, where the fifth SIP signaling carries a request for registering an account;
- the sending module is configured to send sixth SIP signaling to the WebRTC terminal, where the sixth SIP signaling carries the SIP account assigned by the SIP gateway to the WebRTC terminal.
- An embodiment of the present application also provides a terminal, including a processor, a memory, and a program or instruction stored on the memory and capable of running on the processor.
- the program or instruction implements the foregoing when the program or instruction is executed by the processor.
- An embodiment of the present application also provides a SIP gateway, including a processor, a memory, and a program or instruction that is stored on the memory and can run on the processor, and is implemented when the program or instruction is executed by the processor.
- the embodiment of the present application also provides a computer non-transitory readable storage medium, the readable storage medium stores a program or instruction, and when the program or instruction is executed by a processor, the implementation of the above-mentioned video conference applied to the WebRTC terminal is realized.
- the steps of the method, or when the program or instruction is executed by the processor, implement the steps of the foregoing method for implementing the video conference applied to the SIP gateway.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- Telephonic Communication Services (AREA)
Abstract
Description
Claims (14)
- 一种视频会议的实现方法,应用于网页实时通信WebRTC终端,所述方法包括:通过会话初始化协议SIP账号与SIP网关之间进行SIP信令的交互,以与SIP终端建立视频会议连接;所述WebRTC终端与所述SIP网关之间的SIP信令通过网页套接字WebSocket协议传输,所述WebRTC终端能够对接收到的通过WebSocket协议传输的SIP信令进行解析;发送本地采集的视频流,和/或,接收所述SIP终端的视频流并通过浏览器播放。
- 如权利要求1所述的方法,其中,所述通过会话初始化协议SIP账号与SIP网关之间进行SIP信令的交互,以与SIP终端建立视频会议连接包括:通过SIP账号向所述SIP网关发送第一SIP信令,所述第一SIP信令携带邀请SIP终端加入视频会议的第一邀请;接收所述SIP网关发送的第二SIP信令,对所述第二SIP信令进行解析,并与所述SIP终端建立视频会议连接,所述第二SIP信令中携带所述SIP终端对所述第一邀请的确认。
- 如权利要求1所述的方法,其中,所述通过会话初始化协议SIP账号与SIP网关之间进行SIP信令的交互,以与SIP终端建立视频会议连接包括:接收所述SIP网关发送的第三SIP信令,所述第三SIP信令携带所述SIP终端邀请所述WebRTC终端加入视频会议的第二邀请;对所述第三SIP信令进行解析,并向所述SIP网关发送第四SIP信令,所述第四SIP信令携带对所述WebRTC终端对所述第二邀请的确认;与所述SIP终端建立视频会议连接。
- 如权利要求1所述的方法,其中,所述通过SIP账号与SIP网关之间进行SIP信令的交互之前,所述方法还包括:向所述SIP网关发送第五SIP信令,所述第五SIP信令携带注册账号的请求;接收所述SIP网关发送的第六SIP信令,并对所述第六SIP信令进行解 析,所述第六SIP信令携带所述SIP网关为所述WebRTC终端分配的SIP账号。
- 如权利要求1-4中任一项所述的方法,其中,所述发送本地采集的视频流包括:通过WebSocket协议将本地采集的视频流发送给WebRTC服务器,由所述WebRTC服务器转发给所述SIP终端,或者,通过RTP协议将本地采集的视频流直接发送给所述SIP终端;所述接收所述SIP终端的视频流包括:通过Websocket协议从所述SIP网关接收所述SIP终端的视频流,或者,通过RTP协议直接从SIP终端接收所述SIP终端的视频流。
- 一种视频会议的实现方法,应用于SIP网关,所述方法包括:与WebRTC终端和SIP终端之间进行SIP信令的交互,以建立所述WebRTC终端和所述SIP终端之间的视频会议连接,所述WebRTC终端与所述SIP网关之间的SIP信令通过WebSocket协议传输,所述SIP网关能够对通过WebSocket协议传输的SIP信令进行解析。
- 如权利要求6所述的方法,其中,所述与WebRTC终端和SIP终端之间进行SIP信令的交互,以建立所述WebRTC终端和所述SIP终端之间的视频会议连接包括:接收所述WebRTC终端通过SIP账号发送的第一SIP信令,并对所述第一SIP信令进行解析,所述第一SIP信令携带邀请所述SIP终端加入视频会议的邀请;向所述SIP终端转发解析后的所述第一SIP信令;接收到所述SIP终端发送的第二SIP信令,将所述第二SIP信令转发给所述WebRTC终端,以建立所述WebRTC终端和所述SIP终端之间的视频会议连接。
- 如权利要求6所述的方法,其中,所述与WebRTC终端和SIP终端之间进行SIP信令的交互,以建立所述WebRTC终端和所述SIP终端之间的视频会议连接包括:接收所述SIP终端发送的第三SIP信令,所述第三SIP信令携带所述SIP 终端邀请所述WebRTC终端加入视频会议的第二邀请;将所述第三SIP信令转发给所述WebRTC终端;接收到所述WebRTC终端发送的第四SIP信令,对所述第四SIP信令进行解析,并向所述SIP终端转发解析后的所述第四SIP信令,以建立所述WebRTC终端和所述SIP终端之间的视频会议连接,所述第四SIP信令携带对所述WebRTC终端对所述第二邀请的确认。
- 如权利要求6-8中任一项所述的方法,其中,所述与WebRTC终端和SIP终端之间进行SIP信令的交互之前,所述方法还包括:接收所述WebRTC终端发送的第五SIP信令,并对所述第五SIP信令进行解析,所述第五SIP信令携带注册账号的请求;向所述WebRTC终端发送第六SIP信令,所述第六SIP信令携带所述SIP网关为所述WebRTC终端分配的SIP账号。
- 一种终端,包括:连接模块,用于通过SIP账号与SIP网关之间进行SIP信令的交互,以与SIP终端建立视频会议连接;所述WebRTC终端与所述SIP网关之间的SIP信令通过WebSocket协议传输,所述WebRTC终端能够对接收到的通过WebSocket协议传输的SIP信令进行解析;传输模块,用于发送本地采集的视频流,和/或,接收所述SIP终端的视频流并通过浏览器播放。
- 一种SIP网关,包括:连接模块,用于与WebRTC终端和SIP终端之间进行SIP信令的交互,以建立所述WebRTC终端和所述SIP终端之间的视频会议连接,所述WebRTC终端与所述SIP网关之间的SIP信令通过WebSocket协议传输,所述SIP网关终端能够对通过WebSocket协议传输的SIP信令进行解析。
- 一种终端,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1-5任一项所述的视频会议的实现方法的步骤。
- 一种SIP网关,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如 权利要求6-9任一项所述的视频会议的实现方法的步骤。
- 一种计算机非瞬态可读存储介质,其中,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1-5任一项所述的视频会议的实现方法的步骤,或者,所述程序或指令被处理器执行时实现如权利要求6-9任一项所述的视频会议的实现方法的步骤。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US17/778,198 US20220417294A1 (en) | 2020-06-23 | 2021-06-17 | Method for realizing video conference, and terminal and sip gateway |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010584051.9 | 2020-06-23 | ||
CN202010584051.9A CN113839910A (zh) | 2020-06-23 | 2020-06-23 | 视频会议的实现方法、终端和sip网关 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2021259124A1 true WO2021259124A1 (zh) | 2021-12-30 |
Family
ID=78964218
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/100550 WO2021259124A1 (zh) | 2020-06-23 | 2021-06-17 | 视频会议的实现方法、终端和sip网关 |
Country Status (3)
Country | Link |
---|---|
US (1) | US20220417294A1 (zh) |
CN (1) | CN113839910A (zh) |
WO (1) | WO2021259124A1 (zh) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104717234A (zh) * | 2013-12-11 | 2015-06-17 | 中兴通讯股份有限公司 | 一种政企网通信装置及通信方法 |
US20180255182A1 (en) * | 2016-07-15 | 2018-09-06 | E-MetroTel Global Inc. | Web Real-Time Client Communication Over a Stimulus Based Network |
CN110830777A (zh) * | 2019-11-29 | 2020-02-21 | 公安部第一研究所 | 基于WebRTC协议的跨浏览器预览GB/T28181标准监控视频的方法 |
US20200153876A1 (en) * | 2014-06-10 | 2020-05-14 | Orange | Method for setting up a webrtc session |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9112975B2 (en) * | 2012-11-05 | 2015-08-18 | Genesys Telecommunications Laboratories, Inc. | System and method for web-based real time communication with contact centers |
US8695077B1 (en) * | 2013-03-14 | 2014-04-08 | Sansay, Inc. | Establishing and controlling communication sessions between SIP devices and website application servers |
CN104869101B (zh) * | 2014-02-21 | 2018-02-23 | 华为技术有限公司 | 一种通道建立的方法和设备 |
CN105099897B (zh) * | 2014-05-13 | 2020-01-21 | 中兴通讯股份有限公司 | 一种在浏览器和电信网络之间进行通信的方法和网关 |
US9912705B2 (en) * | 2014-06-24 | 2018-03-06 | Avaya Inc. | Enhancing media characteristics during web real-time communications (WebRTC) interactive sessions by using session initiation protocol (SIP) endpoints, and related methods, systems, and computer-readable media |
CN105516176B (zh) * | 2015-12-25 | 2018-09-14 | 北京京东尚科信息技术有限公司 | 一种呼叫中心系统及其通信连接方法和装置 |
US10917256B2 (en) * | 2016-08-03 | 2021-02-09 | Telefonaktiebolaget Lm Ericsson (Publ) | Guest user access in the IP multimedia subsystem IMS |
US11606535B2 (en) * | 2021-05-28 | 2023-03-14 | Synergy Sky | Gatewaying of conference calls to browser-based conferences |
-
2020
- 2020-06-23 CN CN202010584051.9A patent/CN113839910A/zh active Pending
-
2021
- 2021-06-17 WO PCT/CN2021/100550 patent/WO2021259124A1/zh active Application Filing
- 2021-06-17 US US17/778,198 patent/US20220417294A1/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104717234A (zh) * | 2013-12-11 | 2015-06-17 | 中兴通讯股份有限公司 | 一种政企网通信装置及通信方法 |
US20200153876A1 (en) * | 2014-06-10 | 2020-05-14 | Orange | Method for setting up a webrtc session |
US20180255182A1 (en) * | 2016-07-15 | 2018-09-06 | E-MetroTel Global Inc. | Web Real-Time Client Communication Over a Stimulus Based Network |
CN110830777A (zh) * | 2019-11-29 | 2020-02-21 | 公安部第一研究所 | 基于WebRTC协议的跨浏览器预览GB/T28181标准监控视频的方法 |
Also Published As
Publication number | Publication date |
---|---|
CN113839910A (zh) | 2021-12-24 |
US20220417294A1 (en) | 2022-12-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9356976B2 (en) | Real-time communications methods providing pause and resume and related devices | |
US9294111B2 (en) | Remote media IMS sessions | |
US10893080B2 (en) | Relaying multimedia conferencing utilizing software defined networking architecture | |
EP2863632B1 (en) | System and method for real-time adaptation of a conferencing system to current conditions of a conference session | |
US20080165245A1 (en) | Integration of audio conference bridge with video multipoint control unit | |
JP2005513870A (ja) | テレビ会議コール設定 | |
CN103348657B (zh) | 流媒体播放方法、设备及系统 | |
WO2010045834A1 (zh) | 视频监控系统实现媒体穿越网络地址翻译的方法和系统 | |
CN110475094B (zh) | 视频会议处理方法、装置及可读存储介质 | |
WO2013097457A1 (zh) | 云计算环境中实现voip通话的方法、装置和系统 | |
WO2012174927A1 (zh) | 一种视频监控系统及媒体穿越网络地址转换设备的方法 | |
CN105657368A (zh) | 一种ipc摄像头快速接入ip多媒体系统ims的方法 | |
WO2011022994A1 (zh) | 组播实时传输协议会话快速接入的方法、装置及系统 | |
CN115334273A (zh) | 一种协议转换音视频通信方法及系统 | |
WO2020098712A1 (zh) | 数据传输通道的建立方法及设备、存储介质、系统 | |
CN111107445B (zh) | 一种媒体协议流优化方法及系统 | |
CN101188601B (zh) | 一种多媒体数据快速发送和接收的方法 | |
WO2021259124A1 (zh) | 视频会议的实现方法、终端和sip网关 | |
CN110719435B (zh) | 一种进行终端会议的方法和系统 | |
KR101508575B1 (ko) | 화상통신 장치 및 방법 | |
JP2001320437A (ja) | データ受信装置及び方法、データ送信装置及び方法 | |
KR101528268B1 (ko) | 콘텐츠를 원격 위치들에 스트리밍하기 위한 시스템과 방법 | |
WO2012009909A1 (zh) | 会话启动协议sip终端参加多媒体会议的方法及系统 | |
WO2012062104A1 (zh) | 多页彩信的传输系统和方法、会话初始化协议终端以及彩信代理服务器 | |
WO2011022983A1 (zh) | 组播视频数据的方法、装置及系统 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 21827887 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 21827887 Country of ref document: EP Kind code of ref document: A1 |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 05/07/2023) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 21827887 Country of ref document: EP Kind code of ref document: A1 |