CN111083507B - Method and system for connecting to wheat, first main broadcasting terminal, audience terminal and computer storage medium - Google Patents

Method and system for connecting to wheat, first main broadcasting terminal, audience terminal and computer storage medium Download PDF

Info

Publication number
CN111083507B
CN111083507B CN201911252003.3A CN201911252003A CN111083507B CN 111083507 B CN111083507 B CN 111083507B CN 201911252003 A CN201911252003 A CN 201911252003A CN 111083507 B CN111083507 B CN 111083507B
Authority
CN
China
Prior art keywords
video
display area
live broadcast
anchor
terminal
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.)
Active
Application number
CN201911252003.3A
Other languages
Chinese (zh)
Other versions
CN111083507A (en
Inventor
周林军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Kugou Computer Technology Co Ltd
Original Assignee
Guangzhou Kugou Computer Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Guangzhou Kugou Computer Technology Co Ltd filed Critical Guangzhou Kugou Computer Technology Co Ltd
Priority to CN201911252003.3A priority Critical patent/CN111083507B/en
Publication of CN111083507A publication Critical patent/CN111083507A/en
Application granted granted Critical
Publication of CN111083507B publication Critical patent/CN111083507B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • H04N21/42203Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS] sound input device, e.g. microphone
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video stream to a specific local network, e.g. a Bluetooth® network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/44Processing 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/4402Processing 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 reformatting operations of video signals for household redistribution, storage or real-time display
    • H04N21/440263Processing 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 reformatting operations of video signals for household redistribution, storage or real-time display by altering the spatial resolution, e.g. for displaying on a connected PDA
    • H04N21/440272Processing 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 reformatting operations of video signals for household redistribution, storage or real-time display by altering the spatial resolution, e.g. for displaying on a connected PDA for performing aspect ratio conversion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4788Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/485End-user interface for client configuration

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Human Computer Interaction (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The application discloses a wheat connecting method, a first anchor terminal, an audience terminal and a computer storage medium, and belongs to the technical field of live broadcast. The method comprises the following steps: when the first anchor terminal detects a first direct broadcast mode switching message, a first video collected in a common direct broadcast mode is scaled in an equal ratio mode, the scaled first video is displayed in a first display area of the first anchor terminal, a second video sent by a second anchor terminal is received, the second video is scaled in an equal ratio mode, the scaled second video is displayed in a second display area of the first anchor terminal, and the scaled first video and the scaled second video are pushed to a direct broadcast room where the first anchor terminal is located. Because the aspect ratio of the video frames pushed in the common live broadcast mode and the live broadcast mode with wheat is not changed, the first main broadcast end does not need to cut off when the common live broadcast mode is switched to the live broadcast mode with wheat, and therefore the video played by the audience end in the live broadcast room where the first main broadcast end is located can not be blocked.

Description

Method and system for connecting to wheat, first main broadcasting terminal, audience terminal and computer storage medium
Technical Field
The present application relates to the field of live broadcast technologies, and in particular, to a method and a system for connecting to a microphone, a first anchor, an audience, and a computer storage medium.
Background
With the development of live broadcast technology, in order to attract more audiences to watch videos in a live broadcast room, one anchor can be connected with another anchor, so that audiences in the live broadcast rooms of the two anchors can watch the live videos of the two anchors at the same time.
For convenience of description, a mode in which the anchor performs live broadcast alone is referred to as a normal live broadcast mode, and a mode in which the anchor performs live broadcast in a live broadcast mode by connecting to the main is referred to as a live broadcast mode by connecting to the main. In the related art, the aspect ratio of the video displayed by the anchor terminal in the normal live mode is different from that in the live mode with microphone, so that when the anchor terminal needs to switch from the normal live mode to the live mode with microphone or from the live mode with microphone to the normal live mode, the video push in the current live mode needs to be stopped, that is, the video is cut off, and then the video is pushed again in another live mode, that is, the video is played again.
In the process of connecting the wheat, when the main broadcasting end is switched from one live broadcasting mode to the other live broadcasting mode, the main broadcasting end needs to cut off the stream first and then start the stream again, so that the video played by the audience end is blocked, and the interest of the audience in watching the live video is influenced.
Disclosure of Invention
The embodiment of the application provides a method and a system for connecting wheat, a first anchor terminal, a spectator terminal and a computer storage medium, which can avoid the phenomenon that the video played by the spectator terminal is blocked when the anchor terminal switches a live broadcast mode. The technical scheme is as follows:
in a first aspect, a method for connecting to a wheat is provided, where the method is applied to a first anchor terminal, and the first anchor terminal is an anchor terminal that connects to a second anchor terminal, and the method includes:
when a first live broadcast mode switching message for indicating switching from a common live broadcast mode to a live broadcast mode with live broadcast is detected, scaling a first video acquired in the common live broadcast mode in an equal ratio manner to obtain a scaled first video, and displaying the scaled first video in a first display area of a first main broadcast end, wherein the common live broadcast mode is a mode in which the first main broadcast end carries out live broadcast independently;
receiving a second video sent by a second anchor terminal, scaling the second video in an equal ratio to obtain a scaled second video, and displaying the scaled second video in a second display area of the first anchor terminal, wherein the first display area and the second display area are two display areas divided from a display interface, and the aspect ratio of the first display area and the third display area in the common live broadcast mode is the same as that of the second display area;
and pushing the zoomed first video and the zoomed second video to a live broadcast room where the first main broadcast end is located, so that a first display area of a spectator end in the live broadcast room displays the zoomed first video, and a second display area of the spectator end displays the zoomed second video.
Optionally, before receiving the second video sent by the second anchor, the method further includes
After the zoomed first video is displayed in the first display area of the first anchor terminal, if the second video is not received at the current time, the first reference video is displayed in the second display area of the first anchor terminal.
Optionally, before pushing the scaled first video and the scaled second video to the live broadcast room where the first anchor terminal is located, the method further includes:
encapsulating the first direct-play mode switching message into a first video frame;
and encoding the first video frame into a video stream pushed to a live broadcast room where the first main broadcast end is located, so that when a viewer end in the live broadcast room decodes the first direct broadcast mode switching message, a first display area and a second display area are divided in a current display interface.
Optionally, the method further comprises:
when a second live broadcast mode switching message for indicating switching from the microphone connecting live broadcast mode to the common live broadcast mode is detected, scaling a third video acquired in the microphone connecting live broadcast mode in an equal ratio manner to obtain a scaled third video, and displaying the scaled third video in a third display area of the first main broadcast terminal;
and pushing the zoomed third video to a live broadcast room where the first main broadcast end is located, so that a third display area of a viewer end in the live broadcast room displays the zoomed third video.
Optionally, before the step of pushing the scaled third video and the scaled third video to a live broadcast room where the first anchor is located, the method further includes:
packaging the second live broadcast mode switching message into a second video frame;
and encoding the second video frame into a video stream pushed to a live broadcast room where the first main broadcast end is located, so that when a spectator end in the live broadcast room decodes the second live broadcast mode switching message, a current display interface is restored to the third display area.
In a second aspect, a method for connecting to a wheat is provided, where the method is applied to a viewer side, the viewer side is a viewer side in a live broadcast room where a first anchor side is located, and the first anchor side is an anchor side that connects to a second anchor side, and the method includes:
receiving a zoomed first video and a zoomed second video which are pushed by a first anchor terminal, wherein the zoomed first video is obtained by scaling a first video collected in a common live broadcast mode in an equal ratio when the first anchor terminal detects a first live broadcast mode switching message for indicating switching from the common live broadcast mode to a live broadcast mode with microphone, the zoomed second video is obtained by scaling the second video in an equal ratio when the first anchor terminal receives a second video sent by a second anchor terminal, and the common live broadcast mode is a mode in which the first anchor terminal independently carries out live broadcast;
the zoomed first video is displayed in a first display area of the local terminal, the zoomed second video is displayed in a second display area of the local terminal, the first display area and the second display area are two display areas divided from a display interface, and the aspect ratio of the first display area to the third display area in the common live mode is the same as that of the second display area in the common live mode.
Optionally, before receiving the scaled first video and the scaled second video pushed by the first anchor, the method further includes:
and when the first direct-playing mode switching message is decoded from the received video stream, dividing a first display area and a second display area in the current display interface.
Optionally, after the first display area and the second display area are divided in the current display interface, the method further includes:
and if the zoomed second video is not received after the first display area and the second display area are divided in the current display interface, displaying a second reference video in the second display area of the local terminal.
Optionally, the method further comprises:
receiving a zoomed third video pushed by the first anchor, wherein the third video is obtained by scaling a third video acquired in the live telecast mode in an equal ratio when the first anchor detects a second live telecast mode switching message for indicating switching from the live telecast mode to the common live telecast mode;
and displaying the zoomed third video in a third display area of the local terminal.
Optionally, before receiving the scaled third video pushed by the first anchor, the method further includes:
and when the second live mode switching message is decoded from the received video stream, restoring the current display interface to the third display area.
A third aspect provides a first anchor terminal, where the first anchor terminal is an anchor terminal that connects to a second anchor terminal, and the first anchor terminal includes:
the first display module is used for scaling a first video acquired in a common live broadcast mode in an equal ratio to obtain a scaled first video when a first live broadcast mode switching message for indicating switching from the common live broadcast mode to a live broadcast mode with wheat is detected, and displaying the scaled first video in a first display area of a first main broadcast end, wherein the common live broadcast mode is a mode in which the first main broadcast end independently carries out live broadcast;
the second display module is configured to receive a second video sent by the second anchor, scale the second video in an equal ratio to obtain a scaled second video, and display the scaled second video in a second display area of the first anchor, where the first display area and the second display area are two display areas divided from a display interface, and an aspect ratio of the first display area and the second display area is the same as an aspect ratio of a third display area in the normal live broadcast mode;
and the pushing module is used for pushing the zoomed first video and the zoomed second video to a live broadcast room where the first main broadcast end is located, so that the zoomed first video is displayed in a first display area of a spectator end in the live broadcast room, and the zoomed second video is displayed in a second display area of the spectator end.
Optionally, the second display module is further configured to:
after the zoomed first video is displayed in the first display area of the first anchor terminal, if the second video is not received at the current time, the first reference video is displayed in the second display area of the first anchor terminal.
Optionally, the first anchor further includes:
a first encapsulation module, configured to encapsulate the first direct broadcast mode switching message into a first video frame;
the push module is further configured to encode the first video frame into a video stream pushed to a live broadcast room where the first anchor terminal is located, so that when a viewer terminal in the live broadcast room decodes the first direct broadcast mode switching message, a first display area and a second display area are partitioned in a current display interface.
Optionally, the first anchor further includes:
a third display module, configured to, when a second live broadcast mode switching message indicating switching from the microphone connecting live broadcast mode to the normal live broadcast mode is detected, proportionally scale a third video acquired in the microphone connecting live broadcast mode to obtain a scaled third video, and display the scaled third video in a third display area of the first anchor;
the pushing module is further configured to push the zoomed third video to a live broadcast room where the first anchor terminal is located, so that a third display area of a viewer terminal in the live broadcast room displays the zoomed third video.
Optionally, the first anchor further includes:
the second encapsulation module is used for encapsulating the second live broadcast mode switching message into a second video frame;
the push module is further configured to encode the second video frame into a video stream pushed to a live broadcast room where the first anchor terminal is located, so that when a viewer terminal in the live broadcast room decodes the second live broadcast mode switching message, a current display interface is restored to the third display area.
In a fourth aspect, a spectator end is provided, where the spectator end is a spectator end in a live broadcast room where a first anchor end is located, the first anchor end is an anchor end that connects to a second anchor end, and the spectator end includes:
a first receiving module, configured to receive a zoomed first video and a zoomed second video that are pushed by a first anchor terminal, where the zoomed first video is obtained by the first anchor terminal scaling a first video acquired in a normal live broadcast mode when detecting a first live broadcast mode switching message that indicates switching from a normal live broadcast mode to a live broadcast mode with microphone, and the zoomed second video is obtained by the first anchor terminal scaling a second video sent by a second anchor terminal when receiving the second video, and the normal live broadcast mode is a mode in which the first anchor terminal performs live broadcast alone;
the first display module is used for displaying the zoomed first video in a first display area of the local end, displaying the zoomed second video in a second display area of the local end, the first display area and the second display area are two display areas divided from a display interface, and the aspect ratio of the first display area and the second display area is the same as that of a third display area in a common live mode.
Optionally, the spectator terminal further includes:
and the dividing module is used for dividing a first display area and a second display area in the current display interface when the first direct-playing mode switching message is decoded from the received video stream.
Optionally, the first display module is further configured to display a second reference video in the second display area of the local terminal if the zoomed second video is not received after the first display area and the second display area are divided in the current display interface.
Optionally, the spectator terminal further includes:
a second receiving module, configured to receive a zoomed third video pushed by the first anchor, where the third video is obtained by the first anchor scaling, in an equal ratio, a third video acquired in the live telecast mode when detecting a second live mode switching message used to instruct to switch from the live telecast mode to the normal live telecast mode;
and the second display module is used for displaying the zoomed third video in a third display area of the home terminal.
Optionally, the spectator terminal further includes:
and the restoring module is used for restoring the current display interface to the third display area when the second live mode switching message is decoded from the received video stream.
In a fifth aspect, a first anchor terminal is provided, where the first anchor terminal includes:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the steps of the method of any of the first aspects above.
In a sixth aspect, a spectator terminal is provided, where the spectator terminal includes:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the steps of the method of any of the second aspects above.
In a seventh aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores instructions, and the instructions, when executed by a processor, implement the steps of the method of any one of the above first aspects.
In an eighth aspect, a computer-readable storage medium is provided, having instructions stored thereon, which when executed by a processor, implement the steps of the method of any of the above first aspects.
A ninth aspect provides a wheat connecting system, which includes a first anchor terminal, a second anchor terminal, and an audience terminal in a live broadcast room where the first anchor terminal is located, where the first anchor terminal and the second anchor terminal are two anchor terminals for wheat connecting;
the first anchor is configured to implement the steps of the method of any one of the above first aspects;
the viewer side is configured to implement the steps of the method according to any one of the above second aspects.
The beneficial effects brought by the technical scheme provided by the embodiment of the application at least comprise:
in the embodiment of the application, the first display area and the second display area are two display areas divided from the display interface, and the first display area and the second display area have the same aspect ratio as the third display area in the normal live broadcast mode, so that the video displayed by the first display area can be obtained only by scaling the first video acquired in the normal live broadcast mode in an equal ratio manner, and thus the aspect ratio of the video frame pushed by the first main broadcast end in the normal live broadcast mode and the live broadcast mode with wheat is not changed, and when the first main broadcast end is switched from the normal live broadcast mode to the live broadcast mode with wheat, the first main broadcast end does not need to cut off the flow, and the wheat can be directly connected through the video acquired in the normal live broadcast mode. Because the first anchor end is not cut off and then is played again when the live broadcast mode is switched, the video played by the audience end in the live broadcast room where the first anchor end is located can not be blocked, and therefore the live broadcast video watched by the audience is smooth in the process of switching the live broadcast mode of the first anchor end.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic diagram of a wheat-connecting system according to an embodiment of the present disclosure;
fig. 2 is a flowchart of a method for connecting wheat according to an embodiment of the present application;
fig. 3 is a flowchart of another wheat connecting method provided in the embodiment of the present application;
fig. 4 is a flowchart of another wheat connecting method provided in the embodiment of the present application;
fig. 5 is a schematic interface diagram of a first anchor provided in an embodiment of the present application;
fig. 6 is a schematic interface diagram of another first anchor provided in the embodiment of the present application;
fig. 7 is a flowchart of another wheat connecting method provided in the embodiment of the present application;
fig. 8 is a schematic structural diagram of a first anchor provided in an embodiment of the present application;
fig. 9 is a schematic structural diagram of a viewer end according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of a terminal according to an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
Before explaining the embodiments of the present application in detail, an application scenario of the embodiments of the present application is explained. At present, live telecast is increasingly popular with viewers due to its strong interactivity. Live broadcast of wheat is connected, that is, live broadcast videos of anchor broadcasts in different live broadcast rooms are converged into a mixed video, then the converged mixed video is pushed to each live broadcast room, so that live broadcast videos of the anchor broadcasts are played simultaneously in the live broadcast room where the anchor broadcasts of the wheat are connected, and therefore audiences in one live broadcast room can see the live broadcast videos of the anchor broadcasts of a plurality of live broadcast rooms simultaneously. The wheat connecting method provided by the embodiment of the application is applied to the scenes.
Fig. 1 is a schematic diagram of a microphone connecting system according to an embodiment of the present disclosure. As shown in fig. 1, the live-line system includes a first anchor 101, a second anchor 102, a viewer 103 in a live room where the first anchor 101 is located, a viewer 104 in a live room where the second anchor 102 is located, and a server 105.
Any one of the first anchor terminal 101, the second anchor terminal 102, the audience terminal 103 in the live broadcast room in which the first anchor terminal 101 is located, and the audience terminal 104 in the live broadcast room in which the second anchor terminal 102 is located is connected to the server terminal 105 in a wireless or wired manner for communication.
First anchor 101 and second anchor 102 are two anchors that connect to the wheat. In this embodiment of the application, in a normal live mode, first anchor terminal 101 pushes a video acquired by the home terminal to viewer terminal 103 in a live broadcast room where first support terminal 101 is located through server terminal 105. In the live mode of live broadcasting, the first anchor terminal 101 pushes the video collected by the home terminal to the second anchor terminal 102 through the server terminal 105, and the second anchor terminal 102 similarly pushes the video collected by the home terminal to the first anchor terminal 101 through the server terminal 105. The first anchor terminal 101 converges the video collected by the local terminal and the video collected by the second anchor terminal 102 into a mixed video, and the mixed video is pushed to each audience terminal in the live broadcast room where the first anchor terminal 101 is located through the server terminal 105, so that each audience terminal in the live broadcast room where the first anchor terminal 101 is located plays the live broadcast video after the first anchor terminal 101 and the second anchor terminal 102 are connected with the microphone. The implementation of the second anchor terminal 102 pushing the mixed video is substantially the same as the implementation of the first anchor terminal 101 pushing the mixed video, and a description thereof will not be repeated.
The first anchor terminal 101, the second anchor terminal 102, the audience terminal 103 in the live broadcast room where the first anchor terminal 101 is located, and the audience terminal 104 in the live broadcast room where the second anchor terminal 102 is located may be devices such as a mobile phone, a tablet computer, a desktop computer, or an intelligent wearable device.
In addition, fig. 1 only illustrates that two anchor terminals perform wheat connection as an example, and the wheat connection method provided in the embodiment of the present application is also applicable to a scenario where multiple anchor terminals perform wheat connection simultaneously, and at this time, there may be multiple second anchor terminals, and therefore, the explanation is not repeated here.
The server 105 may be an independent server or a cluster server, which is not limited in detail.
The following explains the method for connecting wheat provided in the embodiments of the present application in detail.
Fig. 2 is a flowchart of a method for connecting wheat according to an embodiment of the present application, where the method is applied to a first anchor, and the first anchor is an anchor that connects wheat with a second anchor. As shown in fig. 2, the wheat connecting method includes the following steps:
step 201: when detecting a first live broadcast mode switching message for indicating switching from a common live broadcast mode to a live broadcast mode with microphone, a first anchor end zooms a first video collected in the common live broadcast mode in an equal ratio mode to obtain a zoomed first video, and the zoomed first video is displayed in a first display area of the first anchor end, wherein the common live broadcast mode is a mode in which the first anchor end carries out live broadcast independently.
Step 202: the first anchor terminal receives a second video sent by the second anchor terminal, the second video is scaled in an equal ratio to obtain a scaled second video, the scaled second video is displayed in a second display area of the first anchor terminal, the first display area and the second display area are two display areas divided in a display interface, and the aspect ratio of the first display area and the third display area in the common live broadcast mode is the same as that of the second display area in the common live broadcast mode.
Step 203: the first anchor terminal pushes the zoomed first video and the zoomed second video to a live broadcast room where the first anchor terminal is located, so that a first display area of a spectator terminal in the live broadcast room displays the zoomed first video, and a second display area of the spectator terminal displays the zoomed second video.
In the embodiment of the application, when a first anchor terminal detects a first live mode switching message for indicating switching from a common live mode to a live mode with live microphone, a first video collected in the common live mode is scaled in an equal ratio to obtain a scaled first video, the scaled first video is displayed in a first display area of the first anchor terminal, a second video sent by a second anchor terminal is received, the second video is scaled in an equal ratio to obtain a scaled second video, the scaled second video is displayed in a second display area of the first anchor terminal, and the scaled first video and the scaled second video are pushed to a live room where the first anchor terminal is located. Because the first display area and the second display area are two display areas divided from the display interface, and the aspect ratio of the first display area and the second display area is the same as that of the third display area in the common live broadcast mode, the video displayed by the first display area can be obtained only by scaling the first video acquired in the common live broadcast mode in an equal ratio mode, so that the aspect ratio of the video frame pushed by the first main broadcast end in the common live broadcast mode and the live broadcast mode with wheat is not changed, and the first main broadcast end does not need to cut off when being switched from the common live broadcast mode to the live broadcast mode with wheat, and can directly continue wheat connection through the video acquired in the common live broadcast mode. Because the first anchor end is not cut off and then is played again when the live broadcast mode is switched, the video played by the audience end in the live broadcast room where the first anchor end is located can not be blocked, and therefore the live broadcast video watched by the audience is smooth in the process of switching the live broadcast mode of the first anchor end.
Fig. 3 is a flowchart of a method for connecting to a microphone according to an embodiment of the present application, where the method is applied to a viewer side, the viewer side is a viewer side in a live broadcast room where a first anchor side is located, and the first anchor side is an anchor side that connects to a second anchor side. As shown in fig. 3, the wheat connecting method includes the following steps:
step 301: the method comprises the steps that a spectator end in a live broadcast room where a first anchor end is located receives a zoomed first video and a zoomed second video pushed by the first anchor end, the zoomed first video is obtained by the first anchor end scaling a first video collected in a common live broadcast mode in an equal ratio mode when detecting a first live broadcast mode switching message used for indicating switching from the common live broadcast mode to a continuous broadcast live broadcast mode, the zoomed second video is obtained by the first anchor end scaling a second video sent by the second anchor end in an equal ratio mode after receiving the second video, and the common live broadcast mode is a mode in which the first anchor end carries out live broadcast independently.
Step 302: the method comprises the steps that a spectator end displays a zoomed first video in a first display area of a home end, displays a zoomed second video in a second display area of the home end, the first display area and the second display area are two display areas divided from a display interface, and the aspect ratio of the first display area and the second display area is the same as that of a third display area in a common live broadcast mode.
In the embodiment of the application, when a first anchor terminal detects a first live mode switching message for indicating switching from a common live mode to a live mode with live microphone, a first video collected in the common live mode is scaled in an equal ratio to obtain a scaled first video, the scaled first video is displayed in a first display area of the first anchor terminal, a second video sent by a second anchor terminal is received, the second video is scaled in an equal ratio to obtain a scaled second video, the scaled second video is displayed in a second display area of the first anchor terminal, and the scaled first video and the scaled second video are pushed to a live room where the first anchor terminal is located. Because the first display area and the second display area are two display areas divided from the display interface, and the aspect ratio of the first display area and the second display area is the same as that of the third display area in the common live broadcast mode, the video displayed by the first display area can be obtained only by scaling the first video acquired in the common live broadcast mode in an equal ratio mode, so that the aspect ratio of the video frame pushed by the first main broadcast end in the common live broadcast mode and the live broadcast mode with wheat is not changed, and the first main broadcast end does not need to cut off when being switched from the common live broadcast mode to the live broadcast mode with wheat, and can directly continue wheat connection through the video acquired in the common live broadcast mode. Because the first anchor end is not cut off and then is played again when the live broadcast mode is switched, the video played by the audience end in the live broadcast room where the first anchor end is located can not be blocked, and therefore the live broadcast video watched by the audience is smooth in the process of switching the live broadcast mode of the first anchor end.
Fig. 4 is a flowchart of a wheat connecting method according to an embodiment of the present application, and is applied to the wheat connecting system shown in fig. 1. As shown in fig. 4, the method includes the following steps:
step 401: when the first anchor terminal detects a first live mode switching message for indicating switching from the common live mode to the live mode with the microphone, the first anchor terminal zooms a first video collected in the common live mode in an equal ratio mode to obtain a zoomed first video, and the zoomed first video is displayed in a first display area of the first anchor terminal, wherein the common live mode is a mode in which the first anchor terminal carries out live broadcasting independently.
In this embodiment of the present application, the first anchor may detect the first direct broadcast mode switching message in step 401 in the following two scenarios.
In a first scenario, in the process of performing live broadcast in a common live broadcast mode at a first anchor, a display interface of the first anchor further includes a live broadcast option of connecting to the microphone. Therefore, when the first anchor detects the selection operation for the live online broadcast option, it can be determined that the first direct broadcast mode switching message in step 401 is currently detected.
In addition, when the first anchor terminal detects the selection operation for the live wheat connecting option, the first anchor terminal also determines a second anchor terminal which is currently connected with the first anchor terminal based on the selection operation of the corresponding anchor terminal, and sends a wheat connecting request to the second anchor terminal. At this time, the continuous microphone is actively initiated by the first main broadcasting terminal.
In the second scenario, when the first anchor receives the wheat connection request sent by the second anchor, it may be determined that the first direct mode switching message in step 401 is currently detected. At this time, the connecting to the wheat is actively initiated by the second main broadcasting terminal.
That is, in this embodiment of the present application, the first anchor may be an anchor that actively initiates a mic-joining request, or may be an anchor that passively receives a mic-joining request, which is not specifically limited in this embodiment of the present application. The main broadcasting terminal under the two scenes can carry out live broadcasting through the live broadcasting method for connecting the wheat provided by the embodiment of the application.
In addition, since the display area in the normal live broadcast mode is usually the whole display interface, after the first anchor terminal performs the live broadcast, the current display interface needs to display the live broadcast video of the first anchor terminal and the live broadcast video of the second anchor terminal, so when the first anchor terminal detects a first live broadcast mode switching message for instructing switching from the normal live broadcast mode to the live broadcast mode with live broadcast, the first anchor terminal also divides a first display area and a second display area into which the first display area is used for displaying the audio and video collected by the local terminal. The second display area is used to display the audio and video captured by the second anchor, via step 202 described below.
It should be noted that, because the aspect ratios of the first display area, the second display area, and the third display area are the same, when the current display interface is laid out as an interface including the first display area and the second display area, at this time, a blank area still remains in the current display interface, and in a possible implementation manner, the chat area in the live broadcast process may be covered in the blank area.
Based on step 401, the live video of the home terminal displayed in the first display area is obtained by scaling the live video displayed in the display interface in the normal mode in an equal ratio, so that the aspect ratio of the live video of the home terminal displayed in the first display area and the live video displayed in the first anchor terminal in the normal live mode is consistent. Therefore, when the first main broadcasting end is switched from the common live broadcasting mode to the live broadcasting mode with the TV broadcasting, the first main broadcasting end does not need to cut off the flow, and the live video watched by the audience end in the first live broadcasting room can not be blocked.
Step 402: the first anchor terminal receives a second video sent by the second anchor terminal, the second video is scaled in an equal ratio to obtain a scaled second video, the scaled second video is displayed in a second display area of the first anchor terminal, the first display area and the second display area are two display areas divided in a display interface, and the aspect ratio of the first display area and the third display area in the common live broadcast mode is the same as that of the second display area in the common live broadcast mode.
Based on step 401, the first anchor may detect the first direct mode switching message in two different scenarios. If the first main broadcasting terminal detects the first direct broadcasting mode switching message in the process of actively initiating the wheat connecting request, at this time, after the first main broadcasting terminal sends the wheat connecting request to the second main broadcasting terminal, if the wheat connecting confirmation message returned by the second main broadcasting terminal is received, the second video sent by the second main broadcasting terminal can be received subsequently. At this time, the first anchor terminal can scale the second video in an equal ratio to obtain the scaled second video to be displayed in the second display area.
If the first main broadcasting terminal detects the first direct broadcasting mode switching message in the process of receiving the wheat connecting request, at the moment, when the first main broadcasting terminal receives the wheat connecting request sent by the second main broadcasting terminal, if the first main broadcasting terminal currently confirms that the wheat connecting live broadcasting is carried out with the second main broadcasting terminal, the wheat connecting confirmation message is returned to the second main broadcasting terminal, and then the second video sent by the second main broadcasting terminal can be received. At this time, the first anchor terminal also scales the second video in an equal ratio to obtain a scaled second video, and the scaled second video is displayed in the second display area.
In addition, after the first anchor terminal divides the first display area and the second display area from the current display interface, the first anchor terminal can directly push the videos displayed in the first display area and the second display area to the live broadcasting room where the first anchor terminal is located. It should be noted that, if the first anchor terminal does not receive the second video sent by the second anchor terminal after the first anchor terminal divides the first display area and the second display area from the current display interface, at this time, to avoid the phenomenon that the video in the second display area seen by the viewer in the first anchor terminal appears as a black screen or a blank, at this time, the first reference video is displayed in the first display area of the first anchor terminal.
The first reference video is a default image or a default video clip. For example, the first reference video may be a singing video of a corresponding main preset by the first main terminal.
Step 403: the first anchor terminal pushes the zoomed first video and the zoomed second video to a live broadcast room where the first anchor terminal is located, and a spectator terminal in the live broadcast room where the first anchor terminal is located receives the zoomed first video and the zoomed second video pushed by the first anchor terminal.
Through step 403, the first main broadcast end mixes the two live videos connected with the wheat, and then pushes the mixed video to the live broadcast room where the first main broadcast end is located, so that any audience end in the live broadcast room where the first main broadcast end is located can receive the zoomed first video and the zoomed second video pushed by the first main broadcast end.
It should be noted that, based on step 402, if the first anchor terminal has not received the second video sent by the second anchor terminal after the first anchor terminal divides the first display area and the second display area from the current display interface, the first anchor terminal displays the first reference video in the first display area of the first anchor terminal. In this case, the first anchor pushes the video that is still displayed in the first display area, except that the first reference video is displayed in the first display area.
In addition, in the embodiment of the present application, after the first anchor terminal switches the live mode, the first anchor terminal is not restarted after the live mode is cut off, that is, the first anchor terminal adopts the same video stream to push before and after the live mode is switched. Therefore, in order to facilitate the audience to know that the live broadcast mode of the current first anchor is switched, and adjust the display page of the first anchor in time, before the first anchor pushes the zoomed first video and the zoomed second video to the live broadcast room where the first anchor is located, the first anchor can package the first live broadcast mode switching message into a first video frame; and encoding the first video frame into a video stream pushed to a live broadcast room where the first main broadcast end is located. And any audience terminal in the live broadcast room where the first main broadcast terminal is positioned receives the video stream, decodes the video stream, and displays the decoded video in a display interface. Therefore, when the viewer decodes the first direct broadcast mode switching message from the received video stream, the viewer divides the current display interface into a first display area and a second display area to prepare for subsequent playing of the live broadcast video through step 404.
Step 404: the method comprises the steps that a spectator end displays a zoomed first video in a first display area of a home end, displays a zoomed second video in a second display area of the home end, and the first display area and the second display area are two display areas divided in a display interface.
In one possible implementation manner, if the current video stream is found to be a mixed video by decoding, the viewer temporarily adjusts the page layout so that the display interface includes the first display area and the second display area to display the mixed video.
Alternatively, based on step 403, it may be possible for the first anchor terminal to send a first video frame disguised with a first direct mode switching message before pushing the first video and the second video, in such a scenario that the viewer terminal has received the first video frame before receiving the first video and the second video pushed by the first anchor terminal and has divided a first display area and a second display area according to the first video frame. That is, in step 404, the viewer end may directly display the received scaled first video in the first display area, and the scaled second video in the second display area.
Alternatively, if the viewer receives the video pushed by the first main broadcast terminal in the normal live mode after the first display area and the second display area are divided according to the first video frame, the viewer may directly display the video in the first display area after scaling the video. And displaying the second reference video in a second display area of the local terminal so as to avoid the phenomenon that the video played by the audience terminal is black or blank.
The second reference video in step 404 and the first reference video in step 402 may be the same reference video or different reference videos. The two reference videos are both used for ensuring that the live broadcast video played by the audience terminal does not have the phenomenon of black screen or blank.
In the embodiment of the application, when a first anchor terminal detects a first live mode switching message for indicating switching from a common live mode to a live mode with live microphone, a first video collected in the common live mode is scaled in an equal ratio to obtain a scaled first video, the scaled first video is displayed in a first display area of the first anchor terminal, a second video sent by a second anchor terminal is received, the second video is scaled in an equal ratio to obtain a scaled second video, the scaled second video is displayed in a second display area of the first anchor terminal, and the scaled first video and the scaled second video are pushed to a live room where the first anchor terminal is located. Because the first display area and the second display area are two display areas divided from the display interface, and the aspect ratio of the first display area and the second display area is the same as that of the third display area in the common live broadcast mode, the video displayed by the first display area can be obtained only by scaling the first video acquired in the common live broadcast mode in an equal ratio mode, so that the aspect ratio of the video frame pushed by the first main broadcast end in the common live broadcast mode and the live broadcast mode with wheat is not changed, and the first main broadcast end does not need to cut off when being switched from the common live broadcast mode to the live broadcast mode with wheat, and can directly continue wheat connection through the video acquired in the common live broadcast mode. Because the first anchor end is not cut off and then is played again when the live broadcast mode is switched, the video played by the audience end in the live broadcast room where the first anchor end is located can not be blocked, and therefore the live broadcast video watched by the audience is smooth in the process of switching the live broadcast mode of the first anchor end.
The following examples further illustrate the beneficial effects of the wheat-connecting method provided by the embodiments of the present application.
The anchor end is assumed to be in a normal live mode to carry out live broadcasting in a mode that the video resolution ratio is 16:9, and at the moment, the normal live mode can also be called a vertical screen playing mode. In the related art, in the vertical screen playing mode, if two anchor broadcasters are connected to each other, the viewer views the mixed video at the two anchor ends, and the aspect ratio of the video resolution is changed to 16: 9. Therefore, as shown in fig. 5, in the related art, after the first anchor terminal switches from the vertical screen playing mode to the live broadcast mode, it is necessary to cut off the stream first and then play the stream again.
However, with the method for connecting wheat provided in this embodiment of the present application, in the vertical screen playing mode, if two anchor broadcasters connect wheat, as shown in fig. 6, only one first display area needs to be divided at the upper left side of the display interface of the first anchor end, and one second display area needs to be divided at the upper right side of the display interface, where the aspect ratios of the two display areas are the same as the aspect ratio of the display area in the vertical screen playing mode. Therefore, the first anchor terminal does not need to cut off the stream, the video collected in the vertical screen playing mode is directly displayed in the first display area after being scaled in an equal ratio mode, the second video sent by the second anchor terminal is displayed in the second display area after being scaled in an equal ratio mode, the live broadcast can be realized, and the live broadcast can be carried out again after the stream is cut off in the whole process. In addition, in the display interface shown in fig. 6, the chat area can be covered on the blank area below the first display area and the second display area, so as to fully utilize the display interface.
The foregoing embodiment is used to explain a process of switching from a normal live mode to a live microphone connecting mode by a first anchor terminal, the microphone connecting method provided by the embodiment of the present application is also applicable to a scene of switching from the live microphone connecting mode to the normal live mode, and the following embodiment is used to explain the microphone connecting method in this scene.
Fig. 7 is a flowchart of another wheat connecting method provided in the embodiment of the present application, and is applied to the wheat connecting system shown in fig. 1. As shown in fig. 7, the method includes the steps of:
step 701: when the first anchor terminal detects a second live broadcast mode switching message for indicating switching from the live broadcast mode to the common live broadcast mode, scaling a third video acquired in the live broadcast mode in an equal ratio to obtain a scaled third video, and displaying the scaled third video in a third display area of the first anchor terminal.
Based on the embodiment shown in fig. 4, in the embodiment of the present application, the aspect ratio of one display area displaying the live video in the normal live broadcast mode and the two display areas displaying the live video in the continuous broadcast live broadcast mode are the same. Therefore, when the first main broadcasting terminal needs to be switched from the live broadcasting mode with continuous broadcasting to the common live broadcasting mode, only the current display interface needs to be restored to the third display area, and then the third video acquired in the live broadcasting mode with continuous broadcasting needs to be displayed in the third display area in an equal scaling mode without cutting off the stream, and the second main broadcasting terminal does not need to be started again.
As can be seen from the embodiment shown in fig. 4, the first anchor terminal may detect a first direct broadcast mode switching message for instructing to switch from the normal direct broadcast mode to the direct broadcast connected mode in two scenarios. Likewise, in step 701, the first anchor terminal may also detect a second live mode switching message for instructing to switch from the direct-to-live mode to the normal live mode in both scenarios.
In a first scenario, in the process of live broadcasting in the live broadcasting mode of the first anchor terminal, a display interface of the first anchor terminal further includes a live broadcasting disconnection option. Therefore, when the first anchor detects a selection operation for the disconnected live broadcasting option, it can be determined that the second live mode switching message in step 701 is currently detected.
In addition, when the first main broadcasting terminal detects the selection operation aiming at the live wheat disconnection option, the first main broadcasting terminal also sends a wheat disconnection request to the second main broadcasting terminal. At this time, disconnection of the microphone is actively initiated by the first anchor.
In the second scenario, when the first anchor receives a request for disconnecting from the microphone sent by the second anchor, it may be determined that the second live mode switching message in step 701 is currently detected. At this time, disconnection of the microphone is actively initiated by the second anchor.
That is, in this embodiment of the present application, the first anchor may be an anchor that actively initiates a request to disconnect the microphone, or an anchor that passively receives a request to disconnect the microphone, which is not specifically limited in this embodiment of the present application. The main broadcasting terminal under the two scenes can carry out live broadcasting through the live broadcasting method for connecting the wheat provided by the embodiment of the application.
In addition, in any of the above scenarios, when the first anchor terminal detects a second live mode switching message for instructing switching from the live microphone mode to the normal live mode, the first anchor terminal does not push the live video collected by the first anchor terminal to the second anchor terminal.
Step 702: the first anchor terminal pushes the zoomed third video to a live broadcast room where the first anchor terminal is located, and a spectator terminal in the live broadcast room where the first anchor terminal is located receives the zoomed third video pushed by the first anchor terminal.
Through step 702, the first anchor can continue to push live video in another live mode to the audience in the live broadcast room during the live broadcast switching process without interrupting the stream.
In addition, in the embodiment of the present application, after the first anchor terminal switches the live mode, the first anchor terminal is not restarted after the live mode is cut off, that is, the first anchor terminal adopts the same video stream to push before and after the live mode is switched. Therefore, in order to facilitate the audience to know that the live broadcast mode of the current first anchor terminal is switched, and adjust the display page of the first anchor terminal in time, the first anchor terminal can package the second live broadcast mode switching message into a second video frame before pushing the zoomed third video to the live broadcast room where the first anchor terminal is located; and coding the second video frame into the video stream pushed to the live broadcast room where the first anchor terminal is located, and restoring the current display interface to a third display area by any viewer terminal in the live broadcast room where the first anchor terminal is located when decoding the second live broadcast mode switching message from the received video stream so as to prepare for playing the common live broadcast video subsequently through the step 703.
Step 703: and displaying the scaled third video in a third display area of the local terminal.
In one possible implementation, if the current video stream is not the mixed video as found by the decoding, the viewer temporarily adjusts the page layout to restore the display interface to the third display area to display the third video.
Optionally, based on step 702, the first anchor terminal may further send a second video frame disguised with a second live mode switching message before pushing the zoomed third video, in such a scenario, the viewer terminal has received the second video frame before receiving the zoomed third video pushed by the first anchor terminal, and recovers the third display area according to the second video frame. That is, in step 703, the viewer side may directly display the received scaled third video in the third display area.
In the embodiment of the application, when the first anchor terminal detects a second live mode switching message for indicating switching from the wheat-connected live mode to the common live mode, the third video acquired in the wheat-connected live mode is scaled in an equal ratio to obtain a scaled third video, the scaled third video is displayed in a third display area of the first anchor terminal, and the scaled third video is pushed to a live room where the first anchor terminal is located. Because the aspect ratio of the first display area and the second display area in the continuous live broadcast mode is the same as that of the third display area in the common live broadcast mode, the video displayed in the third display area can be obtained only by scaling the third video acquired in the continuous live broadcast mode in an equal ratio mode, and thus, the aspect ratio of the video frames pushed by the first main broadcast end in the continuous live broadcast mode and the common live broadcast mode is not changed, so that the first main broadcast end does not need to cut off when switching from the continuous live broadcast mode to the common live broadcast mode, and the live broadcast can be continuously performed directly through the video acquired in the continuous live broadcast mode. Because the first anchor end is not cut off and then is played again when the live broadcast mode is switched, the video played by the audience end in the live broadcast room where the first anchor end is located can not be blocked, and therefore the live broadcast video watched by the audience is smooth in the process of switching the live broadcast mode of the first anchor end.
Fig. 8 is a schematic structural diagram of a first anchor provided in an embodiment of the present application. The first anchor is an anchor that connects to a second anchor, and as shown in fig. 8, the first anchor 800 includes:
the first display module 801, when detecting a first live mode switching message for instructing switching from a normal live mode to a live mode with microphone, proportionally scaling a first video acquired in the normal live mode to obtain a scaled first video, and displaying the scaled first video in a first display area of a first anchor terminal, where the normal live mode is a mode in which the first anchor terminal performs live broadcast alone;
the second display module 802 is configured to receive a second video sent by a second anchor, scale the second video in an equal ratio to obtain a scaled second video, and display the scaled second video in a second display area of the first anchor, where the first display area and the second display area are two display areas divided in a display interface, and the aspect ratios of the first display area and the second display area are the same as the aspect ratio of a third display area in a normal live mode;
the pushing module 803 is configured to push the zoomed first video and the zoomed second video to a live broadcast room where the first anchor terminal is located, so that the zoomed first video is displayed in a first display area of a viewer terminal in the live broadcast room, and the zoomed second video is displayed in a second display area of the viewer terminal.
Optionally, the second display module is further configured to:
after the zoomed first video is displayed in the first display area of the first anchor terminal, if the second video is not received at the current time, the first reference video is displayed in the second display area of the first anchor terminal.
Optionally, the first anchor further comprises:
the first encapsulation module is used for encapsulating the first direct-broadcasting mode switching message into a first video frame;
the push module is further configured to encode the first video frame into a video stream pushed to a live broadcast room where the first anchor terminal is located, so that when a viewer terminal in the live broadcast room decodes the first direct broadcast mode switching message, a first display area and a second display area are partitioned in a current display interface.
Optionally, the first anchor further comprises:
the third display module is used for scaling a third video acquired in the live broadcasting mode in an equal ratio to obtain a scaled third video when a second live broadcasting mode switching message for indicating switching from the live broadcasting mode to the common live broadcasting mode is detected, and displaying the scaled third video in a third display area of the first main broadcasting end;
and the pushing module is further used for pushing the zoomed third video to a live broadcast room where the first anchor terminal is located, so that a third display area of a viewer terminal in the live broadcast room displays the zoomed third video.
Optionally, the first anchor further comprises:
the second encapsulation module is used for encapsulating the second live broadcast mode switching message into a second video frame;
and the pushing module is further used for encoding the second video frame into the video stream pushed to the live broadcast room where the first main broadcast end is located, so that when the audience end in the live broadcast room decodes the second live broadcast mode switching message, the current display interface is restored to the third display area.
In the embodiment of the application, when a first anchor terminal detects a first live mode switching message for indicating switching from a common live mode to a live mode with live microphone, a first video collected in the common live mode is scaled in an equal ratio to obtain a scaled first video, the scaled first video is displayed in a first display area of the first anchor terminal, a second video sent by a second anchor terminal is received, the second video is scaled in an equal ratio to obtain a scaled second video, the scaled second video is displayed in a second display area of the first anchor terminal, and the scaled first video and the scaled second video are pushed to a live room where the first anchor terminal is located. Because the first display area and the second display area are two display areas divided from the display interface, and the aspect ratio of the first display area and the second display area is the same as that of the third display area in the common live broadcast mode, the video displayed by the first display area can be obtained only by scaling the first video acquired in the common live broadcast mode in an equal ratio mode, so that the aspect ratio of the video frame pushed by the first main broadcast end in the common live broadcast mode and the live broadcast mode with wheat is not changed, and the first main broadcast end does not need to cut off when being switched from the common live broadcast mode to the live broadcast mode with wheat, and can directly continue wheat connection through the video acquired in the common live broadcast mode. Because the first anchor end is not cut off and then is played again when the live broadcast mode is switched, the video played by the audience end in the live broadcast room where the first anchor end is located can not be blocked, and therefore the live broadcast video watched by the audience is smooth in the process of switching the live broadcast mode of the first anchor end.
It should be noted that: in the above embodiment, when the first anchor terminal performs a connection, only the division of the functional modules is illustrated, and in practical applications, the function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the first anchor terminal and the embodiments of the method for connecting to the wheat provided by the above embodiments belong to the same concept, and specific implementation processes thereof are detailed in the embodiments of the methods and are not described herein again.
Fig. 9 is a schematic structural diagram of a viewer end according to an embodiment of the present application. The audience is an audience in a live broadcast room where the first anchor is located, and the first anchor is an anchor that connects to the second anchor, as shown in fig. 9, the audience 900 includes:
a first receiving module 901, configured to receive a zoomed first video and a zoomed second video that are pushed by a first anchor, where the zoomed first video is obtained by the first anchor scaling a first video acquired in a normal live mode when detecting a first live mode switching message that indicates switching from a normal live mode to a live mode with microphone, and the zoomed second video is obtained by the first anchor receiving a second video sent by a second anchor and scaling the second video in an equal ratio, and the normal live mode is a mode in which the first anchor independently performs live broadcast;
the first display module 902 is configured to display the zoomed first video in a first display area of the local end, and display the zoomed second video in a second display area of the local end, where the first display area and the second display area are two display areas divided from a display interface, and an aspect ratio of the first display area and the second display area is the same as an aspect ratio of a third display area in a normal live mode.
Optionally, the viewer side further comprises:
the dividing module is used for dividing a first display area and a second display area in a current display interface when the first direct-playing mode switching message is decoded from the received video stream.
Optionally, the first display module is further configured to display the second reference video in the second display area of the local terminal if the zoomed second video is not received after the first display area and the second display area are divided in the current display interface.
Optionally, the viewer side further comprises:
the second receiving module is used for receiving a zoomed third video pushed by the first anchor terminal, wherein the third video is obtained by the first anchor terminal scaling the third video acquired in the live broadcasting mode with wheat in an equal ratio when detecting a second live broadcasting mode switching message for indicating switching from the live broadcasting mode with wheat to the common live broadcasting mode;
and the second display module is used for displaying the zoomed third video in a third display area of the local terminal.
Optionally, the viewer side further comprises:
and the restoring module is used for restoring the current display interface to the third display area when the second live mode switching message is decoded from the received video stream.
It should be noted that: in the above embodiment, when playing a live telecast video, the audience terminal only exemplifies the division of the functional modules, and in practical application, the function distribution may be completed by different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the embodiments of the method for connecting the client to the microphone and the spectator provided by the above embodiments belong to the same concept, and the specific implementation process thereof is described in the embodiments of the method for details, which is not described herein again.
Fig. 10 is a schematic structural diagram of a terminal 1000 according to an embodiment of the present application. Either the broadcaster or the viewer in fig. 1 can be implemented by the terminal shown in fig. 10. The terminal 1000 can be: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, motion video Experts compression standard Audio Layer 3), an MP4 player (Moving Picture Experts Group Audio Layer IV, motion video Experts compression standard Audio Layer 4), a notebook computer, or a desktop computer. Terminal 1000 can also be referred to as user equipment, portable terminal, laptop terminal, desktop terminal, or the like by other names.
In general, terminal 1000 can include: a processor 1001 and a memory 1002.
Processor 1001 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so forth. The processor 1001 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 1001 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also referred to as a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 1001 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the display screen. In some embodiments, the processor 1001 may further include an AI (Artificial Intelligence) processor for processing a computing operation related to machine learning.
Memory 1002 may include one or more computer-readable storage media, which may be non-transitory. The memory 1002 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 1002 is used to store at least one instruction for execution by processor 1001 to implement the microphone attachment method provided by method embodiments herein.
In some embodiments, terminal 1000 can also optionally include: a peripheral interface 1003 and at least one peripheral. The processor 1001, memory 1002 and peripheral interface 1003 may be connected by a bus or signal line. Various peripheral devices may be connected to peripheral interface 1003 via a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 1004, touch screen display 1005, camera 1006, audio circuitry 1007, positioning components 1008, and power supply 1009.
The peripheral interface 1003 may be used to connect at least one peripheral related to I/O (Input/Output) to the processor 1001 and the memory 1002. In some embodiments, processor 1001, memory 1002, and peripheral interface 1003 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 1001, the memory 1002, and the peripheral interface 1003 may be implemented on separate chips or circuit boards, which are not limited by this embodiment.
The Radio Frequency circuit 1004 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 1004 communicates with communication networks and other communication devices via electromagnetic signals. The radio frequency circuit 1004 converts an electrical signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 1004 comprises: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuit 1004 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: metropolitan area networks, various generation mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the rf circuit 1004 may further include NFC (Near Field Communication) related circuits, which are not limited in this application.
The display screen 1005 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 1005 is a touch display screen, the display screen 1005 also has the ability to capture touch signals on or over the surface of the display screen 1005. The touch signal may be input to the processor 1001 as a control signal for processing. At this point, the display screen 1005 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, display screen 1005 can be one, providing a front panel of terminal 1000; in other embodiments, display 1005 can be at least two, respectively disposed on different surfaces of terminal 1000 or in a folded design; in still other embodiments, display 1005 can be a flexible display disposed on a curved surface or on a folded surface of terminal 1000. Even more, the display screen 1005 may be arranged in a non-rectangular irregular figure, i.e., a shaped screen. The Display screen 1005 may be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), and the like.
The camera assembly 1006 is used to capture images or video. Optionally, the camera assembly 1006 includes a front camera and a rear camera. Generally, a front camera is disposed at a front panel of the terminal, and a rear camera is disposed at a rear surface of the terminal. In some embodiments, the number of the rear cameras is at least two, and each rear camera is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and VR (Virtual Reality) shooting functions or other fusion shooting functions. In some embodiments, camera assembly 1006 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
The audio circuit 1007 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 1001 for processing or inputting the electric signals to the radio frequency circuit 1004 for realizing voice communication. For stereo sound collection or noise reduction purposes, multiple microphones can be provided, each at a different location of terminal 1000. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from the processor 1001 or the radio frequency circuit 1004 into sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, the audio circuit 1007 may also include a headphone jack.
A Location component 1008 is employed to locate a current geographic Location of terminal 1000 for purposes of navigation or LBS (Location Based Service). The Positioning component 1008 may be a Positioning component based on the Global Positioning System (GPS) in the united states, the beidou System in china, the graves System in russia, or the galileo System in the european union.
Power supply 1009 is used to supply power to various components in terminal 1000. The power source 1009 may be alternating current, direct current, disposable batteries, or rechargeable batteries. When the power source 1009 includes a rechargeable battery, the rechargeable battery may support wired charging or wireless charging. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, terminal 1000 can also include one or more sensors 1010. The one or more sensors 1010 include, but are not limited to: acceleration sensor 1011, gyro sensor 1012, pressure sensor 1013, fingerprint sensor 1014, optical sensor 1015, and proximity sensor 1016.
Acceleration sensor 1011 can detect acceleration magnitudes on three coordinate axes of a coordinate system established with terminal 1000. For example, the acceleration sensor 1011 may be used to detect components of the gravitational acceleration in three coordinate axes. The processor 1001 may control the touch display screen 1005 to display a user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 1011. The acceleration sensor 1011 may also be used for acquisition of motion data of a game or a user.
The gyro sensor 1012 may detect a body direction and a rotation angle of the terminal 1000, and the gyro sensor 1012 and the acceleration sensor 1011 may cooperate to acquire a 3D motion of the user on the terminal 1000. From the data collected by the gyro sensor 1012, the processor 1001 may implement the following functions: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
Pressure sensor 1013 may be disposed on a side frame of terminal 1000 and/or on a lower layer of touch display 1005. When pressure sensor 1013 is disposed on a side frame of terminal 1000, a user's grip signal on terminal 1000 can be detected, and processor 1001 performs left-right hand recognition or shortcut operation according to the grip signal collected by pressure sensor 1013. When the pressure sensor 1013 is disposed at a lower layer of the touch display screen 1005, the processor 1001 controls the operability control on the UI interface according to the pressure operation of the user on the touch display screen 1005. The operability control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.
The fingerprint sensor 1014 is used to collect a fingerprint of the user, and the processor 1001 identifies the user according to the fingerprint collected by the fingerprint sensor 1014, or the fingerprint sensor 1014 identifies the user according to the collected fingerprint. Upon identifying that the user's identity is a trusted identity, the processor 1001 authorizes the user to perform relevant sensitive operations including unlocking a screen, viewing encrypted information, downloading software, paying, and changing settings, etc. Fingerprint sensor 1014 can be disposed on the front, back, or side of terminal 1000. When a physical key or vendor Logo is provided on terminal 1000, fingerprint sensor 1014 can be integrated with the physical key or vendor Logo.
The optical sensor 1015 is used to collect the ambient light intensity. In one embodiment, the processor 1001 may control the display brightness of the touch display screen 1005 according to the intensity of the ambient light collected by the optical sensor 1015. Specifically, when the ambient light intensity is high, the display brightness of the touch display screen 1005 is increased; when the ambient light intensity is low, the display brightness of the touch display screen 1005 is turned down. In another embodiment, the processor 1001 may also dynamically adjust the shooting parameters of the camera assembly 1006 according to the intensity of the ambient light collected by the optical sensor 1015.
Proximity sensor 1016, also known as a distance sensor, is typically disposed on a front panel of terminal 1000. Proximity sensor 1016 is used to gather the distance between the user and the front face of terminal 1000. In one embodiment, when proximity sensor 1016 detects that the distance between the user and the front surface of terminal 1000 gradually decreases, processor 1001 controls touch display 1005 to switch from a bright screen state to a dark screen state; when proximity sensor 1016 detects that the distance between the user and the front of terminal 1000 is gradually increased, touch display screen 1005 is controlled by processor 1001 to switch from a breath-screen state to a bright-screen state.
Those skilled in the art will appreciate that the configuration shown in FIG. 10 is not intended to be limiting and that terminal 1000 can include more or fewer components than shown, or some components can be combined, or a different arrangement of components can be employed.
The embodiment of the present application further provides a non-transitory computer-readable storage medium, and when instructions in the storage medium are executed by a processor of a terminal, the terminal is enabled to execute the microphone connecting method provided in the above embodiment.
The embodiment of the present application further provides a computer program product containing instructions, which when run on a terminal, causes the terminal to execute the method for connecting to a microphone provided in the foregoing embodiment.
In addition, the embodiment of the application also provides a wheat connecting system, which comprises a first main broadcasting end, a second main broadcasting end and an audience end in a live broadcasting room where the first main broadcasting end is located, wherein the first main broadcasting end and the second main broadcasting end are two main broadcasting ends for wheat connecting;
the detailed description of the specific functions of the first broadcaster and the viewer has been given in the above embodiments of the method, and will not be repeated herein.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (25)

