A method, device, and equipment for a small program to join a meeting based on the TRTC protocol
By adding applets and virtual users to a single TRTC protocol room to transmit and process conference data, the problem of cumbersome and high cost of joining applets is solved, and efficient audio and video data transmission and optimized user experience is achieved.
Patent Information
- Application Number
- CN202210205271.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-02
- Publication Date
- 2025-06-24
- Estimated Expiration
- 2042-03-02
AI Technical Summary
In the prior art, when mini programs join video conferencing, they need to mix screens and encode images into the TRTC room separately, resulting in high computing and bandwidth costs and cumbersome joining the meeting process.
By adding the first video applet, the second video applet and N virtual users to a single TRTC protocol room, the conference data is transmitted and processed by the virtual user and forwarded to the video conference system, the audio and video data interoperability between the applet and the video conference system is realized.
It reduces the computing and bandwidth cost of video conferencing systems, improves the efficiency of audio and video transmission, and optimizes the user experience.
Smart Images

Figure CN114650387B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of instant messaging, and in particular, to a method, device, and equipment for a small program to join a meeting based on the TRTC protocol. Background Art
[0002] With the continuous development of information technology, the development of instant messaging technology is getting faster and faster. Video conferencing can well solve the problem of how to hold a meeting when working from home. Tencent Real-Time Audio-Video (TRTC) is a real-time audio-video communication product provided by Tencent. Since mini programs on WeChat can access TRTC and the number of WeChat users is large, combining the video conferencing system with TRTC can enable mini programs to join video conferences, thus improving the convenience of holding meetings. For this type of video conferencing system, usually each mini program joins different TRTC rooms when joining the meeting, and then the video conferencing system pulls the media of the mini programs from each TRTC room and mixes and encodes the pictures into each TRTC room respectively, so that the meeting pictures can be seen on the mini programs.
[0003] The inventor of the present invention found in the process of implementing the present invention that the following technical problems exist in the prior art: When each mini program joins the video conferencing system for a video conference, it is usually necessary to mix and encode the pictures into the TRTC room respectively. In order to optimize the user experience, each video mini program needs a different encoder for encoding, so as to ensure that the video mini program itself does not appear during the use process. However, since each video mini program needs to enter different TRTC rooms, when the number of video mini programs is large, this method will cause problems such as high computing and bandwidth costs.
[0004] Therefore, there is an urgent need for a mini program meeting joining strategy to solve the problem that the existing mini programs are too cumbersome to join a meeting. Summary of the Invention
[0005] An embodiment of the present invention provides a method, device, and equipment for a small program to join a meeting based on the TRTC protocol to solve the problem of excessive computing amount for a small program to join a meeting.
[0006] To solve the above problems, an embodiment of the present invention provides a method for a small program to join a meeting based on the TRTC protocol, including:
[0007] Obtain the first conference data sent by the first video applet, respectively transmit the first conference data to each second video applet, and receive the second conference data sent by each second video applet, so as to transmit each second conference data to the first video applet; wherein, the first video applet, each second video applet, and at least N virtual users are all joined to the same TRTC protocol room; the N virtual users are created by the video conferencing system and are used to obtain the third conference data uploaded by the video conferencing system; N is a positive integer;
[0008] Transmit the first conference data and each second conference data to the N virtual users, so that the N virtual users process the first conference data and each second conference data and then forward them to the video conferencing system;
[0009] Obtain the fourth conference data sent by the N virtual users, and transmit the fourth conference data to the first video applet for the first video applet to hold a remote conference according to the received conference data; wherein, the fourth conference data is obtained by the virtual users encoding the third conference data.
[0010] As an improvement of the above solution, it further includes: transmitting the fourth conference data to each second video applet for each second video applet to hold a remote conference according to the received conference data.
[0011] As an improvement of the above solution, before obtaining the first conference data sent by the first video applet, it further includes: setting the number of pictures to be displayed by each video applet to N.
[0012] As an improvement of the above solution, the first conference data is obtained after the first video applet collects and encodes the audio and video data of the user, and the second conference data is obtained after the second video applet collects and encodes the audio and video data of the user.
[0013] As an improvement of the above solution, the step of transmitting the first conference data and each second conference data to the N virtual users, so that the N virtual users process the first conference data and each second conference data and then forward them to the video conferencing system is specifically: transmitting the first conference data and each second conference data to any one of the N virtual users, and decoding and forwarding the first conference data and each second conference data to the video conferencing system through the one virtual user, so that the video conferencing system obtains the audio and video data collected by the first video applet and the audio and video data collected by each second applet.
[0014] As an improvement to the above solution, the third conference data is obtained by switching different input sources through the video conferencing system; the different input sources are obtained after the video conferencing system collects the audio and video data of multiple users.
[0015] As an improvement to the above solution, obtaining the fourth conference data received by the N virtual users and transmitting the fourth conference data to the first video applet specifically includes: after obtaining the fourth conference data sent by each virtual user and the second conference data sent by each second video applet, transmitting them to the first video applet for decoding, so that the first video applet can receive the audio and video data collected by the video conferencing system.
[0016] Correspondingly, the present invention also provides a small program joining device based on the TRTC protocol, including: a first transmission module, a second transmission module, and a third transmission module;
[0017] The first transmission module is used to obtain the first conference data sent by the first video applet, transmit the first conference data to each second video applet respectively, and receive the second conference data sent by each of the second video applets, so as to transmit each of the second conference data to the first video applet; wherein, the first video applet, each of the second video applets, and at least N virtual users are all joined to the same TRTC protocol room; the N virtual users are created by the video conferencing system and are used to obtain the third conference data uploaded by the video conferencing system; N is a positive integer;
[0018] The second transmission module is used to transmit the first conference data and each of the second conference data to the N virtual users, so that the N virtual users forward the first conference data and each of the second conference data to the video conferencing system;
[0019] The third transmission module is used to obtain the fourth conference data sent by the N virtual users and transmit the fourth conference data to the first video applet for the first video applet to conduct a remote conference based on the received conference data; wherein, the fourth conference data is obtained by the virtual users encoding the third conference data.
[0020] As an improvement to the above solution, it further includes: transmitting the fourth conference data to each of the second video applets for each of the second video applets to conduct a remote conference based on the received conference data.
[0021] As an improvement to the above solution, before obtaining the first conference data sent by the first video applet, it further includes: setting the number of screens to be displayed by each video applet to N.
[0022] As an improvement to the above solution, the first conference data is obtained by the first video applet after collecting and encoding the audio and video data of the user, and the second conference data is obtained by the second video applet after collecting and encoding the audio and video data of the user.
[0023] As an improvement to the above solution, the second transmission module is specifically configured to: transmit the first conference data and each of the second conference data to any one of the N virtual users, and decode and forward the first conference data and each of the second conference data through the one virtual user to the video conferencing system, so that the video conferencing system can obtain the audio and video data collected by the first video applet and the audio and video data collected by each of the second applets.
[0024] As an improvement to the above solution, the third conference data is obtained by the video conferencing system switching different input sources; the different input sources are obtained after the video conferencing system collects the audio and video data of multiple users.
[0025] As an improvement to the above solution, the third transmission module is specifically configured to: after obtaining the fourth conference data sent by each virtual user and the second conference data sent by each second video applet, transmit them to the first video applet for decoding, so that the first video applet can receive the audio and video data collected by the video conferencing system.
[0026] Correspondingly, the present invention also provides a computer terminal device, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor. When the processor executes the computer program, it implements a method for a small program to join a conference based on the TRTC protocol as described in the present invention.
[0027] Correspondingly, the present invention also provides a computer-readable storage medium. The computer-readable storage medium includes a stored computer program. When the computer program runs, it controls the device where the computer-readable storage medium is located to execute a method for a small program to join a conference based on the TRTC protocol as described in the present invention.
[0028] As can be seen from the above, the present invention has the following beneficial effects:
[0029] The present invention provides a method, apparatus, and device for a mini-program to join a meeting based on the TRTC protocol. A connection between the mini-program and the video conferencing system is established through a TRTC room. The video conferencing system and the mini-program users in the same meeting are added to the same TRTC room through preset virtual users. The mini-program users transmit the audio and video data collected by themselves to the TRTC room and receive the audio and video data collected by other mini-program users, realizing the intercommunication of audio and video data among the mini-program users. The virtual users transmit the audio and video data collected by the video conferencing system to the TRTC room, so that all mini-program users can receive the audio and video data of the video conferencing system, and receive the audio and video data collected by all mini-program users, so that the video conferencing system can receive the audio and video data of the mini-program through the virtual users. The present invention separates the data transmission of mini-program users and non-mini-program users through a single TRTC room. In the case of multiple mini-program users participating in the meeting, compared with the prior art that uses multiple TRTC rooms for audio and video data transmission, the calculation cost of the video conferencing system for encoding is greatly reduced, and the efficiency of audio and video transmission is improved.
[0030] Further, the present invention sets a fixed number of virtual users, and the video conferencing system switches different audio and video sources and transmits them to the virtual users, so that the virtual users can completely transmit the audio and video data collected by the video conferencing system to the mini-program users, thereby realizing the effect of a multi-person meeting through a limited number of video screens. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Figure 1 is a schematic flowchart of a method for a mini-program to join a meeting based on the TRTC protocol provided by an embodiment of the present invention;
[0032] Figure 2 is a schematic structural diagram of a device for a mini-program to join a meeting based on the TRTC protocol provided by an embodiment of the present invention;
[0033] Figure 3 is a schematic diagram of data transmission of a method for a mini-program to join a meeting based on the TRTC protocol provided by an embodiment of the present invention;
[0034] Figure 4 is a schematic structural diagram of a terminal device provided by an embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0035] The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art without creative efforts based on the embodiments of the present invention belong to the scope of protection of the present invention.
[0036] Example 1
[0037] In this embodiment, through the application of the TRTC protocol room, data interaction is carried out between the audio - video data of the mini - program and the audio - video data of non - mini - programs.
[0038] See Figure 1 , Figure 1 which is a schematic flowchart of a method for a mini - program to join a meeting based on the TRTC protocol provided by an embodiment of the present invention. As shown in Figure 1 , this embodiment includes steps 101 to 103, and the specific steps are as follows:
[0039] Step 101: Obtain the first meeting data sent by the first video mini - program, transmit the first meeting data to each second video mini - program respectively, and receive the second meeting data sent by each second video mini - program, so as to transmit each second meeting data to the first video mini - program; wherein, the first video mini - program, each second video mini - program, and at least N virtual users all join the same TRTC protocol room; the N virtual users are created by the video conferencing system and are used to obtain the third meeting data uploaded by the video conferencing system; N is a positive integer.
[0040] Step 102: Transmit the first meeting data and each second meeting data to the N virtual users, so that the N virtual users process the first meeting data and each second meeting data and then forward them to the video conferencing system.
[0041] Step 103: Obtain the fourth meeting data sent by the N virtual users, and transmit the fourth meeting data to the first video mini - program for the first video mini - program to hold a remote meeting according to the received meeting data; wherein, the fourth meeting data is obtained by the virtual users encoding the third meeting data.
[0042] As an improvement of the above - mentioned solution, it further includes: transmitting the fourth meeting data to each second video mini - program for each second video mini - program to hold a remote meeting according to the received meeting data.
[0043] As an improvement of the above - mentioned solution, before obtaining the first meeting data sent by the first video mini - program, it further includes: setting the number of displayed pictures of each video mini - program to N.
[0044] As an improvement of the above - mentioned solution, the first meeting data is obtained after the first video mini - program collects and encodes the audio - video data of the user, and the second meeting data is obtained after the second video mini - program collects and encodes the audio - video data of the user.
[0045] As an improvement to the above solution, the step of transmitting the first conference data and each second conference data to the N virtual users so that the N virtual users process the first conference data and each second conference data and then forward them to the video conferencing system is specifically as follows: Transmit the first conference data and each second conference data to any one of the N virtual users, and decode and forward the first conference data and each second conference data to the video conferencing system through the one virtual user, so that the video conferencing system can obtain the audio and video data collected by the first video applet and the audio and video data collected by each second applet.
[0046] As an improvement to the above solution, the third conference data is obtained by the video conferencing system switching different input sources; the different input sources are obtained after the video conferencing system collects the audio and video data of multiple users. Specifically, when switching the input source during a video conference, the voice signal of a non-applet user can be recognized, and when the preset decibel value is reached, the input is switched to the speaker for video display.
[0047] As an improvement to the above solution, the step of obtaining the fourth conference data received by the N virtual users and transmitting the fourth conference data to the first video applet is specifically as follows: After obtaining the fourth conference data sent by each virtual user and the second conference data sent by each second video applet, transmit them to the first video applet for decoding, so that the first video applet can receive the audio and video data collected by the video conferencing system.
[0048] As an improvement to the above solution, when only one video applet joins the video conference, it includes: obtaining the fifth data sent by the third video applet, transmitting the fifth data to the N virtual users, and transmitting the fifth data to the video conferencing system through the selected virtual user; wherein, the third video applet and the N virtual users all join the same TRTC protocol room; the N virtual users are created by the video conferencing system and are used to obtain the sixth conference data uploaded by the video conferencing system; N is a positive integer;
[0049] Obtain the seventh data sent by the virtual user and transmit the seventh data to the third video applet; wherein, the seventh conference data is obtained by the virtual user encoding the sixth conference data.
[0050] To better explain this embodiment, the following example is provided for illustration.
[0051] See Figure 3 For example, as Figure 3As shown in the figure, the video conferencing system sets up 3 TRTC instances as virtual users for the video conferencing system to join the TRTC ROOM. After the virtual users obtain the audio and video data in the video conferencing system and perform mixed screen encoding, they are transmitted to the TRTC ROOM and received by Mini Program 1 and Mini Program 2 that are also in the TRTC ROOM, enabling the mini program users to see and hear the video and audio collected by the video conferencing system. Mini Program 1 and Mini Program 2 in the TRTC ROOM send the audio and video they collect to the TRTC ROOM and send them to a virtual user (i.e., the TRTC instance), and the virtual user transmits them to the video conferencing system, enabling the users of the video conferencing system to see and hear the video and audio collected by the mini programs. The video conferencing system processes the audio and video data collected by the video conferencing system through mixed screen encoding by adding 3 virtual users, and realizes the effect of switching the screen by switching the input source.
[0052] In this embodiment, the method adds virtual users through the video conferencing system to join a single TRTC protocol room, thereby transmitting the audio and video data of non-mini program users to the TRTC protocol room and transmitting it to the mini programs. At the same time, the virtual users in the TRTC protocol room receive the audio and video data of the video mini programs; while the video mini programs directly join the TRTC protocol room to transmit the audio and video data between the video mini programs. By separately considering the data transmission of mini program users and non-mini program users, it is ensured that mini program users will not see or hear themselves, optimizing the user experience. During the transmission process, compared with the prior art of adding multiple TRTC protocol rooms for data transmission, the video conferencing system only needs to add three virtual user encoded images in a single TRTC room, and switches the different user images by switching the input source, so that the data is not reused, not only reducing the calculation and bandwidth costs, but also improving the smoothness of the system operation.
[0053] Embodiment 2
[0054] See Figure 2 , Figure 2 is a schematic structural diagram of a mini program entry device based on the TRTC protocol provided by an embodiment of the present invention, including: a first transmission module 201, a second transmission module 202, and a third transmission module 203;
[0055] The first transmission module 201 is configured to obtain first conference data sent by a first video mini-program, transmit the first conference data to each second video mini-program respectively, and receive second conference data sent by each of the second video mini-programs, so as to transmit each of the second conference data to the first video mini-program; wherein, the first video mini-program, each of the second video mini-programs, and at least N virtual users all join the same TRTC protocol room; the N virtual users are created by the video conference system and are used to obtain third conference data uploaded by the video conference system; N is a positive integer;
[0056] The second transmission module 202 is configured to transmit the first conference data and each of the second conference data to the N virtual users, so that the N virtual users forward the first conference data and each of the second conference data to the video conference system;
[0057] The third transmission module 203 is configured to obtain fourth conference data sent by the N virtual users and transmit the fourth conference data to the first video mini-program for the first video mini-program to hold a remote conference based on the received conference data; wherein, the fourth conference data is obtained by encoding the third conference data by the virtual users.
[0058] As an improvement to the above solution, it further includes: transmitting the fourth conference data to each of the second video mini-programs for each of the second video mini-programs to hold a remote conference based on the received conference data.
[0059] As an improvement to the above solution, before obtaining the first conference data sent by the first video mini-program, it further includes: setting the number of pictures to be displayed by each video mini-program to N.
[0060] As an improvement to the above solution, the first conference data is obtained by the first video mini-program collecting and encoding the audio and video data of the user, and the second conference data is obtained by the second video mini-program collecting and encoding the audio and video data of the user.
[0061] As an improvement to the above solution, the second transmission module 202 is specifically: transmitting the first conference data and each of the second conference data to any one of the N virtual users, and decoding and forwarding the first conference data and each of the second conference data to the video conference system by the one virtual user, so that the video conference system obtains the audio and video data collected by the first video mini-program and the audio and video data collected by each of the second mini-programs.
[0062] As an improvement of the above solution, the third conference data is obtained by switching different input sources through the video conferencing system; the different input sources are obtained after the video conferencing system collects the audio and video data of multiple users.
[0063] As an improvement of the above solution, the third transmission module 203 is specifically configured to: after obtaining the fourth conference data sent by each virtual user and the second conference data sent by each second video applet, transmit them to the first video applet for decoding, so that the first video applet can receive the audio and video data collected by the video conferencing system.
[0064] This embodiment uses the TRTC protocol room control transmission. Through the first transmission module, data can be sent from one applet to another applet. Through the second transmission module, data can be sent from an applet to the video conferencing system. Through the third transmission module, an applet can receive data sent by other applets and the video conferencing system. By separately processing the audio and video data of applets and non-applets, the computing cost and bandwidth cost during the audio and video data transmission process are greatly reduced.
[0065] Embodiment 3
[0066] See Figure 4 , Figure 4 is a schematic structural diagram of a terminal device provided by an embodiment of the present invention.
[0067] A terminal device in this embodiment includes: a processor 401, a memory 402, and a computer program stored in the memory 402 and executable on the processor 401. When the processor 401 executes the computer program, it implements the steps in the above-mentioned various applet joining methods based on the TRTC protocol in the embodiment, such as Figure 1 all the steps of the applet joining method based on the TRTC protocol shown. Or, when the processor executes the computer program, it implements the functions of each module in the above-mentioned device embodiments, such as: Figure 2 all the modules of the applet joining device based on the TRTC protocol shown.
[0068] In addition, an embodiment of the present invention also provides a computer-readable storage medium, which includes a stored computer program. When the computer program runs, it controls the device where the computer-readable storage medium is located to execute the applet joining method based on the TRTC protocol as described in any one of the above embodiments.
[0069] Those skilled in the art can understand that the schematic diagram is only an example of the terminal device, which does not constitute a limitation on the terminal device. It may include more or fewer components than those shown in the figure, or combine some components, or different components. For example, the terminal device may also include input / output devices, network access devices, buses, etc.
[0070] The so-called processor 401 may be a central processing unit (CPU), or may also be other general-purpose processors, digital signal processors (DSPs), application specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. The processor 401 is the control center of the terminal device, and connects various parts of the entire terminal device through various interfaces and lines.
[0071] The memory 402 can be used to store the computer programs and / or modules. The processor 401 realizes various functions of the terminal device by running or executing the computer programs and / or modules stored in the memory, and by calling the data stored in the memory 402. The memory 402 may mainly include a program storage area and a data storage area. Among them, the program storage area may store an operating system, application programs required for at least one function (such as a sound playback function, an image playback function, etc.); the data storage area may store data created according to the use of the mobile phone (such as audio data, phone book, etc.). In addition, the memory may include high-speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0072] Among them, if the modules / units integrated in the terminal device are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on such an understanding, to implement all or part of the processes in the above-described embodiment methods of the present invention, it can also be completed by instructing relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by a processor, the steps of the above various method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in the form of source code, object code, executable file, or some intermediate form, etc. The computer-readable medium can include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disc, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signal, telecommunication signal, and software distribution medium, etc.
[0073] It should be noted that the device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separated. The components shown as units may or may not be physical units, that is, they may be located in one place or distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. In addition, in the attached drawings of the device embodiments provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between them, which can be specifically implemented as one or more communication buses or signal lines. Those of ordinary skill in the art can understand and implement it without creative efforts.
[0074] The above is the preferred embodiment of the present invention. It should be pointed out that for those of ordinary skill in the art, without departing from the principle of the present invention, several improvements and refinements can be made, and these improvements and refinements are also regarded as the protection scope of the present invention.
Claims
1. A method for a small program to join a meeting based on the TRTC protocol, characterized in that, Including: Obtain the first conference data sent by the first video applet, transmit the first conference data to each second video applet respectively, and receive the second conference data sent by each second video applet, so as to transmit each second conference data to the first video applet; wherein, the first video applet, each second video applet and at least N virtual users are all joined to the same TRTC protocol room; the first video applet sends the first conference data to the TRTC protocol room, and each second video applet sends each second conference data to the TRTC protocol room; the N virtual users are created by the video conferencing system and are used to obtain the third conference data uploaded by the video conferencing system; the third conference data is: the audio and video data of non-applet users collected by the video conferencing system; N is a positive integer; Transmit the first conference data and each second conference data to the N virtual users, so that the N virtual users process the first conference data and each second conference data and then forward them to the video conferencing system; Obtain the fourth conference data sent by the N virtual users, and transmit the fourth conference data to the first video applet through the TRTC protocol room, for the first video applet to conduct a remote conference according to the received conference data; wherein, the fourth conference data is encoded by the virtual users from the third conference data.
2. The method for a mini-program to join a meeting based on the TRTC protocol according to claim 1, wherein Further including: Transmit the fourth conference data to each second video applet, for each second video applet to conduct a remote conference according to the received conference data.
3. The method for a mini program to join a meeting based on the TRTC protocol according to claim 2, wherein Before obtaining the first conference data sent by the first video applet, it further includes: setting the number of displayed screens of each video applet to N.
4. The method for a mini program to join a meeting based on the TRTC protocol according to claim 3, wherein The first conference data is obtained after the first video applet collects and encodes the audio and video data of the user, and the second conference data is obtained after the second video applet collects and encodes the audio and video data of the user.
5. The method for a mini program to join a meeting based on the TRTC protocol according to claim 3, wherein The transmitting the first conference data and each second conference data to the N virtual users, so that the N virtual users process the first conference data and each second conference data and then forward them to the video conferencing system is specifically: Transmit the first conference data and each second conference data to any one of the N virtual users, and decode and forward the first conference data and each second conference data to the video conferencing system through the one virtual user, so that the video conferencing system obtains the audio and video data collected by the first video applet and the audio and video data collected by each second video applet.
6. The method for a mini-program to join a meeting based on the TRTC protocol according to claim 3, wherein The third conference data is obtained by the video conferencing system switching different input sources; the different input sources are obtained after the video conferencing system collects the audio and video data of multiple users.
7. The method for a mini-program to join a meeting based on the TRTC protocol according to claim 3, wherein The obtaining the fourth conference data received by the N virtual users and transmitting the fourth conference data to the first video applet is specifically: After obtaining the fourth conference data sent by each virtual user and the second conference data sent by each second video applet, it is transmitted to the first video applet for decoding, so that the first video applet can receive the audio-visual data collected by the video conferencing system.
8. A mini-program membership joining device based on the TRTC protocol, characterized in that, It includes: A first transmission module, a second transmission module, and a third transmission module; The first transmission module is used to obtain the first conference data sent by the first video applet, transmit the first conference data to each second video applet respectively, and receive the second conference data sent by each of the second video applets, so as to transmit each of the second conference data to the first video applet; wherein, the first video applet, each of the second video applets, and at least N virtual users are all joined to the same TRTC protocol room; the first video applet sends the first conference data to the TRTC protocol room, and each of the second video applets sends each second conference data to the TRTC protocol room; the N virtual users are created by the video conferencing system and are used to obtain the third conference data uploaded by the video conferencing system; the third conference data is: the audio-visual data of non-applet users collected by the video conferencing system; N is a positive integer; The second transmission module is used to transmit the first conference data and each of the second conference data to the N virtual users, so that the N virtual users forward the first conference data and each of the second conference data to the video conferencing system; The third transmission module is used to obtain the fourth conference data sent by the N virtual users, and transmit the fourth conference data to the first video applet through the TRTC protocol room, for the first video applet to conduct a remote conference based on the received conference data; wherein, the fourth conference data is encoded by the virtual user from the third conference data.
9. A computer terminal device, characterized in that, It includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor. When the processor executes the computer program, it implements a method for a small program to join a meeting based on the TRTC protocol as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored computer program, wherein when the computer program runs, it controls the device where the computer-readable storage medium is located to execute a method for a small program to join a meeting based on the TRTC protocol as described in any one of claims 1 to 7.
Citation Information
Patent Citations
Method for quickly joining conference through applet card
CN110601863A
Television audio and video call system and method based on TRTC protocol
CN111669661A
Video conference live broadcast system and method
CN112995573A