WO2023197897A1 - 直播音视频流的处理方法、装置、设备及介质 - Google Patents
直播音视频流的处理方法、装置、设备及介质 Download PDFInfo
- Publication number
- WO2023197897A1 WO2023197897A1 PCT/CN2023/085866 CN2023085866W WO2023197897A1 WO 2023197897 A1 WO2023197897 A1 WO 2023197897A1 CN 2023085866 W CN2023085866 W CN 2023085866W WO 2023197897 A1 WO2023197897 A1 WO 2023197897A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- audio
- live
- client
- video stream
- video
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
- H04N21/44016—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving splicing one content stream with another content stream, e.g. for substituting a video clip
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/236—Assembling of a multiplex stream, e.g. transport stream, by combining a video stream with other content or additional data, e.g. inserting a URL [Uniform Resource Locator] into a video stream, multiplexing software data into a video stream; Remultiplexing of multiplex streams; Insertion of stuffing bits into the multiplex stream, e.g. to obtain a constant bit-rate; Assembling of a packetised elementary stream
- H04N21/2368—Multiplexing of audio and video streams
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/21—Server components or server architectures
- H04N21/218—Source of audio or video content, e.g. local disk arrays
- H04N21/2187—Live feed
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/478—Supplemental services, e.g. displaying phone caller identification, shopping application
- H04N21/4788—Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting
Definitions
- the present disclosure relates to the technical field of video processing, and in particular to a processing method, device, equipment and medium for live audio and video streams.
- live broadcast has gradually emerged.
- one client of the live broadcast can serve as the inviter to invite another live broadcast client for a live broadcast connection.
- the other live broadcast client allows the live broadcast connection, audio and video calls between the two live broadcast rooms can be realized, thus realizing A live interactive effect.
- the present disclosure provides a processing method, device, equipment and medium for live audio and video streams.
- Embodiments of the present disclosure provide a method for processing live audio and video streams.
- the method is applied to a first client and includes the following steps: in response to a live broadcast connection operation with a second client, sending a live broadcast directed to the second client. connection request; receiving the second live audio and video stream corresponding to the second client; in response to the received live broadcast connection pass message corresponding to the second client, playing the combined audio and video stream, wherein the combined audio and video stream is
- the video stream is obtained by converging the second live audio and video stream corresponding to the second client and the first live audio and video stream corresponding to the first client, wherein the live connection connection message is for the Pass message of the live broadcast connection request.
- Embodiments of the present disclosure provide a method for processing live audio and video streams.
- the method is applied to a second client and includes the following steps: in response to a received live broadcast connection request from the first client, obtaining the first client The corresponding first live audio and video stream; in response to the live connection confirmation operation, feedback the live connection pass message, and play the combined audio and video stream, wherein the combined audio and video stream is based on the first direct message corresponding to the first client.
- the broadcast video stream and the second live audio and video stream corresponding to the second client are merged together, wherein the live broadcast connection confirmation operation is a confirmation connection operation for the live broadcast connection request, and the live broadcast connection passes a message for the live broadcast connection request via message.
- Embodiments of the present disclosure also provide a device for processing live audio and video streams.
- the device is used on a first client and includes: a sending module, configured to send a message to the third client in response to a live broadcast connection operation with the second client.
- the live broadcast connection request of the two clients; the first receiving module is used to receive the second live audio and video stream corresponding to the second client; the first combined stream playback module is used to respond to the received second live audio and video stream of the second client.
- the corresponding live broadcast connection plays a combined audio and video stream through a message, wherein the combined audio and video stream is based on the second live audio and video stream corresponding to the second client and the first live audio and video stream corresponding to the first client.
- the video streams are obtained by converging processing, wherein the live broadcast connection pass message is a pass message for the live broadcast connection request.
- Embodiments of the present disclosure also provide a device for processing live audio and video streams.
- the device is used on a second client and includes: a second receiving module configured to obtain, in response to a received live broadcast connection request from the first client.
- the feedback module is used to respond to the live broadcast connection confirmation operation and feedback the live broadcast connection pass message;
- the second merge playback module is used to respond to the live broadcast connection confirmation operation and play the merged stream Audio and video streams, wherein the combined audio and video stream is obtained by converging the first live audio and video stream corresponding to the first client and the second live audio and video stream corresponding to the second client, wherein , the live broadcast connection confirmation operation is a confirmation connection operation for the live broadcast connection request, and the live broadcast connection pass message is a pass message for the live broadcast connection request.
- An embodiment of the present disclosure also provides an electronic device.
- the electronic device includes: a processor; a memory used to store instructions executable by the processor; and the processor is used to read the instruction from the memory.
- the instructions can be executed, and the instructions are executed to implement the processing method for live audio and video streams as provided in the embodiments of the present disclosure.
- Embodiments of the present disclosure also provide a computer-readable storage medium, the storage medium stores a computer program, and the computer program is used to execute the method for processing live audio and video streams as provided by the embodiments of the present disclosure.
- An embodiment of the present disclosure also provides a computer program, including: instructions, which when executed by a processor cause the processor to execute the method for processing live audio and video streams provided by the embodiment of the present disclosure.
- Figure 1 is a schematic diagram of the processing process of a live audio and video stream according to related technologies
- Figure 2 is a schematic diagram of the processing process of live audio and video streams according to one embodiment of the present disclosure
- Figure 3 is a schematic flowchart of a method for processing live audio and video streams provided by an embodiment of the present disclosure
- Figure 4 is a schematic flowchart of another method for processing live audio and video streams provided by an embodiment of the present disclosure
- Figure 5 is a schematic diagram of a processing scenario for live audio and video streams according to an embodiment of the present disclosure
- Figure 6 is a schematic diagram of a processing scenario for live audio and video streams according to another embodiment of the present disclosure.
- Figure 7 is a schematic diagram of a processing scenario for live audio and video streams according to another embodiment of the present disclosure.
- Figure 8 is a schematic flowchart of another method for processing live audio and video streams provided by an embodiment of the present disclosure.
- Figure 9 is a schematic flowchart of another method for processing live audio and video streams provided by an embodiment of the present disclosure.
- Figure 10 is a schematic diagram of a processing scenario for live audio and video streams according to another embodiment of the present disclosure.
- Figure 11 is a schematic diagram of the processing process of live audio and video streams according to another embodiment of the present disclosure.
- Figure 12 is a schematic structural diagram of a processing device for live audio and video streams provided by an embodiment of the present disclosure
- Figure 13 is a schematic structural diagram of another device for processing live audio and video streams provided by an embodiment of the present disclosure.
- FIG. 14 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure.
- the term “include” and its variations are open-ended, ie, “including but not limited to.”
- the term “based on” means “based at least in part on.”
- the term “one embodiment” means “at least one embodiment”; the term “another embodiment” means “at least one additional embodiment”; and the term “some embodiments” means “at least some embodiments”. Relevant definitions of other terms will be given in the description below.
- client A on one side of the live broadcast sends a live broadcast connection request to client B on the other side of the live broadcast.
- B receives the request, if it performs the permission operation, it sends a message allowing the live broadcast connection to A, and A receives the After receiving the message that the live broadcast connection is allowed, A and B join the live broadcast communication channel. Based on the communication channel, A and B both push their own audio and video streams to the remote end, so as to facilitate the combined playback process based on the audio and video streams.
- the above refers to the live broadcast connection operation.
- the invited party B After the invited party B performs the allow operation of the live broadcast connection, it has to go through a series of processes before it can see the screen of the inviting party A and hear the voice of the inviting party A.
- the same inviting party A also needs to receive the invitation. It will take a long time after the inviter B's live broadcast connection permission message to see B's screen. As a result, there is a waiting delay in the live broadcast connection.
- the present disclosure provides a processing method, device, equipment and medium for live audio and video streams to solve the problem of low picture rendering efficiency during live connection in related technologies.
- the first client responds to the live broadcast connection operation with the second client, sends a live broadcast connection request for the second client, and then receives the second live broadcast connection request corresponding to the second client.
- the second live audio and video stream is to start pulling the second live audio and video stream of the second client in advance, and in response to the received live broadcast connection message corresponding to the second client, the combined audio and video stream is played, wherein the combined audio and video stream is
- the video stream is generated based on the confluence of the second live audio and video stream corresponding to the second client and the first live audio and video stream corresponding to the first client, and the live broadcast connection pass message is a pass message for the live broadcast connection request. This improves the screen rendering efficiency during live broadcast connections and avoids rendering waiting delays.
- embodiments of the present disclosure provide a method for processing live audio and video streams.
- this method as shown in Figure 2, the other party's live audio and video streams are pulled and one's own live audio is pushed.
- Operations such as video streaming, Directly after A performs the live broadcast connection operation, all that needs to be done after receiving B's live broadcast connection pass message is to render the screen and trigger the merge. The time the user needs to wait is immediately shortened significantly. What needs to be done after performing the live broadcast connection confirmation operation The only thing that is done is rendering on the screen and triggering the merge playback process, and the time the user needs to wait is immediately shortened significantly.
- the first client can be understood as the client of the inviting party of the live broadcast connection.
- the first client side includes but is not limited to client devices, servers, etc.
- the second client can be understood as the client of the invited party for live broadcast connection.
- the second client side includes but is not limited to client devices, servers, etc.
- Figure 3 is a schematic flowchart of a method for processing live audio and video streams provided by an embodiment of the present disclosure.
- the method can be executed by a first client that is set up with a device for processing live audio and video streams.
- the device can use software and/or Hardware implementation can generally be integrated in the electronic device where the first client is located.
- the method includes:
- Step 301 In response to the live broadcast connection operation with the second client, send a live broadcast connection request to the second client.
- the live broadcast connection operation is usually a continuous wheather operation in a live broadcast scenario, that is, through the live broadcast connection operation, the first client and the second client can realize continuous wheather during the live broadcast.
- the first client can be the invitation end, that is, the connection is sent.
- the anchor end of the Mai invitation the second client can be the invited end, that is, the anchor end that receives the Mai invitation, and the live broadcast connection operation with the second client, that is, the live broadcast connection operation between the first client and the second client, can be through It can be triggered by the live broadcast connection control on the first client, or by performing a voice operation, or by performing a gesture operation, etc., which are not limited here.
- a live broadcast connection request is sent to the second client.
- a live broadcast connection request carrying the second client can be sent to the service server of the live broadcast connection.
- the live broadcast connection request identified by the client is sent by the business server to the second client.
- Step 302 Receive the second live audio and video stream corresponding to the second client.
- the real-time reception operation of the second live audio and video stream of the second client is directly started.
- a second live audio and video stream corresponding to the second client is received.
- the first client subscribes to the second live audio and video stream of the second client.
- the first server is a real time communication server (Real Time Communication, RTC)
- the second client can subscribe to the real time communication server.
- the server pushes the second live audio and video stream in real time, so that the first client can send a message to the preset real-time communication server.
- Send an acquisition request for the second live audio and video stream where the acquisition request includes the client identifier of the second client, and further obtains the second live audio and video stream of the second client fed back by the real-time communication server, thus ensuring that The second live audio and video stream is pulled in time, further improving the live broadcast connection efficiency.
- the acquisition granularity of the first client is to obtain the second live audio and video frame by frame.
- the second live audio and video frame of the stream in order to reduce the memory pressure of the first client, the first client only saves the latest second live audio and video frame currently obtained. Every time a second live audio and video frame is acquired, the upcoming second live audio and video frame is The second live audio and video frame acquired in one frame is cleared.
- the number of saved audio and video frames can also be determined based on the remaining memory of the first client. For example, the remaining memory of the first client is obtained, and the preset corresponding relationship between the remaining memory and the remaining memory can be queried. The number of audio and video frames corresponding to the memory is stored. Therefore, every time the first client obtains a second audio and video frame of the second client, it stores the corresponding second audio and video frame and performs counting processing. When the counting result reaches the preset audio and video frame, After storing the number of video frames, it is considered that the maximum capacity of the remaining memory has been reached. At this time, the historically acquired second video frame is deleted based on the currently acquired second video frame. Specifically, the first client deletes the second audio frame acquired next.
- Second audio and video frames every time a new second audio and video frame is acquired, the first acquired second audio and video frame among the currently stored second audio and video frames is deleted, and the acquired new frame is saved. Second audio and video frames, therefore, the first client only saves the latest audio and video frame currently obtained and stores the number of second live audio and video frames. Every time a frame of the second live audio and video frame is obtained, the first one will be obtained in time. One frame of the second live audio and video frame is cleared. Therefore, by storing multiple frames of the second live audio and video stream of the second live audio and video stream, when an error occurs in the converging process, confluence retry can be performed.
- Step 303 In response to the received live broadcast connection pass message corresponding to the second client, play the combined audio and video stream, wherein the combined audio and video stream is based on the second live audio and video stream corresponding to the second client and the first client
- the corresponding first live broadcast audio and video streams are obtained by converging processing, wherein the live broadcast connection pass message is a pass message for the live broadcast connection request.
- the live broadcast connection passed message of the second client fed back according to the live broadcast connection request is obtained, for example, the live broadcast connection passed message of the second client sent by the business server is obtained, the obtained second client's live broadcast connection passed message is directly read.
- the second live audio and video frame corresponding to the live audio and video stream means that there is no need to pull the second live audio and video stream corresponding to the real-time acquisition operation, but based on the second live audio and video frame in the second live audio and video stream obtained in advance.
- the video frame is combined and played according to the second live audio and video frame in the second live audio and video stream and the first live audio and video frame in the first live audio and video stream of the first client, that is, the playback is combined with the second live audio and video frame.
- the second live audio and video frame in the stream and the first guest The combined audio and video stream corresponding to the first live audio and video frame in the client's first live audio and video stream greatly improves the picture rendering efficiency during live connection.
- the combined audio and video streams may be fed back to the first client after reasonable processing by a preset second server.
- a converging processing request is sent to a preset second server, where the converging processing request carries the second live audio and video stream corresponding to the second client and the first live audio and video stream corresponding to the first client. stream, the second server generates the combined audio and video stream and feeds it back to the first client for playback by the first client, thereby reducing the computing power requirements of the first client.
- the combined audio and video stream is generated locally on the first client, thereby avoiding the need to communicate with the second server to obtain the corresponding combined audio and video stream, which is also possible when the network speed is poor. It does not affect the acquisition of combined audio and video streams.
- the first client performs a confluence process on the second live audio and video stream corresponding to the second client and the first live audio and video stream corresponding to the first client to obtain the combined audio and video stream.
- the business server responds to the second live broadcast connection cancellation message fed back according to the live broadcast connection request. If the live connection cancellation message of the second client is received, the push of the first live audio and video stream of the first client to the preset real-time communication server will be stopped to avoid the problem caused by the first client continuing to push the first live audio and video stream to the first server. Waste of network resources. In this embodiment, you can also stop acquiring the second live audio and video stream of the second client, and delete the acquired second live audio and video stream of the second client to reduce the impact on the first live audio and video stream. Client memory pressure.
- the first client in order to facilitate the second client to pull the first live audio and video stream of the first client in advance, the first client begins to perform real-time communication to the default in response to the live broadcast connection operation.
- the server pushes the first live audio and video stream of the first client.
- the first client responds to the live broadcast connection operation with the second client, sends a live broadcast connection request for the second client, and then receives the live broadcast connection request corresponding to the second client.
- the second live audio and video stream that is, the second live audio and video stream of the second client is pulled in advance, and the combined audio and video stream is played in response to the received live broadcast connection message corresponding to the second client, where the combined audio and video stream is played.
- the audio and video streams are generated based on the confluence of the second live audio and video stream corresponding to the second client and the first live audio and video stream corresponding to the first client, and the live broadcast connection pass message is a pass message for the live broadcast connection request.
- the combined playback process can be directly performed based on the pre-pulled live audio and video streams, saving the time of receiving the live broadcast connection.
- the length of time for streaming after the live connection passes the message improves the screen rendering efficiency during the live connection and avoids rendering waiting delays.
- the first client merges the second live audio and video stream corresponding to the second client and the first live audio and video stream corresponding to the first client to obtain the combined audio and video stream in different ways. , examples are as follows:
- converging the second live audio and video stream of the second client and the first live audio and video stream of the first client includes:
- Step 401 Determine the reception time of the live broadcast connection pass message.
- the system time when the live broadcast connection is received through the message is determined, and the system time is determined as the reception time.
- Step 402 Determine the second live audio and video frame corresponding to the reception time in the second live audio and video stream.
- Step 403 Determine the first live audio and video frame corresponding to the reception time in the first live audio and video stream.
- step 402 and step 403 are not limited, and they can also be executed at the same time.
- the second live audio and video frame in the latest pulled second live audio and video stream at the current receiving time can be obtained, which is the second live audio and video frame corresponding to the receiving time. It is also possible to identify the push time of each audio and video frame in the second live audio and video stream, match the push time with the reception time, and determine that the successfully matched audio and video frame is the second audio and video frame.
- the first live audio and video frame in the latest first live audio and video stream at the current reception time can be obtained, and the first live audio and video frame can be used as the first live audio and video frame corresponding to the reception time.
- video frame or you can also identify the push moment of each first live audio and video frame in the first live audio and video stream, match the push moment with the reception time, and determine that the successfully matched audio and video frame is the first live audio and video frame.
- Video frames or you can also identify the push moment of each first live audio and video frame in the first live audio and video stream, match the push moment with the reception time, and determine that the successfully matched audio and video frame is the first live audio and video frame.
- Step 404 Taking the first live audio and video frame and the second live audio and video frame as the starting frame, perform confluence processing on the second live audio and video stream and the corresponding audio and video frames in the first live audio and video stream to obtain the combined audio and video frames.
- Video streaming Taking the first live audio and video frame and the second live audio and video frame as the starting frame, perform confluence processing on the second live audio and video stream and the corresponding audio and video frames in the first live audio and video stream to obtain the combined audio and video frames.
- Video streaming Taking the first live audio and video frame and the second live audio and video frame as the starting frame, perform confluence processing on the second live audio and video stream and the corresponding audio and video frames in the first live audio and video stream to obtain the combined audio and video frames.
- the first live audio and video frame and the second audio and video frame are used as the starting frames, and based on the UI structure information of the first client, etc., the first live audio and video frame is merged.
- the first video frame and the second video frame of the second live audio frame are rendered to obtain the merged video frame.
- the merged video frame can be shown in Figure 6.
- the first video of the first client is displayed on the left Frame, the right side shows the second video frame of the second client.
- the first audio frame in the first live audio and video frame and the second audio frame in the second live audio frame are combined and played.
- the first current audio and video frame in the first live audio and video stream, and the second live audio and video stream are determined.
- the second current audio and video frame in the video stream merge the first current audio and video frame and the second current audio and video frame to obtain candidate merged audio and video frames, obtain the preset rendering parameters, and render the corresponding live broadcast connection according to the rendering parameters Display element.
- the live broadcast connection display element can be the "PK progress bar" as shown in Figure 7, etc.
- the rendering parameters include the display content, display mode, display position, display color, etc. of the corresponding display element.
- the live connection display element is rendered in the candidate merged audio and video frame to obtain the target merged audio and video frame, and the merged audio and video stream composed of the continuous target merged audio and video frames is displayed, thus ensuring the merged display effect.
- the second live audio and video stream corresponding to the real-time acquisition operation and the first live audio and video stream of the first client are merged, in order to further improve the screen display efficiency during the live broadcast, you can also When the live broadcast connection pass message is obtained, the most recently acquired second audio and video frame is read, and the current latest acquired second audio and video frame is continuously combined with the first audio and video frame in the first live audio and video stream. Merge.
- fixed elements in the first live audio and video frame and the second live audio and video frame can also be determined.
- the fixed elements in the first live audio and video frame and the second live video frame are determined.
- the element type determines the fixed elements according to the element type, for example, the host's avatar information, for example, the live broadcast background information. Therefore, when merging the first live audio and video frame and the second live video frame, the first live audio frame of the previous frame is multiplexed.
- the merged image area of the video frame and the second live broadcast fixed element is only the image area corresponding to the non-fixed element, which greatly improves the merging efficiency.
- the processing method of live audio and video streams in the embodiment of the present disclosure directly performs the merge display processing after obtaining the live broadcast connection pass message, which improves the picture rendering efficiency during the live broadcast connection.
- Figure 8 is a flow chart of a method for processing live audio and video streams according to an embodiment of the present disclosure. As shown in Figure 8, the method includes:
- Step 801 In response to the received live broadcast connection request of the first client, obtain the first live audio and video stream corresponding to the first client.
- the live broadcast connection request sent by the first client may be forwarded by the service server.
- the first live broadcast audio and video stream of the first client is pulled. Since the first client already in advance Push the first live audio and video stream to the preset real-time communication server. Therefore, in one embodiment of the present disclosure, you can subscribe to the first live audio and video stream of the first client through the preset first server, such as the real-time communication server. .
- the acquisition granularity of the second client is to acquire the first live audio and video frame in the first live audio and video stream frame by frame.
- the second client only saves the latest first live audio and video frame currently obtained. Every time a first live audio and video frame is acquired, the previous first live audio and video frame is cleared.
- the number of saved audio and video frames can be determined based on the remaining memory of the second client. For example, the remaining memory of the second client is obtained, and the number of audio and video frames stored corresponding to the remaining memory determined by querying the preset correspondence relationship is obtained. Therefore, the second client only saves the latest first live audio and video frame currently obtained and stores the number of first live audio and video frames. Every time a first live audio and video frame is obtained, the first frame in time will be obtained. The first live audio and video frame is cleared. Therefore, storing multiple frames of the first live audio and video frames allows for retrying the merge when an error occurs in the merge processing.
- the second client also responds to the live broadcast connection request and starts to push the second live audio and video stream of the second client to the preset real-time communication server, so that the first client can pull it in advance. Get the second live audio and video stream of the second client.
- Step 802 in response to the live broadcast connection confirmation operation, feedback the live broadcast connection pass message, and play the combined audio and video stream, where the combined audio and video stream is based on the first live audio and video stream corresponding to the first client and the second client.
- the second live broadcast audio and video streams are obtained by merging processing, wherein the live broadcast connection confirmation operation is a confirmation connection operation for the live broadcast connection request, and the live broadcast connection pass message is a pass message for the live broadcast connection request.
- the live broadcast connection operation in response to the live broadcast connection confirmation operation for the live broadcast connection request, may be triggered by the user's voice of the second client, may be triggered by the gesture track, or may be triggered by The corresponding connection control is triggered, etc.
- the live broadcast connection pass message of the first client can be fed back to the business server, and then the combined audio and video stream can be played, thereby improving the efficiency of combined playback.
- the combined audio and video stream is obtained by combining the first live audio and video stream corresponding to the first client and the second live audio and video stream corresponding to the second client.
- the combined audio and video streams may be fed back to the second client after reasonable processing by the preset second server.
- the confluence point is sent to the preset second server. processing request, wherein the converging processing request carries the second live audio and video stream corresponding to the second client and the first live audio and video stream corresponding to the first client, and the preset second server generates feedback after the converging audio and video stream To the second client for playback by the second client.
- the combined audio and video stream is generated locally on the second client, so that even when the network of the second client is not good, the combined audio and video stream can be obtained.
- the second client performs a confluence process on the second live audio and video stream corresponding to the second client and the first live audio and video stream corresponding to the first client to obtain the combined audio and video stream.
- the second client performs a live broadcast connection cancellation operation, that is, the second client performs a cancellation operation on the live broadcast connection request, such as triggering a "cancel" control, etc., then the live broadcast connection is fed back to the business server.
- the second client responds to the received live broadcast connection request of the first client, obtains the first live audio and video stream corresponding to the first client, and then , in response to the live broadcast connection confirmation operation, feedback the live broadcast connection pass message, and play the combined audio and video stream, where the combined audio and video stream is based on the first live audio and video stream corresponding to the first client and the second live audio and video stream corresponding to the second client.
- the live audio and video streams are obtained by merging the streams, wherein the live broadcast connection confirmation operation is a confirmation connection operation for the live broadcast connection request, and the live broadcast connection pass message is a pass message for the live broadcast connection request.
- the live audio and video stream of the opposite client is obtained in advance, so that after obtaining the live broadcast connection permission operation, the first live audio and video stream corresponding to the first client and the second live broadcast corresponding to the second client are directly played.
- the combined audio and video stream obtained by merging the audio and video streams improves the picture rendering efficiency during live connection and avoids waiting delays.
- the second client locally performs a confluence process based on the first live audio and video stream corresponding to the first client and the second live audio and video stream corresponding to the second client.
- the methods of merging the corresponding first live audio and video stream and the second live audio and video stream of the second client are different. Examples are as follows:
- converging the corresponding first live audio and video stream and the second live audio and video stream of the second client includes:
- Step 901 Determine the operation time of the live broadcast connection confirmation operation.
- the system time at the time of the live broadcast connection confirmation operation is determined, and the system time is determined as the operation time.
- Step 902 Determine the second live audio and video frame corresponding to the operation time in the second live audio and video stream.
- Step 903 Determine the first live audio and video frame corresponding to the operation time in the first live audio and video stream.
- step 902 and step 903 are not limited, and they can also be executed at the same time.
- the first live audio and video frame in the latest pulled first live audio and video stream at the current operation time can be obtained, which is the first live audio and video frame corresponding to the operation time, It is also possible to identify the push moment of each audio and video frame in the first live audio and video stream, match the push moment with the operation time, and determine that the successfully matched audio and video frame is the first live audio and video frame.
- the second live audio and video frame in the latest second live audio and video stream at the current operation time can be obtained, and the second live audio and video frame can be used as the second live audio and video frame corresponding to the operation time.
- video frame or you can also identify the push moment of each second live audio and video frame in the second live audio and video stream, match the push moment with the operation time, and determine that the successfully matched audio and video frame is the second live audio and video frame.
- Video frames or you can also identify the push moment of each second live audio and video frame in the second live audio and video stream, match the push moment with the operation time, and determine that the successfully matched audio and video frame is the second live audio and video frame.
- Step 904 Taking the first live audio and video frame and the corresponding second live audio and video frame as the starting frame, perform a confluence process on the second live audio and video stream and the corresponding audio and video frame in the first live audio and video stream to obtain Combined audio and video streams.
- the first live broadcast audio and video frame and the second live broadcast audio and video frame are used as the starting frames, and the video frames in the first live broadcast audio and video frame and the second live broadcast are merged according to the UI structure information of the first client, etc.
- the video frame of the audio frame is merged to obtain the merged video frame.
- the merged video frame can be shown in Figure 10.
- the left side displays the second live video frame of the second client, and the right side displays the first client's second live video frame.
- the first audio frame in the first live audio and video frame and the second audio frame in the second live audio frame are combined.
- the first live audio and video frame of the next frame of the first live audio and video stream and the second live audio and video frame of the next live broadcast audio and video stream of the second live audio and video stream obtained in real time are read, and the above-mentioned converging operation is performed.
- the first current audio and video frame in the first live audio and video stream and the second live audio and video stream are determined.
- the second current audio and video frame in merge the first current audio and video frame and the second current audio and video frame to obtain candidate merged audio and video frames, obtain the preset rendering parameters, render and display the live broadcast connection display element according to the rendering parameters,
- the live broadcast connection display element is an interface element displayed by the first client and the second client in a live broadcast connection (such as wheat connection, connection) scenario.
- a live broadcast connection such as wheat connection, connection
- the rendering parameters include the corresponding live broadcast connection.
- the display content, display mode, display position, display color, etc. of the display element are then rendered.
- the live connection display element is rendered in the candidate merged audio and video frames according to the rendering parameters to obtain the target merged audio and video frame, and the merged audio and video frame is obtained according to the target merged audio and video frame. Audio and video streaming.
- the first live audio and video stream corresponding to the real-time acquisition operation and the second client when the second live audio and video streams are merged, in order to further improve the screen display efficiency during live broadcast, you can also read the most recently acquired first live audio and video frame when obtaining the live broadcast connection confirmation operation, and continue to add the current The latest acquired first live audio and video frame is merged with the second live audio and video frame in the second live audio and video stream.
- fixed elements in the first live audio and video frame and the second live audio and video frame can also be determined, for example, determining the first live audio and video frame and the element type of each image element in the second live audio and video frame.
- Fixed elements are determined according to the element type, such as live broadcast background information. Therefore, when merging the first live audio and video frame and the second live audio and video frame, multiplexing The merged image areas of the fixed elements of the first live audio and video frame and the second live audio of the previous frame only merge the image areas corresponding to the non-fixed elements, which greatly improves the merging efficiency.
- the first client is A
- the second client is B
- a and B's relevant messages are interacted through the business server, and the live broadcast connections between A and B are transmitted in real time through RTC.
- An example is as follows:
- the RTC rendering channel of the live broadcast is closed, but starts to push A's first live audio and video frame to the RTC, and pulls B's second live audio and video stream.
- the RTC rendering channel of the live broadcast is closed, but starts to push B's second live audio and video frame to the RTC, and pulls A's first live audio and video stream.
- B performs the live broadcast connection permission confirmation operation, it can send a live broadcast connection pass message to A through the business server, etc.
- the live RTC rendering channel is opened
- the live broadcast connection channel is opened
- the A side immediately Render the other party's video (including UI adjustment and adding the other party's surfaceview, etc.), play the other party's audio, and trigger the merge operation.
- B's RTC rendering channel is opened, the live broadcast connection channel is opened, and the other party's video is immediately rendered on the B side (including UI adjustment and adding the other party's surfaceview, etc.), the other party's audio is played, and the merge operation is triggered. .
- B If B performs a live broadcast connection cancellation operation, it can send a live broadcast connection cancellation message to A through the business server, etc. After A receives the live broadcast connection cancellation message, it clears the obtained second live audio and video stream of B and stops acquiring B. The second live audio and video stream. Similarly, B clears the acquired first live audio and video stream of A and stops acquiring A's first live audio and video stream.
- Side B can determine whether the live broadcast is currently based on the number of users in the information list. For example, if the number of users in the list message is 2, it means that the live broadcast connection channels of A and B have been established. Among them, during the merge display, other live broadcast connection display elements (such as live broadcast progress bars, etc.) can be displayed on the merged video frame to increase the interest of the live broadcast.
- live broadcast connection display elements such as live broadcast progress bars, etc.
- the method for processing live audio and video streams in the embodiment of the present disclosure directly plays the first live audio and video stream corresponding to the first client and the second live broadcast corresponding to the second client after obtaining the live broadcast connection confirmation operation.
- the combined audio and video stream obtained after merging the audio and video streams improves the picture rendering efficiency during live broadcast connection.
- the present disclosure also proposes a processing device for live audio and video streams.
- Figure 12 is a schematic structural diagram of a device for processing live audio and video streams provided by an embodiment of the present disclosure.
- the device can be implemented by software and/or hardware, and can generally be integrated on the side of the electronic device where the first client is located. As shown in Figure 12, the device includes:
- the sending module 1210 is configured to send a live broadcast connection request to the second client in response to the live broadcast connection operation with the second client;
- the first receiving module 1220 is used to receive the second live audio and video stream corresponding to the second client;
- the first combined playback module 1230 is configured to play the combined audio and video stream in response to the received live broadcast connection pass message corresponding to the second client, wherein the combined audio and video stream is based on the second live audio and video corresponding to the second client.
- the stream is obtained by converging the first live audio and video stream corresponding to the first client, where the live connection pass message is a pass message for the live broadcast connection request.
- the processing device for live audio and video streams provided by the embodiments of the present disclosure can execute the processing method of live audio and video streams provided by any embodiment of the present disclosure, and has functional modules and beneficial effects corresponding to the execution method. Its implementation principles are similar. Here, No longer.
- Figure 13 is a schematic structural diagram of a device for processing live audio and video streams provided by an embodiment of the present disclosure.
- the device can be implemented by software and/or hardware, and can generally be integrated at the electronic equipment manufacturer where the second client is located. As shown in Figure 13, the device includes:
- the second receiving module 1310 is configured to obtain the first live audio and video stream corresponding to the first client in response to the received live broadcast connection request of the first client;
- Feedback module 1320 configured to respond to the live broadcast connection confirmation operation and feedback the live broadcast connection pass message
- the second combined playback module 1330 is used to play the combined audio and video streams in response to the live broadcast connection confirmation operation, wherein, The merged audio and video stream is obtained by merging the first live audio and video stream corresponding to the first client and the second live audio and video stream corresponding to the second client, where the live broadcast connection confirmation operation is a confirmation of the live broadcast connection request.
- the live broadcast connection pass message is a pass message for the live broadcast connection request.
- the processing device for live audio and video streams provided by the embodiments of the present disclosure can execute the processing method of live audio and video streams provided by any embodiment of the present disclosure, and has functional modules and beneficial effects corresponding to the execution method. Its implementation principles are similar. Here, No longer.
- modules may be implemented as software components executing on one or more general-purpose processors, or may be implemented as hardware, such as programmable logic devices and/or application-specific integrated circuits, for performing certain functions.
- these modules may be embodied in the form of a software product that may be stored in a non-volatile storage medium.
- non-volatile storage media include enabling computer equipment (such as personal computers, servers, network equipment, mobile terminals, etc.) to execute the methods described in the embodiments of the present disclosure.
- the above modules can also be implemented on a single device or distributed on multiple devices. The functionality of these modules can be combined with each other or further split into sub-modules.
- the present disclosure also proposes a computer program product, which includes a computer program/instructions.
- a computer program product which includes a computer program/instructions.
- the computer program/instructions are executed by a processor, the method for processing live audio and video streams in the above embodiments is implemented.
- a computer program is also provided.
- the computer program includes instructions that, when executed by a processor, cause the processor to implement the method for processing live audio and video streams in the above embodiments.
- FIG. 14 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure.
- the electronic device 1400 in the embodiment of the present disclosure may include, but is not limited to, mobile phones, notebook computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Tablets), PMPs (Portable Multimedia Players), vehicle-mounted terminals ( Mobile terminals such as car navigation terminals) and fixed terminals such as digital TVs, desktop computers, etc.
- the electronic device shown in FIG. 14 is only an example and should not impose any limitations on the functions and scope of use of the embodiments of the present disclosure.
- electronic device 1400 may include a processor (eg, central processing unit, graphics processor, etc.) 1401 that may be loaded into random access memory according to a program stored in read-only memory (ROM) 1402 or from memory 1408 (RAM) 1403 to perform various appropriate actions and processes.
- ROM read-only memory
- RAM memory 1408
- the processor 1401, ROM 1402, and RAM 1403 are connected to each other through a bus 1404.
- An input/output (I/O) interface 1405 is also connected to bus 1404.
- the following devices may be connected to the I/O interface 1405: input devices 1406 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; including, for example, a liquid crystal display (LCD), speakers, vibration An output device 1407 such as a computer; a memory 1408 including a magnetic tape, a hard disk, etc.; and a communication device 1409.
- the communication device 1409 may allow the electronic device 1400 to communicate wirelessly or wiredly with other devices to exchange data.
- FIG. 14 illustrates electronic device 1400 with various means, it should be understood that implementation or availability of all illustrated means is not required. More or fewer means may alternatively be implemented or provided.
- embodiments of the present disclosure include a computer program product including a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for performing the method illustrated in the flowchart.
- the computer program may be downloaded and installed from the network via communication device 1409, or from memory 1408, or from ROM 1402.
- the processor 1401 When the computer program is executed by the processor 1401, the above functions defined in the processing method of live audio and video streams according to the embodiment of the present disclosure are performed.
- the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the above two.
- the computer-readable storage medium may be, for example, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or any combination thereof. More specific examples of computer readable storage media may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard drive, random access memory (RAM), read only memory (ROM), removable Programmd read-only memory (EPROM or flash memory), fiber optics, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
- a computer-readable storage medium may be any tangible medium that contains or stores a program for use by or in connection with an instruction execution system, apparatus, or device.
- a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code therein. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above.
- a computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device .
- Program code embodied on a computer-readable medium may be transmitted using any suitable medium, including but not limited to: wire, optical cable, RF (radio frequency), etc., or any suitable combination of the above.
- the client and server can communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and can communicate with digital data in any form or medium.
- Communications e.g., communications network
- communications networks include local area networks (“LAN”), wide area networks (“WAN”), the Internet (e.g., the Internet), and end-to-end networks (e.g., ad hoc end-to-end networks), as well as any currently known or developed in the future network of.
- the above-mentioned computer-readable medium may be included in the above-mentioned electronic device; it may also exist independently without being assembled into the electronic device.
- the computer-readable medium carries one or more programs.
- the first client sends a message directed to the second client in response to the live broadcast connection operation with the second client.
- the live broadcast connection request and then receiving the second live audio and video stream corresponding to the second client, that is, starting to pull the second live audio and video stream of the second client in advance, in response to the received live broadcast connection corresponding to the second client
- the combined audio and video stream is played, wherein the combined audio and video stream is generated based on the combined second live audio and video stream corresponding to the second client and the first live audio and video stream corresponding to the first client.
- the live broadcast The connection pass message is a pass message for the live broadcast connection request.
- the time between sending the live broadcast connection request and receiving the live broadcast connection pass message can be fully utilized to obtain the live audio and video stream of the opposite terminal in advance, so that after the live broadcast connection pass message of the opposite terminal is obtained, the merge display processing can be directly performed. Improved screen rendering efficiency during live broadcast connections and avoided rendering waiting delays.
- the electronic device may have computer program code for performing operations of the present disclosure written in one or more programming languages, including but not limited to object-oriented programming languages—such as Java, Smalltalk, C++, or a combination thereof. , also includes conventional procedural programming languages—such as "C" or similar programming languages.
- the program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server.
- the remote computer can be connected to the user's computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (such as an Internet service provider through Internet connection).
- LAN local area network
- WAN wide area network
- Internet service provider such as an Internet service provider through Internet connection
- each block in the flowchart or block diagram may represent a module, segment, or portion of code that contains one or more logic functions that implement the specified executable instructions.
- the functions noted in the block may occur out of the order noted in the figures. For example, two boxes represented one after another While they may actually be executed essentially in parallel, they may sometimes be executed in reverse order, depending on the functionality involved.
- each block of the block diagram and/or flowchart illustration, and combinations of blocks in the block diagram and/or flowchart illustration can be implemented by special purpose hardware-based systems that perform the specified functions or operations. , or can be implemented using a combination of specialized hardware and computer instructions.
- the units involved in the embodiments of the present disclosure can be implemented in software or hardware. Among them, the name of a unit does not constitute a limitation on the unit itself under certain circumstances.
- FPGAs Field Programmable Gate Arrays
- ASICs Application Specific Integrated Circuits
- ASSPs Application Specific Standard Products
- SOCs Systems on Chips
- CPLD Complex Programmable Logical device
- a machine-readable medium may be a tangible medium that may contain or store a program for use by or in connection with an instruction execution system, apparatus, or device.
- the machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium.
- Machine-readable media may include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or devices, or any suitable combination of the foregoing.
- machine-readable storage media would include one or more wire-based electrical connections, laptop disks, hard drives, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
- RAM random access memory
- ROM read only memory
- EPROM or flash memory erasable programmable read only memory
- CD-ROM portable compact disk read-only memory
- magnetic storage device or any suitable combination of the above.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- General Engineering & Computer Science (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Information Transfer Between Computers (AREA)
Abstract
Description
Claims (18)
- 一种直播音视频流的处理方法,所述方法应用在第一客户端,包括以下步骤:响应于与第二客户端的直播连接操作,发送针对所述第二客户端的直播连接请求;接收与所述第二客户端对应的第二直播音视频流;响应于接收到的所述第二客户端对应的直播连接通过消息,播放合流音视频流,其中,所述合流音视频流是根据所述第二客户端对应的第二直播音视频流和所述第一客户端对应的第一直播音视频流进行合流处理得到的,其中,所述直播连接通过消息为针对所述直播连接请求的通过消息。
- 如权利要求1所述的方法,其中,所述方法还包括:向第一服务端发送音视频流获取请求,其中,所述音视频流获取请求中包括所述第二客户端的客户端标识;所述接收与所述第二客户端对应的第二直播音视频流,包括:接收所述第一服务端反馈的所述第二客户端的第二直播音视频流。
- 如权利要求1或2所述的方法,其中,在所述播放合流音视频流之前,包括:对所述第二客户端对应的第二直播音视频流和所述第一客户端对应的第一直播音视频流进行合流处理,以得到合流音视频流;或者,向第二服务端发送合流处理请求,其中,所述合流处理请求中携带所述第二客户端对应的第二直播音视频流和所述第一客户端对应的第一直播音视频流,及接收所述第二服务端反馈的合流音视频流。
- 如权利要求3所述的方法,其中,所述对所述第二客户端对应的第二直播音视频流和所述第一客户端对应的第一直播音视频流进行合流处理,以得到合流音视频流,包括:确定所述直播连接通过消息的接收时刻;确定所述第一直播音视频流中与所述接收时刻对应的第一直播音视频帧以及所述第二直播音视频流中与所述接收时刻对应的第二直播音视频帧;以所述第一直播音视频帧和所述第二直播音视频帧为起始帧,对所述第二直播音视频流和所述第一直播音视频流中的对应音视频帧执行合流处理,以得到合流音视频流。
- 如权利要求4所述的方法,其中,所述对所述第二直播音视频流和所述第一直播音视频流中的对应音视频帧执行合流处理,以得到合流音视频流,包括:在所述合流处理时,确定所述第一直播音视频流中的第一当前音视频帧,和所述第二 直播音视频流中的第二当前音视频帧;合并所述第一当前音视频帧和所述第二当前音视频帧,以获取候选合并音视频帧;获取预设的渲染参数;根据所述渲染参数在所述候选合并音视频帧中渲染直播连接显示元素,以获取目标合并音视频帧;根据所述目标合并音视频帧得到所述合流音视频流。
- 如权利要求1-5任一所述的方法,还包括:若未接收到所述直播连接通过消息,则删除接收到的所述第二客户端的第二直播音视频流。
- 如权利要求2所述的方法,还包括:响应于接收到所述第二客户端对应的连接取消消息,停止执行向第一服务端推送所述第一客户端的第一直播音视频流。
- 一种直播音视频流的处理方法,所述方法应用在第二客户端,包括以下步骤:响应于第一客户端的直播连接请求,接收所述第一客户端对应的第一直播音视频流;响应于直播连接确认操作,反馈直播连接通过消息,并播放合流音视频流,其中,所述合流音视频流是根据所述第一客户端对应的第一直播音视频流和所述第二客户端对应的第二直播音视频流进行合流处理得到的,其中,所述直播连接确认操作为针对所述直播连接请求的确认操作,所述直播连接通过消息为针对所述直播连接请求的通过消息。
- 如权利要求8所述的方法,还包括:响应于所述直播连接请求,向第一服务端推送所述第二客户端的第二直播音视频流。
- 如权利要求8或9所述的方法,其中,在所述播放合流音视频流之前,包括:对所述第一客户端对应的第一直播音视频流和所述第二客户端对应的第二直播音视频流进行合流处理,以得到合流音视频流;或者,向第二服务端发送合流处理请求,其中,所述合流处理请求中携带所述第二客户端对应的第二直播音视频流和所述第一客户端对应的第一直播音视频流;及接收所述第二服务端反馈的合流音视频流。
- 如权利要求10所述的方法,其中,所述对所述第一客户端对应的第一直播音视频流和所述第二客户端对应的第二直播音视频流进行合流处理,以得到合流音视频流,包括:确定所述直播连接确认操作的操作时刻;确定所述第一直播音视频流中与所述操作时刻对应的第一直播音视频帧以及所述第二直播音视频流中与所述操作时刻对应的第二直播音视频帧;以所述第一直播音视频帧和所述对应的第二直播音视频帧为起始帧,对所述第二直播音视频流和所述第一直播音视频流中的对应音视频帧执行合流处理,以得到合流音视频流。
- 如权利要求9所述的方法,还包括:响应于针对所述直播连接请求的直播连接取消操作,停止执行向第一服务端推送所述第二客户端的第二直播音视频流。
- 一种直播音视频流的处理装置,其中,所述装置应用在第一客户端,包括:发送模块,用于响应于与第二客户端的直播连接操作,发送对所述第二客户端的直播连接请求;第一接收模块,用于接收与所述第二客户端对应的第二直播音视频流;第一合流播放模块,用于响应于接收到的所述第二客户端对应的直播连接通过消息,播放合流音视频流,其中,所述合流音视频流是根据所述第二客户端对应的第二直播音视频流和所述第一客户端对应的第一直播音视频流进行合流处理得到的,其中,所述直播连接通过消息为针对所述直播连接请求的通过消息。
- 一种直播音视频流的处理装置,其中,所述装置应用在第二客户端,包括:第二接收模块,用于响应于第一客户端的直播连接请求,接收所述第一客户端对应的第一直播音视频流;反馈模块,用于响应于直播连接确认操作,反馈直播连接通过消息;第二合流播放模块,用于响应于直播连接确认操作,播放合流音视频流,其中,所述合流音视频流是根据所述第一客户端对应的第一直播音视频流和所述第二客户端对应的第二直播音视频流进行合流处理得到的,其中,所述直播连接确认操作为针对所述直播连接请求的确认连接操作,所述直播连接通过消息为针对所述直播连接请求的通过消息。
- 一种电子设备,其中,所述电子设备包括:处理器;用于存储所述处理器可执行指令的存储器;所述处理器,用于从所述存储器中读取所述可执行指令,并执行所述可执行指令以实现上述权利要求1-12中任一所述的直播音视频流的处理方法。
- 一种计算机可读存储介质,其中,所述计算机可读存储介质存储有计算机程序,所述计算机程序用于执行上述权利要求1-12中任一所述的直播音视频流的处理方法。
- 一种计算机程序产品,其中,当所述计算机程序产品中的指令由处理器执行时,实现如权利要求1-12中任一所述的直播音视频流的处理方法。
- 一种计算机程序,包括:指令,所述指令当由处理器执行时使所述处理器执行如权利要求1-12中任一所述的直播音视频流的处理方法。
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US18/856,859 US20250260846A1 (en) | 2022-04-14 | 2023-04-03 | Method and apparatus for processing live audio and video stream, and device and medium |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210395011.9A CN116962803A (zh) | 2022-04-14 | 2022-04-14 | 直播音视频流的处理方法、装置、设备及介质 |
| CN202210395011.9 | 2022-04-14 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2023197897A1 true WO2023197897A1 (zh) | 2023-10-19 |
Family
ID=88328886
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2023/085866 Ceased WO2023197897A1 (zh) | 2022-04-14 | 2023-04-03 | 直播音视频流的处理方法、装置、设备及介质 |
Country Status (3)
| Country | Link |
|---|---|
| US (1) | US20250260846A1 (zh) |
| CN (1) | CN116962803A (zh) |
| WO (1) | WO2023197897A1 (zh) |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR100851634B1 (ko) * | 2008-02-05 | 2008-08-13 | 주식회사 셀런 | 라이브 멀티미디어 스트림을 풀방식으로 스트리밍하는 방법및 시스템 |
| CN109688419A (zh) * | 2018-12-27 | 2019-04-26 | 北京潘达互娱科技有限公司 | 一种直播中的连麦方法、装置及服务器 |
| CN110149527A (zh) * | 2019-06-10 | 2019-08-20 | 武汉鲨鱼网络直播技术有限公司 | 线下赛的直播方法、后台服务器及合流服务器 |
| CN111050185A (zh) * | 2018-10-15 | 2020-04-21 | 武汉斗鱼网络科技有限公司 | 直播间连麦视频混流方法、存储介质、电子设备及系统 |
| CN111836074A (zh) * | 2020-07-23 | 2020-10-27 | 北京达佳互联信息技术有限公司 | 一种连麦直播方法、装置及系统 |
| CN112312154A (zh) * | 2020-10-30 | 2021-02-02 | 广州华多网络科技有限公司 | 网络直播控制、执行方法及其相应的装置、设备、介质 |
Family Cites Families (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20170163761A1 (en) * | 2015-12-07 | 2017-06-08 | Le Holdings (Beijing) Co., Ltd. | Method, device and system for obtaining live video |
| US10762675B2 (en) * | 2016-12-12 | 2020-09-01 | Facebook, Inc. | Systems and methods for interactive broadcasting |
| US10192553B1 (en) * | 2016-12-20 | 2019-01-29 | Amazon Technologes, Inc. | Initiating device speech activity monitoring for communication sessions |
| US10237581B2 (en) * | 2016-12-30 | 2019-03-19 | Facebook, Inc. | Presentation of composite streams to users |
| US11056014B1 (en) * | 2020-07-07 | 2021-07-06 | ClassEDU Inc. | Virtual classroom over a group meeting platform |
| US11683538B2 (en) * | 2020-09-03 | 2023-06-20 | Meta Platforms, Inc. | Live group video streaming |
-
2022
- 2022-04-14 CN CN202210395011.9A patent/CN116962803A/zh active Pending
-
2023
- 2023-04-03 WO PCT/CN2023/085866 patent/WO2023197897A1/zh not_active Ceased
- 2023-04-03 US US18/856,859 patent/US20250260846A1/en active Pending
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR100851634B1 (ko) * | 2008-02-05 | 2008-08-13 | 주식회사 셀런 | 라이브 멀티미디어 스트림을 풀방식으로 스트리밍하는 방법및 시스템 |
| CN111050185A (zh) * | 2018-10-15 | 2020-04-21 | 武汉斗鱼网络科技有限公司 | 直播间连麦视频混流方法、存储介质、电子设备及系统 |
| CN109688419A (zh) * | 2018-12-27 | 2019-04-26 | 北京潘达互娱科技有限公司 | 一种直播中的连麦方法、装置及服务器 |
| CN110149527A (zh) * | 2019-06-10 | 2019-08-20 | 武汉鲨鱼网络直播技术有限公司 | 线下赛的直播方法、后台服务器及合流服务器 |
| CN111836074A (zh) * | 2020-07-23 | 2020-10-27 | 北京达佳互联信息技术有限公司 | 一种连麦直播方法、装置及系统 |
| CN112312154A (zh) * | 2020-10-30 | 2021-02-02 | 广州华多网络科技有限公司 | 网络直播控制、执行方法及其相应的装置、设备、介质 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN116962803A (zh) | 2023-10-27 |
| US20250260846A1 (en) | 2025-08-14 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN111064987B (zh) | 信息展示方法、装置及电子设备 | |
| US20190158630A1 (en) | Publication of Applications Using Server-Side Virtual Screen Change Capture | |
| CN111629251B (zh) | 视频播放方法、装置、存储介质和电子设备 | |
| US12592014B2 (en) | Media content processing method and apparatus, device, and storage medium | |
| US11758087B2 (en) | Multimedia conference data processing method and apparatus, and electronic device | |
| US20150117513A1 (en) | Bandwidth reduction system and method | |
| WO2021249323A1 (zh) | 一种信息处理方法、系统、装置、电子设备及存储介质 | |
| WO2021254168A1 (zh) | 会议控制方法、装置、可读介质及电子设备 | |
| CN112306595A (zh) | 交互方法、装置和电子设备 | |
| WO2019062667A1 (zh) | 会议内容的传输方法及装置 | |
| WO2023045973A1 (zh) | 直播礼物云渲染方法、装置、电子设备及存储介质 | |
| WO2021180198A1 (zh) | 信息交互方法、装置、电子设备及存储介质 | |
| CN114443201A (zh) | 消息展示方法、装置、设备及存储介质 | |
| WO2023103861A1 (zh) | 投屏方法、投屏装置、投屏显示装置、投屏系统及介质 | |
| JP2025516284A (ja) | マルチメディアデータ処理方法、装置、機器、記憶媒体及びプログラム製品 | |
| CN111818383B (zh) | 视频数据的生成方法、系统、装置、电子设备及存储介质 | |
| CN112291502A (zh) | 信息交互方法、装置、系统和电子设备 | |
| CN115396684B (zh) | 一种连麦展示方法、装置、电子设备、计算机可读介质 | |
| CN114489891A (zh) | 云应用程序的控制方法、系统、装置、可读介质和设备 | |
| WO2023197897A1 (zh) | 直播音视频流的处理方法、装置、设备及介质 | |
| CN114697149B (zh) | 一种视频会议的视图刷新方法、装置、设备及介质 | |
| CN112866622B (zh) | 信息处理方法、装置、服务器、存储介质和系统 | |
| CN115767002A (zh) | 一种信息显示方法、装置、设备及介质 | |
| CN112256222A (zh) | 信息显示方法、装置和电子设备 | |
| WO2025139330A1 (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: 23787542 Country of ref document: EP Kind code of ref document: A1 |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 18856859 Country of ref document: US |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 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 31/01/2025) |
|
| WWP | Wipo information: published in national office |
Ref document number: 18856859 Country of ref document: US |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 23787542 Country of ref document: EP Kind code of ref document: A1 |