1. A method for connecting wheat is applied to a first anchor terminal, wherein the first anchor terminal is an anchor terminal for connecting wheat with a second anchor terminal, and the method comprises the following steps:
when a first live broadcast mode switching message for indicating switching from a common live broadcast mode to a live broadcast mode with live broadcast is detected, scaling a first video acquired in the common live broadcast mode in an equal ratio manner to obtain a scaled first video, and displaying the scaled first video in a first display area of a first main broadcast end, wherein the common live broadcast mode is a mode in which the first main broadcast end carries out live broadcast independently;
receiving a second video sent by a second anchor terminal, scaling the second video in an equal ratio to obtain a scaled second video, and displaying the scaled second video in a second display area of the first anchor terminal, wherein the first display area and the second display area are two display areas divided from a display interface, and the aspect ratio of the first display area and the third display area in the common live broadcast mode is the same as that of the second display area;
and pushing the zoomed first video and the zoomed second video to a live broadcast room where the first main broadcast end is located, so that a first display area of a spectator end in the live broadcast room displays the zoomed first video, and a second display area of the spectator end displays the zoomed second video.
2. The method of claim 1, wherein said receiving a second video transmitted by said second anchor further comprises
After the zoomed first video is displayed in the first display area of the first anchor terminal, if the second video is not received at the current time, the first reference video is displayed in the second display area of the first anchor terminal.
3. The method of claim 1, wherein before pushing the scaled first video and the scaled second video to a live broadcast room where the first anchor is located, the method further comprises:
encapsulating the first direct-play mode switching message into a first video frame;
and encoding the first video frame into a video stream pushed to a live broadcast room where the first main broadcast end is located, so that when a viewer end in the live broadcast room decodes the first direct broadcast mode switching message, a first display area and a second display area are divided in a current display interface.
4. A method according to any one of claims 1 to 3, wherein the method further comprises:
when a second live broadcast mode switching message for indicating switching from the microphone connecting live broadcast mode to the common live broadcast mode is detected, scaling a third video acquired in the microphone connecting live broadcast mode in an equal ratio manner to obtain a scaled third video, and displaying the scaled third video in a third display area of the first main broadcast terminal;
and pushing the zoomed third video to a live broadcast room where the first main broadcast end is located, so that a third display area of a viewer end in the live broadcast room displays the zoomed third video.
5. The method of claim 4, wherein before pushing the scaled third video sum to a live broadcast room where the first main broadcast end is located, further comprising:
packaging the second live broadcast mode switching message into a second video frame;
and encoding the second video frame into a video stream pushed to a live broadcast room where the first main broadcast end is located, so that when a spectator end in the live broadcast room decodes the second live broadcast mode switching message, a current display interface is restored to the third display area.
6. A method for connecting to wheat is applied to a spectator end, wherein the spectator end is a spectator end in a live broadcast room where a first main broadcast end is located, the first main broadcast end is a main broadcast end for connecting to wheat with a second main broadcast end, and the method comprises the following steps:
receiving a zoomed first video and a zoomed second video which are pushed by a first anchor terminal, wherein the zoomed first video is obtained by scaling a first video collected in a common live broadcast mode in an equal ratio when the first anchor terminal detects a first live broadcast mode switching message for indicating switching from the common live broadcast mode to a live broadcast mode with microphone, the zoomed second video is obtained by scaling the second video in an equal ratio when the first anchor terminal receives a second video sent by a second anchor terminal, and the common live broadcast mode is a mode in which the first anchor terminal independently carries out live broadcast;
the zoomed first video is displayed in a first display area of the local terminal, the zoomed second video is displayed in a second display area of the local terminal, the first display area and the second display area are two display areas divided from a display interface, and the aspect ratio of the first display area to the third display area in the common live mode is the same as that of the second display area in the common live mode.
7. The method of claim 6, wherein before receiving the first scaled video and the second scaled video pushed by the first anchor, further comprising:
and when the first direct-playing mode switching message is decoded from the received video stream, dividing a first display area and a second display area in the current display interface.
8. The method of claim 7, wherein after the dividing the first display area and the second display area in the current display interface, further comprising:
and if the zoomed second video is not received after the first display area and the second display area are divided in the current display interface, displaying a second reference video in the second display area of the local terminal.
9. The method of claim 6, wherein the method further comprises:
receiving a zoomed third video pushed by the first anchor, wherein the third video is obtained by scaling a third video acquired in the live telecast mode in an equal ratio when the first anchor detects a second live telecast mode switching message for indicating switching from the live telecast mode to the common live telecast mode;
and displaying the zoomed third video in a third display area of the local terminal.
10. The method of claim 9, wherein before receiving the scaled third video pushed by the first anchor, further comprising:
and when the second live mode switching message is decoded from the received video stream, restoring the current display interface to the third display area.
11. A first anchor terminal, wherein the first anchor terminal is an anchor terminal for connecting to a second anchor terminal, the first anchor terminal comprising:
the first display module is used for scaling a first video acquired in a common live broadcast mode in an equal ratio to obtain a scaled first video when a first live broadcast mode switching message for indicating switching from the common live broadcast mode to a live broadcast mode with wheat is detected, and displaying the scaled first video in a first display area of a first main broadcast end, wherein the common live broadcast mode is a mode in which the first main broadcast end independently carries out live broadcast;
the second display module is configured to receive a second video sent by the second anchor, scale the second video in an equal ratio to obtain a scaled second video, and display the scaled second video in a second display area of the first anchor, where the first display area and the second display area are two display areas divided from a display interface, and an aspect ratio of the first display area and the second display area is the same as an aspect ratio of a third display area in the normal live broadcast mode;
and the pushing module is used for pushing the zoomed first video and the zoomed second video to a live broadcast room where the first main broadcast end is located, so that the zoomed first video is displayed in a first display area of a spectator end in the live broadcast room, and the zoomed second video is displayed in a second display area of the spectator end.
12. The first anchor of claim 11, wherein the second display module is further configured to:
after the zoomed first video is displayed in the first display area of the first anchor terminal, if the second video is not received at the current time, the first reference video is displayed in the second display area of the first anchor terminal.
13. The first anchor terminal of claim 11, wherein the first anchor terminal further comprises:
a first encapsulation module, configured to encapsulate the first direct broadcast mode switching message into a first video frame;
the push module is further configured to encode the first video frame into a video stream pushed to a live broadcast room where the first anchor terminal is located, so that when a viewer terminal in the live broadcast room decodes the first direct broadcast mode switching message, a first display area and a second display area are partitioned in a current display interface.
14. The first anchor of any one of claims 11 to 13, wherein the first anchor further comprises:
a third display module, configured to, when a second live broadcast mode switching message indicating switching from the microphone connecting live broadcast mode to the normal live broadcast mode is detected, proportionally scale a third video acquired in the microphone connecting live broadcast mode to obtain a scaled third video, and display the scaled third video in a third display area of the first anchor;
the pushing module is further configured to push the zoomed third video to a live broadcast room where the first anchor terminal is located, so that a third display area of a viewer terminal in the live broadcast room displays the zoomed third video.
15. The first anchor terminal of claim 14, wherein the first anchor terminal further comprises:
the second encapsulation module is used for encapsulating the second live broadcast mode switching message into a second video frame;
the push module is further configured to encode the second video frame into a video stream pushed to a live broadcast room where the first anchor terminal is located, so that when a viewer terminal in the live broadcast room decodes the second live broadcast mode switching message, a current display interface is restored to the third display area.
16. A spectator end, wherein the spectator end is a spectator end in a live broadcast room where a first anchor end is located, the first anchor end is an anchor end connecting with a second anchor end, and the spectator end comprises:
a first receiving module, configured to receive a zoomed first video and a zoomed second video that are pushed by a first anchor terminal, where the zoomed first video is obtained by the first anchor terminal scaling a first video acquired in a normal live broadcast mode when detecting a first live broadcast mode switching message that indicates switching from a normal live broadcast mode to a live broadcast mode with microphone, and the zoomed second video is obtained by the first anchor terminal scaling a second video sent by a second anchor terminal when receiving the second video, and the normal live broadcast mode is a mode in which the first anchor terminal performs live broadcast alone;
the first display module is used for displaying the zoomed first video in a first display area of the local end, displaying the zoomed second video in a second display area of the local end, the first display area and the second display area are two display areas divided from a display interface, and the aspect ratio of the first display area and the second display area is the same as that of a third display area in a common live mode.
17. The viewer terminal of claim 16, further comprising:
and the dividing module is used for dividing a first display area and a second display area in the current display interface when the first direct-playing mode switching message is decoded from the received video stream.
18. The viewer's end of claim 17, wherein the first display module is further configured to display a second reference video in the second display area of the local end if the zoomed second video is not received after the first display area and the second display area are divided in the current display interface.
19. The viewer terminal of any of claims 16 to 18, further comprising:
a second receiving module, configured to receive a zoomed third video pushed by the first anchor, where the third video is obtained by the first anchor scaling, in an equal ratio, a third video acquired in the live telecast mode when detecting a second live mode switching message used to instruct to switch from the live telecast mode to the normal live telecast mode;
and the second display module is used for displaying the zoomed third video in a third display area of the home terminal.
20. The viewer terminal of claim 19, further comprising:
and the restoring module is used for restoring the current display interface to the third display area when the second live mode switching message is decoded from the received video stream.
21. A first anchor, wherein the first anchor comprises:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the steps of the method of any of the above claims 1 to 5.
22. A spectator, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the steps of the method of any of the preceding claims 6 to 10.
23. A computer-readable storage medium having stored thereon instructions which, when executed by a processor, carry out the steps of the method of any of the preceding claims 1 to 5.
24. A computer-readable storage medium having stored thereon instructions which, when executed by a processor, carry out the steps of the method of any of the preceding claims 6 to 10.
25. A wheat connecting system is characterized by comprising a first main broadcasting end, a second main broadcasting end and an audience end in a live broadcasting room where the first main broadcasting end is located, wherein the first main broadcasting end and the second main broadcasting end are two main broadcasting ends for wheat connecting;
the first anchor for implementing the steps of the method of any one of the above claims 1 to 5;
the viewer side is adapted to implement the steps of the method of any of the preceding claims 6 to 10.
CN201911252003.3A 2019-12-09 2019-12-09 Method and system for connecting to wheat, first main broadcasting terminal, audience terminal and computer storage medium Active CN111083507B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911252003.3A CN111083507B (en) 2019-12-09 2019-12-09 Method and system for connecting to wheat, first main broadcasting terminal, audience terminal and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911252003.3A CN111083507B (en) 2019-12-09 2019-12-09 Method and system for connecting to wheat, first main broadcasting terminal, audience terminal and computer storage medium

Publications (2)

Publication Number Publication Date
CN111083507A CN111083507A (en) 2020-04-28
CN111083507B true CN111083507B (en) 2021-11-23

Family

ID=70313429

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911252003.3A Active CN111083507B (en) 2019-12-09 2019-12-09 Method and system for connecting to wheat, first main broadcasting terminal, audience terminal and computer storage medium

Country Status (1)

Country Link
CN (1) CN111083507B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113727164B (en) * 2020-05-26 2024-04-26 百度在线网络技术(北京)有限公司 Live broadcasting room entrance display method and device, electronic equipment and storage medium
CN112437326A (en) * 2020-11-23 2021-03-02 广州虎牙科技有限公司 Video display method and device, electronic equipment and computer readable storage medium
CN112333525A (en) * 2021-01-05 2021-02-05 晶晨半导体(深圳)有限公司 Method for switching video window, electronic equipment and storage medium
CN113115119A (en) * 2021-04-02 2021-07-13 北京达佳互联信息技术有限公司 Video stream processing method, device and storage medium
CN113315987A (en) * 2021-05-27 2021-08-27 北京达佳互联信息技术有限公司 Video live broadcast method and video live broadcast device
CN114025187B (en) * 2021-10-28 2023-01-20 北京达佳互联信息技术有限公司 Live broadcast method and device and electronic equipment
CN115134620B (en) * 2022-06-30 2024-09-03 广州方硅信息技术有限公司 Picture display method and device under continuous wheat direct broadcast, electronic equipment and storage medium
WO2024087197A1 (en) * 2022-10-28 2024-05-02 广州酷狗计算机科技有限公司 Live stream switching method and apparatus, server, terminal, and program product

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101582254A (en) * 2008-05-13 2009-11-18 深圳华为通信技术有限公司 Method and device for presenting image
WO2010091750A1 (en) * 2009-02-12 2010-08-19 Zoran (France) Scaling method and device for image signals
CN107864122A (en) * 2017-10-18 2018-03-30 武汉斗鱼网络科技有限公司 A kind of display methods and device of even wheat main broadcaster's live TV stream
WO2018152437A1 (en) * 2017-02-17 2018-08-23 Vid Scale, Inc. Systems and methods for selective object-of-interest zooming in streaming video
CN108900859A (en) * 2018-08-17 2018-11-27 广州酷狗计算机科技有限公司 Live broadcasting method and system
CN109165076A (en) * 2018-10-17 2019-01-08 Oppo广东移动通信有限公司 Display methods, device, terminal and the storage medium of game application

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105554550B (en) * 2015-12-08 2018-12-04 腾讯科技(北京)有限公司 Video broadcasting method and device
CN106028095A (en) * 2016-06-07 2016-10-12 北京奇虎科技有限公司 Method and device for controlling video playing
CN106454407B (en) * 2016-10-25 2020-03-06 广州华多网络科技有限公司 Video live broadcasting method and device
CN106713945B (en) * 2016-12-06 2020-05-12 广州华多网络科技有限公司 Client live broadcast processing method and device, live broadcast server and live broadcast system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101582254A (en) * 2008-05-13 2009-11-18 深圳华为通信技术有限公司 Method and device for presenting image
WO2010091750A1 (en) * 2009-02-12 2010-08-19 Zoran (France) Scaling method and device for image signals
WO2018152437A1 (en) * 2017-02-17 2018-08-23 Vid Scale, Inc. Systems and methods for selective object-of-interest zooming in streaming video
CN107864122A (en) * 2017-10-18 2018-03-30 武汉斗鱼网络科技有限公司 A kind of display methods and device of even wheat main broadcaster's live TV stream
CN108900859A (en) * 2018-08-17 2018-11-27 广州酷狗计算机科技有限公司 Live broadcasting method and system
CN109165076A (en) * 2018-10-17 2019-01-08 Oppo广东移动通信有限公司 Display methods, device, terminal and the storage medium of game application

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
三维视频技术在仿真实验中的应用;付丽秋;《实验技术与管理》;20131220;第30卷(第12期);全文 *

Also Published As

Publication number Publication date
CN111083507A (en) 2020-04-28

Similar Documents

Publication Publication Date Title
CN111083507B (en) Method and system for connecting to wheat, first main broadcasting terminal, audience terminal and computer storage medium
CN108966008B (en) Live video playback method and device
CN108900859B (en) Live broadcasting method and system
CN111147878B (en) Stream pushing method and device in live broadcast and computer storage medium
CN109348247B (en) Method and device for determining audio and video playing time stamp and storage medium
CN108093268B (en) Live broadcast method and device
CN111372126B (en) Video playing method, device and storage medium
CN111464830B (en) Method, device, system, equipment and storage medium for image display
CN112929687A (en) Interaction method, device and equipment based on live video and storage medium
CN109413453B (en) Video playing method, device, terminal and storage medium
CN109874043B (en) Video stream sending method, video stream playing method and video stream playing device
CN108174275B (en) Image display method and device and computer readable storage medium
CN111355974A (en) Method, apparatus, system, device and storage medium for virtual gift giving processing
CN111107389B (en) Method, device and system for determining live broadcast watching time length
CN107896337B (en) Information popularization method and device and storage medium
CN111586431B (en) Method, device and equipment for live broadcast processing and storage medium
CN108900921A (en) Even wheat live broadcasting method, device and storage medium
CN111010588B (en) Live broadcast processing method and device, storage medium and equipment
CN108881286A (en) Method, terminal, sound-box device and the system of multimedia control
CN110958464A (en) Live broadcast data processing method and device, server, terminal and storage medium
CN110996117A (en) Video transcoding method and device, electronic equipment and storage medium
CN113271470A (en) Live broadcast wheat connecting method, device, terminal, server and storage medium
CN111045945A (en) Live broadcast simulating method, device, terminal, storage medium and program product
CN111669640A (en) Virtual article transfer special effect display method, device, terminal and storage medium
CN111586444A (en) Video processing method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant