CN115174983A - Live broadcast processing method and device, electronic equipment and storage medium - Google Patents
Live broadcast processing method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN115174983A CN115174983A CN202210768090.3A CN202210768090A CN115174983A CN 115174983 A CN115174983 A CN 115174983A CN 202210768090 A CN202210768090 A CN 202210768090A CN 115174983 A CN115174983 A CN 115174983A
- Authority
- CN
- China
- Prior art keywords
- picture
- anchor
- live
- live broadcast
- layout information
- 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.)
- Pending
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 26
- 239000002131 composite material Substances 0.000 claims abstract description 210
- 230000003993 interaction Effects 0.000 claims abstract description 31
- 230000004044 response Effects 0.000 claims abstract description 29
- 230000015572 biosynthetic process Effects 0.000 claims abstract description 24
- 238000000034 method Methods 0.000 claims abstract description 24
- 238000003786 synthesis reaction Methods 0.000 claims abstract description 24
- 238000012545 processing Methods 0.000 claims abstract description 19
- 238000004590 computer program Methods 0.000 claims abstract description 7
- 230000002452 interceptive effect Effects 0.000 claims description 39
- 230000000694 effects Effects 0.000 abstract description 12
- 238000005516 engineering process Methods 0.000 description 14
- 238000004891 communication Methods 0.000 description 11
- 238000010586 diagram Methods 0.000 description 10
- 238000009877 rendering Methods 0.000 description 7
- 241000209140 Triticum Species 0.000 description 6
- 235000021307 Triticum Nutrition 0.000 description 6
- 230000007547 defect Effects 0.000 description 6
- 238000007499 fusion processing Methods 0.000 description 6
- 230000003287 optical effect Effects 0.000 description 4
- 230000005236 sound signal Effects 0.000 description 4
- 230000008569 process Effects 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- OKTJSMMVPCPJKN-UHFFFAOYSA-N Carbon Chemical compound [C] OKTJSMMVPCPJKN-UHFFFAOYSA-N 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 229910021389 graphene Inorganic materials 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 230000000977 initiatory effect Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/431—Generation of visual interfaces for content selection or interaction; Content or additional data rendering
- H04N21/4312—Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/21—Server components or server architectures
- H04N21/218—Source of audio or video content, e.g. local disk arrays
- H04N21/2187—Live feed
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/431—Generation of visual interfaces for content selection or interaction; Content or additional data rendering
- H04N21/4312—Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
- H04N21/4316—Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations for displaying supplemental content in a region of the screen, e.g. an advertisement in a separate window
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/443—OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
- H04N21/4438—Window management, e.g. event handling following interaction with the user interface
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/478—Supplemental services, e.g. displaying phone caller identification, shopping application
- H04N21/4788—Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Business, Economics & Management (AREA)
- Marketing (AREA)
- General Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Human Computer Interaction (AREA)
- Software Systems (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The disclosure relates to a live broadcast processing method, a live broadcast processing device, an electronic device, a storage medium and a computer program product. The method comprises the following steps: responding to the live broadcast interaction operation, and displaying a first live broadcast synthesis picture; the first live broadcast synthesis picture comprises a live broadcast picture corresponding to a live broadcast account participating in live broadcast interaction operation, the first live broadcast synthesis picture is displayed according to first picture layout information, and the first picture layout information is used for representing initial layout information of the live broadcast picture in the first live broadcast synthesis picture; updating the first picture layout information in response to picture adjustment operation aiming at any anchor picture in the first direct broadcasting composite picture to obtain second picture layout information; switching the displayed first direct broadcasting composite picture into a second direct broadcasting composite picture; the second live broadcast composite picture comprises a current anchor picture corresponding to the anchor account, and the second live broadcast composite picture is displayed according to the second picture layout information. By adopting the method, the display effect of the live broadcast picture can be improved.
Description
Technical Field
The present disclosure relates to the field of internet technologies, and in particular, to a live broadcast processing method and apparatus, an electronic device, a storage medium, and a computer program product.
Background
With the development of internet technology, live broadcast can be carried out between different anchor broadcasters to show diversified live broadcast interactive videos to audiences.
In the related art, on a terminal screen of a main broadcast, a composite picture of a plurality of main broadcasts connected with a microphone is displayed; however, when the number of anchor persons is large or the terminal screen is small, the display effect of the anchor picture is poor.
Disclosure of Invention
The present disclosure provides a live broadcast processing method, apparatus, electronic device, storage medium, and computer program product, to at least solve the problem of poor display effect of a main broadcast picture in the related art. The technical scheme of the disclosure is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a live broadcast processing method, including:
responding to the live broadcast interaction operation, and displaying a first live broadcast synthesis picture; the first live-broadcasting composite picture comprises a live-broadcasting picture corresponding to a live-broadcasting account participating in live-broadcasting interactive operation at this time, the first live-broadcasting composite picture is displayed according to first picture layout information, and the first picture layout information is used for representing initial layout information of the live-broadcasting picture in the first live-broadcasting composite picture;
updating the first picture layout information to obtain second picture layout information in response to picture adjustment operation for any anchor picture in the first direct-broadcast composite picture;
switching the displayed first live broadcast composite picture into a second live broadcast composite picture; the second live broadcast composite picture comprises a current anchor picture corresponding to the anchor account, and the second live broadcast composite picture is displayed according to the second picture layout information.
In an exemplary embodiment, the updating the first picture layout information in response to a picture adjustment operation for any anchor picture in the first live composite pictures to obtain second picture layout information includes:
determining picture adjustment information of a target anchor picture in response to a picture adjustment operation for any anchor picture in the first live composite pictures; the target anchor picture is an anchor picture aimed at by the picture adjusting operation;
and updating the first picture layout information according to the picture adjustment information to obtain updated picture layout information serving as the second picture layout information.
In an exemplary embodiment, the determining picture adjustment information of a target anchor picture in response to a picture adjustment operation for any anchor picture in the first live composite pictures comprises:
analyzing the picture adjusting operation of any anchor picture in the first direct broadcasting composite picture to obtain a target anchor picture aimed by the picture adjusting operation and operation information of the picture adjusting operation;
and acquiring picture adjustment information matched with the operation information as picture adjustment information of the target anchor picture.
In an exemplary embodiment, the updating the first screen layout information according to the screen adjustment information to obtain updated screen layout information as the second screen layout information includes:
determining first target layout information of the target anchor picture and second target layout information of other anchor pictures according to the picture adjustment information; the other anchor pictures are anchor pictures except the target anchor picture in the first direct broadcasting composite picture;
and updating the layout information of the target anchor picture in the first picture layout information into the first target layout information, and updating the layout information of other anchor pictures into the second target layout information to obtain the second picture layout information.
In an exemplary embodiment, the switching the presented first live composite picture to a second live composite picture includes:
generating a current anchor picture corresponding to an anchor account participating in the live interactive operation;
determining the display position of the current anchor picture in a live broadcast composite picture display area according to the second picture layout information; the live broadcast composite picture display area is a display area corresponding to the first live broadcast composite picture;
and displaying each current anchor picture in the live broadcast composite picture display area according to each display position to obtain the second live broadcast composite picture.
In an exemplary embodiment, the generating a current anchor picture corresponding to an anchor account participating in the live broadcast interaction operation includes:
acquiring a current live broadcast video stream corresponding to a main broadcast account participating in live broadcast interactive operation;
and generating a current anchor picture corresponding to the anchor account participating in the live broadcast interactive operation according to the current live broadcast video stream corresponding to the anchor account.
In an exemplary embodiment, before displaying each of the current anchor pictures in the live composite picture display area according to each of the display positions to obtain the second live composite picture, the method further includes:
determining a layer corresponding to each display position according to the second picture layout information;
displaying each current anchor picture in the live broadcast composite picture display area according to each display position to obtain the second live broadcast composite picture, wherein the method comprises the following steps:
and rendering the image layer corresponding to each display position according to the image information of each current anchor image to obtain the second live broadcast composite image.
In an exemplary embodiment, the presenting the first live composite picture in response to the live interactive operation includes:
responding to the live broadcast interaction operation, and generating an anchor picture corresponding to an anchor account participating in the live broadcast interaction operation;
determining the display position of the anchor picture in a live broadcast composite picture display area according to the first picture layout information;
and displaying each anchor picture in the live broadcast composite picture display area according to each display position to obtain the first live broadcast composite picture.
According to a second aspect of the embodiments of the present disclosure, there is provided a live broadcast processing apparatus including:
a first display unit configured to perform displaying a first live-broadcast composite screen in response to a live-broadcast interactive operation; the first live-broadcasting composite picture comprises a live-broadcasting picture corresponding to a live-broadcasting account participating in live-broadcasting interactive operation at this time, the first live-broadcasting composite picture is displayed according to first picture layout information, and the first picture layout information is used for representing initial layout information of the live-broadcasting picture in the first live-broadcasting composite picture;
an information updating unit configured to perform updating of the first screen layout information in response to a screen adjustment operation for any one of the first live composite screens, resulting in second screen layout information;
a second presentation unit configured to perform switching the presented first live composite screen to a second live composite screen; the second live broadcast composite picture comprises a current anchor picture corresponding to the anchor account, and the second live broadcast composite picture is displayed according to the second picture layout information.
In an exemplary embodiment, the information updating unit is further configured to perform determining screen adjustment information of a target anchor screen in response to a screen adjustment operation for any of the first anchor composite screens; the target anchor picture is an anchor picture aimed at by the picture adjusting operation; and updating the first picture layout information according to the picture adjusting information to obtain updated picture layout information as the second picture layout information.
In an exemplary embodiment, the information updating unit is further configured to perform parsing of a screen adjustment operation for any anchor screen in the first live combined screen, to obtain a target anchor screen for which the screen adjustment operation is directed and operation information of the screen adjustment operation; and acquiring picture adjustment information matched with the operation information as the picture adjustment information of the target anchor picture.
In an exemplary embodiment, the information updating unit is further configured to perform determining first target layout information of the target anchor screen and second target layout information of other anchor screens according to the screen adjustment information; the other anchor pictures are anchor pictures except the target anchor picture in the first anchor composite picture; and updating the layout information of the target anchor picture in the first picture layout information into the first target layout information, and updating the layout information of other anchor pictures into the second target layout information to obtain the second picture layout information.
In an exemplary embodiment, the second display unit is further configured to execute generating a current anchor screen corresponding to an anchor account participating in the live interactive operation this time; determining the display position of the current anchor picture in a live broadcast composite picture display area according to the second picture layout information; the live broadcast composite picture display area is a display area corresponding to the first live broadcast composite picture; and displaying each current anchor picture in the live broadcast composite picture display area according to each display position to obtain a second live broadcast composite picture.
In an exemplary embodiment, the second display unit is further configured to execute obtaining of a current live video stream corresponding to a main broadcast account participating in the live broadcast interaction operation this time; and generating a current anchor picture corresponding to the anchor account participating in the live broadcast interactive operation according to the current live broadcast video stream corresponding to the anchor account.
In an exemplary embodiment, the apparatus further includes a layer determining unit configured to determine, according to the second screen layout information, a layer corresponding to each display position;
the second display unit is further configured to render layers corresponding to the display positions according to the picture information of each current anchor picture, so as to obtain the second live broadcast composite picture.
In an exemplary embodiment, the first display unit is further configured to execute, in response to a live broadcast interaction operation, generating a anchor screen corresponding to an anchor account participating in the live broadcast interaction operation this time; determining the display position of the anchor picture in a live broadcast composite picture display area according to the first picture layout information; and displaying each anchor picture in the live broadcast composite picture display area according to each display position to obtain the first live broadcast composite picture.
According to a third aspect of an embodiment of the present disclosure, there is provided an electronic apparatus including:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement a live processing method as any one of the above.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium, wherein instructions, when executed by a processor of an electronic device, enable the electronic device to perform a live processing method as defined in any one of the above.
According to a fifth aspect of embodiments of the present disclosure, there is provided a computer program product including instructions that, when executed by a processor of an electronic device, enable the electronic device to perform a live broadcast processing method as defined in any one of the above.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
responding to the live broadcast interaction operation, and displaying a first live broadcast synthesis picture; the first live broadcast synthesis picture comprises a live broadcast picture corresponding to a live broadcast account participating in live broadcast interaction operation, the first live broadcast synthesis picture is displayed according to first picture layout information, and the first picture layout information is used for representing initial layout information of the live broadcast picture in the first live broadcast synthesis picture; then, responding to the picture adjustment operation aiming at any anchor picture in the first direct broadcasting composite picture, updating the first picture layout information to obtain second picture layout information, and switching the displayed first direct broadcasting composite picture into a second direct broadcasting composite picture; the second live broadcast composite picture comprises a current anchor picture corresponding to the anchor account, and the second live broadcast composite picture is displayed according to the second picture layout information. Therefore, in the process of displaying the anchor composite picture, the anchor picture of any anchor can be adjusted, so that the display effect of the anchor picture needing to be adjusted is improved, and the defect of poor display effect of the anchor picture when the number of anchor people is large or a terminal screen is small is overcome.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
Fig. 1 is a flow diagram illustrating a live processing method in accordance with an exemplary embodiment.
Fig. 2 is a schematic diagram of a first live composite picture shown in accordance with an example embodiment.
Fig. 3 is a schematic diagram of a second live composite screen shown in accordance with an exemplary embodiment.
Fig. 4 is a flowchart illustrating steps for obtaining second screen layout information according to an exemplary embodiment.
Fig. 5 is a flow diagram illustrating another live processing method in accordance with an exemplary embodiment.
Fig. 6 is a flow diagram illustrating yet another live processing method in accordance with an illustrative embodiment.
Fig. 7 is a block diagram illustrating a live processing device according to an example embodiment.
FIG. 8 is a block diagram illustrating an electronic device in accordance with an example embodiment.
Detailed Description
In order to make the technical solutions of the present disclosure better understood, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the foregoing drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
It should be further noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for presentation, analyzed data, etc.) referred to in the present disclosure are information and data authorized by the user or sufficiently authorized by each party.
Fig. 1 is a flow diagram illustrating a live processing method, according to an exemplary embodiment, for use in a anchor terminal, as shown in fig. 1; the anchor terminal refers to an electronic device corresponding to an anchor account currently being live, such as a smart phone, a tablet, a notebook computer, and the like. In the present exemplary embodiment, the method includes the steps of:
in step S110, a first live composite picture is displayed in response to the live interactive operation; the first live-broadcast synthesis picture comprises a live-broadcast picture corresponding to a live-broadcast account participating in live-broadcast interaction operation, the first live-broadcast synthesis picture is displayed according to first picture layout information, and the first picture layout information is used for representing initial layout information of the live-broadcast picture in the first live-broadcast synthesis picture.
The anchor account is an anchor for opening a live broadcast room, and is equivalent to a host, and can control various functions of the live broadcast room, such as actively sending a wheat connection request to other anchor accounts, approving or rejecting the wheat connection request of other anchor accounts, and the like. The viewer account, upon entering the anchor's live room, may view the anchor's live video, such as live video of an anchor song.
The live interactive operation refers to a microphone connecting operation, such as a video microphone connecting operation. Connecting the microphone means that two anchor accounts currently in live broadcasting enter a connection state in a mutual negotiation or background matching mode, and once the connection state is entered, the two anchor accounts originally independently live broadcast can carry out video conversation with each other; meanwhile, the main screen that the audience account of the audience terminal can see at the terminal interface is also divided into two parts, and the original main screen of one main is changed into the main screens of the left main and the right main. The same anchor account may have connections to multiple anchor accounts.
The main broadcasting account participating in the live broadcasting interactive operation is the main broadcasting account participating in the video and wheat connection. The first live broadcast composite picture refers to a composite picture of a main broadcast account participating in the video continuous microphone at this time. For example, the anchor account a sends a video join request to the anchor account B, the anchor account C, and the anchor account D, and after the anchor account B, the anchor account C, and the anchor account D agree, the anchor screen of the anchor account a is switched to a live broadcast composite screen composed of the anchor screen of the anchor account a, the anchor screen of the anchor account B, the anchor screen of the anchor account C, and the anchor screen of the anchor account D, such as the first live broadcast composite screen shown in fig. 2.
It should be noted that the anchor picture of the anchor account B shown by the anchor terminal of the anchor account B is also switched to a live broadcast composite picture composed of the anchor picture of the anchor account a, the anchor picture of the anchor account B, the anchor picture of the anchor account C, and the anchor picture of the anchor account D; the anchor picture of the anchor account C shown by the anchor terminal of the anchor account C is also switched into a live broadcast composite picture consisting of the anchor picture of the anchor account A, the anchor picture of the anchor account B, the anchor picture of the anchor account C and the anchor picture of the anchor account D; the anchor picture of the anchor account D shown by the anchor terminal of the anchor account D is also switched into a live broadcast composite picture consisting of the anchor picture of the anchor account A, the anchor picture of the anchor account B, the anchor picture of the anchor account C and the anchor picture of the anchor account D; only in each anchor terminal, the picture layout information of the live composite picture is different.
The first screen layout information is used to describe the display position of each anchor screen in the first live broadcast composite screen, for example, in the live broadcast composite screen, where the anchor screen of the anchor account initiating the video connecting wheat request is displayed, and where the anchor screen of the anchor account agreeing to the video connecting wheat request is displayed. Referring to fig. 2, a main broadcast screen of a main broadcast account a that initiates a video linkman request is displayed on the left side of the live broadcast composite screen, and main broadcast screens of a main broadcast account B, a main broadcast account C, and a main broadcast account D that agree with the video linkman request are displayed on the right side of the live broadcast composite screen.
Specifically, the anchor terminal of the current anchor account responds to the live broadcast interaction operation of the current anchor account to generate a live broadcast interaction request and sends the live broadcast interaction request to a corresponding target anchor terminal; and the target anchor terminal responds to the live broadcast interaction request and sends the corresponding live broadcast video stream to the anchor terminal of the current anchor account. The anchor terminal of the current anchor account generates an anchor picture corresponding to each anchor account participating in live broadcast interactive operation according to the live broadcast video stream of the anchor terminal and the live broadcast video stream of the target anchor terminal; and combining the anchor pictures corresponding to the anchor accounts participating in the live broadcast interactive operation at this time according to the first picture layout information to obtain a first live broadcast composite picture, and displaying the first live broadcast composite picture.
In step S120, the first screen layout information is updated in response to a screen adjustment operation for any anchor screen in the first live composite screen, resulting in second screen layout information.
The picture adjusting operation refers to an adjusting operation of the size or the display position of the anchor picture, and specifically refers to a dragging and zooming operation and the like; note that the drag zoom operation may be performed for any anchor screen in the first live composite screen. For example, referring to fig. 2, the anchor screen of anchor account B may be dragged to the presentation position of the anchor screen of anchor account a; thus, the display position of the anchor picture that originally displays anchor account a is used for displaying the anchor picture of anchor account B, the display position of the anchor picture that originally displays anchor account B is used for displaying the anchor picture of anchor account a, and the display positions of the anchor pictures of anchor account C and anchor account D remain unchanged, as shown in fig. 3; thus, the purpose of amplifying the anchor picture of any anchor account can be realized.
It should be noted that, regardless of the adjustment of the frame size or the display position of the anchor frame, the finally displayed live composite frame needs to fill up the display area of the live composite frame and cannot exceed the display area of the live composite frame.
The second screen layout information is also used to describe the display position of each anchor screen in the live composite screen, and is obtained by updating the first screen layout information, such as the screen layout information represented by the second live composite screen shown in fig. 3.
Specifically, the anchor terminal of the current anchor account responds to the picture adjustment operation of the current anchor account for any anchor picture in the first anchor composite pictures to obtain the picture adjustment information of a target anchor picture to which the picture adjustment operation is directed; and updating the first picture layout information according to the picture adjustment information of the target anchor picture to obtain updated picture layout information serving as second picture layout information.
In step S130, the displayed first live composite picture is switched to a second live composite picture; the second live broadcast composite picture comprises a current anchor picture corresponding to the anchor account, and the second live broadcast composite picture is displayed according to the second picture layout information.
The current anchor picture corresponding to the anchor account refers to an anchor picture corresponding to each anchor account when a picture adjustment operation is performed on any anchor picture in the first direct broadcast composite pictures.
Specifically, the anchor terminal of the current anchor account combines the current anchor pictures corresponding to each anchor account according to the obtained second picture layout information to obtain a second live broadcast composite picture, and displays the second live broadcast composite picture. For example, the first live composite screen shown in fig. 2 is switched to the second live composite screen shown in fig. 3, so as to enlarge the anchor screen of the anchor account B. Of course, the anchor screen of anchor account C or anchor account D may also be enlarged.
In the live broadcast processing method, a first live broadcast composite picture is displayed in response to live broadcast interaction operation; the first live broadcast synthesis picture comprises a live broadcast picture corresponding to a live broadcast account participating in live broadcast interaction operation, the first live broadcast synthesis picture is displayed according to first picture layout information, and the first picture layout information is used for representing initial layout information of the live broadcast picture in the first live broadcast synthesis picture; then, in response to the picture adjustment operation aiming at any anchor picture in the first direct broadcasting composite picture, updating the first picture layout information to obtain second picture layout information, and switching the displayed first direct broadcasting composite picture into a second direct broadcasting composite picture; the second live broadcast composite picture comprises a current anchor picture corresponding to the anchor account, and the second live broadcast composite picture is displayed according to the second picture layout information. Therefore, in the process of displaying the anchor composite picture, the anchor picture of any anchor can be adjusted, so that the display effect of the anchor picture needing to be adjusted is improved, and the defect of poor display effect of the anchor picture when the number of anchors is large or a terminal screen is small is overcome.
In an exemplary embodiment, as shown in fig. 4, in step S120, in response to a screen adjustment operation for any anchor screen in the first live composite screen, the first screen layout information is updated to obtain the second screen layout information, which may be specifically implemented by the following steps:
in step S410, in response to a screen adjustment operation for any one of the first live composite screens, screen adjustment information of a target live screen is determined; the target anchor picture is an anchor picture to which the picture adjustment operation is directed.
In step S420, the first screen layout information is updated according to the screen adjustment information, and the updated screen layout information is obtained as the second screen layout information.
The target anchor picture refers to an anchor picture that needs to be adjusted, such as a favorite anchor picture, a concerned anchor picture, and the like.
The picture adjustment information refers to information for adjusting the target anchor picture, such as enlarging the target anchor picture, changing the display position of the target anchor picture, and the like.
Specifically, the anchor terminal of the current anchor account analyzes the picture adjustment operation of the current anchor account for any anchor picture in the first direct-broadcasting composite picture to obtain picture adjustment information of a target anchor picture to which the picture adjustment operation is directed; and updating the layout information in the first picture layout information according to the picture adjustment information of the target anchor picture to obtain updated picture layout information serving as second picture layout information.
For example, for the first live broadcast composite picture displayed in fig. 2, the anchor account a wants to enlarge the anchor picture of the anchor account B, the anchor picture of the anchor account B may be dragged to the display position of the anchor picture of the anchor account a, so that the display position of the anchor picture that originally displays the anchor account a is used for displaying the anchor picture of the anchor account B, and the display position of the anchor picture that originally displays the anchor account B is used for displaying the anchor picture of the anchor account a, thereby obtaining the second live broadcast composite picture shown in fig. 3.
According to the technical scheme provided by the embodiment of the disclosure, the first picture layout information is updated by responding to the picture adjustment operation aiming at any anchor picture in the first direct broadcasting composite picture to obtain the second picture layout information, so that the second direct broadcasting composite picture can be displayed subsequently according to the second picture layout information, the purpose of adjusting the favorite anchor picture is realized, and the defect that the display effect of the favorite anchor picture is poor when the anchor picture is adjusted in the traditional technology and the number of anchor people is large is avoided.
In an exemplary embodiment, the step S410, in response to the screen adjustment operation for any anchor screen in the first anchor composite screen, determining the screen adjustment information of the target anchor screen specifically includes: analyzing the picture adjusting operation aiming at any anchor picture in the first direct broadcasting composite picture to obtain a target anchor picture aimed at by the picture adjusting operation and operation information of the picture adjusting operation; and acquiring the picture adjustment information matched with the operation information as the picture adjustment information of the target anchor picture.
The operation information of the screen adjustment operation refers to specific operation contents of the dragging and zooming operation, such as a dragging direction, a zooming amplitude, and the like. And different operation information corresponds to different picture adjustment information.
Specifically, the anchor terminal corresponding to the current anchor account analyzes the picture adjustment operation for any anchor picture in the first anchor composite picture according to the operation analysis instruction to obtain an anchor picture and operation information of the picture adjustment operation for which the picture adjustment operation is directed, and determines the anchor picture for which the picture adjustment operation is directed as a target anchor picture; and inquiring the corresponding relation between the preset operation information and the picture adjustment information to obtain the picture adjustment information matched with the operation information of the picture adjustment operation, wherein the picture adjustment information is used as the picture adjustment information of the target anchor picture.
For example, referring to fig. 2, assuming that the screen adjustment operation is to drag the anchor screen of anchor account B to the display position of the anchor screen of anchor account a, the screen adjustment information of the anchor screen of anchor account B can be obtained as follows: the anchor picture of anchor account B is enlarged to be as large as the anchor picture of anchor account a and is shown in the display position of the anchor picture of anchor account a.
According to the technical scheme provided by the embodiment of the disclosure, the picture adjustment operation for any anchor picture in the first live-action synthesized picture is analyzed to obtain the picture adjustment information of the target anchor picture to which the picture adjustment operation is directed, so that the first picture layout information can be updated to obtain the second picture layout information according to the picture adjustment information of the target anchor picture, and the purpose of updating the picture layout information through the picture adjustment operation is achieved.
In an exemplary embodiment, in the step S420, the updating the first picture layout information according to the picture adjustment information to obtain updated picture layout information, which serves as the second picture layout information, specifically includes: determining first target layout information of a target anchor picture and second target layout information of other anchor pictures according to the picture adjustment information; the other anchor pictures are anchor pictures except the target anchor picture in the first anchor composite picture; and updating the layout information of the target anchor picture in the first picture layout information into first target layout information, and updating the layout information of other anchor pictures into second target layout information to obtain second picture layout information.
The first target layout information refers to the latest layout information of the target anchor screen after responding to the screen adjustment operation. The second target layout information is the latest layout information of the anchor picture except the target anchor picture in the first live composite picture after responding to the picture adjustment operation.
For example, referring to fig. 2, after the anchor screen of the anchor account B is dragged to the display position of the anchor screen of the anchor account a, the latest layout information of the anchor screen of the anchor account B is the display position of the anchor screen of the original anchor account a, the latest layout information of the anchor screen of the anchor account a is the display position of the anchor screen of the original anchor account B, and the layout information of the anchor account C and the anchor account D remains unchanged. With reference to these information, the first screen layout information can be updated to obtain the second screen layout information.
According to the technical scheme provided by the embodiment of the disclosure, the first picture layout information is updated through the picture adjustment information of the target anchor picture aimed at by the picture adjustment operation to obtain the second picture layout information, so that the second live broadcast composite picture can be displayed subsequently according to the second picture layout information, the purpose of adjusting the favorite anchor picture is realized, and the display effect of the favorite anchor picture is improved.
In an exemplary embodiment, the step S130 of switching the displayed first live composite screen to the second live composite screen specifically includes: generating a current anchor picture corresponding to an anchor account participating in the live broadcast interactive operation; determining the display position of the current anchor picture in the display area of the live broadcast composite picture according to the second picture layout information; the live broadcast composite picture display area is a display area corresponding to the first live broadcast composite picture; and displaying each current anchor picture in the live broadcast composite picture display area according to each display position to obtain a second live broadcast composite picture.
The live broadcast composite picture display area refers to an area for displaying a live broadcast composite picture in the anchor terminal.
The display position of the current anchor picture in the live broadcast composite picture display area is used for showing which current anchor pictures are displayed at which positions in the live broadcast composite picture display area.
Specifically, an anchor terminal corresponding to a current anchor account generates a current anchor picture corresponding to the anchor account participating in the live broadcast interactive operation according to a current live broadcast video stream corresponding to each anchor account participating in the live broadcast interactive operation; analyzing the second picture layout information to obtain the display position of each current anchor picture in the live broadcast synthesis picture display area; and respectively displaying each current anchor picture in the live broadcast composite picture display area according to the display position of each current anchor picture in the live broadcast composite picture display area to obtain a second live broadcast composite picture.
For example, assuming that the second screen layout information is that the current anchor screen of anchor account B is on the left of the live composite screen display area, and the current anchor screens of anchor account a, anchor account C, and anchor account D are on the right of the live composite screen display area, then the current anchor screen of anchor account B is displayed on the left of the live composite screen display area, and the current anchor screens of anchor account a, anchor account C, and anchor account D are displayed on the right of the live composite screen display area, as shown in fig. 3.
According to the technical scheme provided by the embodiment of the disclosure, the displayed first live broadcast composite picture is switched to the second live broadcast composite picture according to the second picture layout information, so that the purpose of adjusting the favorite anchor pictures is realized, and the defect that the display positions of the anchor pictures in the traditional technology cannot be adjusted is overcome.
In an exemplary embodiment, generating a current anchor picture corresponding to an anchor account participating in the live interactive operation includes: acquiring a current live broadcast video stream corresponding to a main broadcast account participating in live broadcast interactive operation; and generating a current anchor picture corresponding to the anchor account participating in the live broadcast interactive operation according to the current live broadcast video stream corresponding to the anchor account.
The current live video stream corresponding to the anchor account refers to the live streaming media data obtained by encoding and compressing the audio data and the video data of the current live broadcasting room of the anchor account.
Specifically, a main broadcast terminal corresponding to a current main broadcast account acquires a current live broadcast video stream corresponding to the main broadcast account participating in the live broadcast interaction operation, and decodes each current live broadcast video stream to obtain audio and video data corresponding to each main broadcast account; performing fusion processing on the audio and video data corresponding to each anchor account to obtain the audio and video data after the fusion processing; encoding the audio and video data subjected to fusion processing to obtain a live video stream subjected to fusion processing; and generating a current anchor picture corresponding to an anchor account participating in the live interactive operation according to the live video stream after the fusion processing.
For example, an anchor terminal corresponding to an anchor account a obtains a current live video stream of an anchor account B, a current live video stream of an anchor account C, and a current live video stream of an anchor account D; fusing the current live video stream of the anchor account A, the current live video stream of the anchor account B, the current live video stream of the anchor account C and the current live video stream of the anchor account D to obtain a fused live video stream; according to the live video stream after the fusion processing, a current anchor picture of the anchor account a, a current anchor picture of the anchor account B, a current anchor picture of the anchor account C, and a current anchor picture of the anchor account D are generated, such as fig. 3.
According to the technical scheme provided by the embodiment of the disclosure, the current anchor picture corresponding to the anchor account participating in the live broadcast interactive operation is generated, so that each current anchor picture is displayed in the live broadcast synthesis picture display area according to the second picture layout information subsequently to obtain a second live broadcast synthesis picture, and the purpose of displaying the adjusted live broadcast synthesis picture is achieved.
In an exemplary embodiment, before displaying each current anchor picture in the live composite picture display area according to each display position to obtain the second live composite picture, the following contents are further included: and determining the layer corresponding to each display position according to the second picture layout information. Then, according to each display position, displaying each current anchor picture in the live broadcast composite picture display area to obtain a second live broadcast composite picture, which specifically includes: and rendering the layers corresponding to the display positions according to the picture information of each current anchor picture to obtain a second live broadcast composite picture.
In the display area of the live broadcast composite picture, each display position corresponds to one picture layer.
Specifically, the anchor terminal corresponding to the current anchor account analyzes the second picture layout information to obtain the display position of each current anchor picture in the live broadcast composite picture display area and a picture layer corresponding to each display position; and obtaining picture information of each current anchor picture, and rendering the picture layer corresponding to each display position by using a picture layer rendering technology and the picture information of each current anchor picture, so that each display position displays the corresponding current anchor picture, thereby obtaining a second live broadcast composite picture.
According to the technical scheme provided by the embodiment of the disclosure, the layers corresponding to the display positions are rendered according to the picture information of each current anchor picture to obtain a second live broadcast composite picture, so that the purpose of adjusting favorite anchor pictures is realized, and the defect that the display positions of the anchor pictures in the traditional technology cannot be adjusted is overcome.
In an exemplary embodiment, the step S110, responding to the live interactive operation, displaying the first live composite screen, specifically includes: responding to the live broadcast interaction operation, and generating a main broadcast picture corresponding to a main broadcast account participating in the live broadcast interaction operation; determining the display position of the anchor picture in the display area of the live broadcast composite picture according to the first picture layout information; and displaying each anchor picture in the live broadcast composite picture display area according to each display position to obtain a first live broadcast composite picture.
Specifically, an anchor terminal corresponding to a current anchor account generates an anchor picture corresponding to the anchor account participating in the live broadcast interactive operation according to the live broadcast video stream corresponding to each anchor account participating in the live broadcast interactive operation; analyzing the first picture layout information to obtain the display position of each anchor picture in the live broadcast synthesis picture display area; and displaying each anchor picture in the live broadcast composite picture display area according to the display position of each anchor picture in the live broadcast composite picture display area respectively to obtain a first live broadcast composite picture.
For example, assuming that the first screen layout information is that the anchor screen of the anchor account a is on the left of the live composite screen display area, and the current anchor screens of the anchor account B, the anchor account C, and the anchor account D are on the right of the live composite screen display area, then the current anchor screen of the anchor account a is displayed on the left of the live composite screen display area, and the current anchor screens of the anchor account B, the anchor account C, and the anchor account D are displayed on the right of the live composite screen display area, as shown in fig. 2.
According to the technical scheme provided by the embodiment of the disclosure, the first live composite picture is displayed in response to the live interactive operation, so that the purpose of displaying a plurality of anchor pictures participating in the live interactive operation on the same terminal is achieved.
Fig. 5 is a flowchart illustrating another live broadcast processing method according to an exemplary embodiment, and as shown in fig. 5, the live broadcast processing method is used in a anchor terminal and includes the following steps:
in step S510, in response to the live broadcast interaction operation, generating a anchor screen corresponding to an anchor account participating in the live broadcast interaction operation; and determining the display position of the main broadcasting picture in the display area of the live broadcasting composite picture according to the first picture layout information.
In step S520, the anchor pictures are displayed in the live composite picture display area according to the display positions, so as to obtain a first live composite picture.
In step S530, analyzing a picture adjustment operation for any anchor picture in the first live composite picture to obtain a target anchor picture targeted by the picture adjustment operation and operation information of the picture adjustment operation; and acquiring the picture adjustment information matched with the operation information as the picture adjustment information of the target anchor picture.
In step S540, according to the picture adjustment information, determining first target layout information of the target anchor picture and second target layout information of other anchor pictures; the other anchor pictures are anchor pictures other than the target anchor picture in the first direct broadcast composite picture.
In step S550, the layout information of the target anchor picture in the first picture layout information is updated to first target layout information, and the layout information of other anchor pictures is updated to second target layout information, so as to obtain second picture layout information.
In step S560, a current live video stream corresponding to the anchor account participating in the live interactive operation is obtained; and generating a current anchor picture corresponding to the anchor account participating in the live broadcast interactive operation according to the current live broadcast video stream corresponding to the anchor account.
In step S570, determining a display position of the current anchor picture in the live broadcast composite picture display area according to the second picture layout information; the live broadcast composite picture display area is a display area corresponding to the first live broadcast composite picture.
In step S580, each current anchor picture is displayed in the live composite picture display area according to each display position, so as to obtain a second live composite picture.
In the live broadcast processing method, the anchor picture of any anchor can be adjusted in the process of displaying the anchor composite picture, so that the display effect of the anchor picture needing to be adjusted is improved, and the defect of poor display effect of the anchor picture when the number of anchors is large or a terminal screen is small is overcome.
In order to clarify the live broadcast processing method provided by the embodiment of the present disclosure more clearly, the live broadcast processing method is specifically described below with a specific embodiment. In an exemplary embodiment, as shown in fig. 6, anchor account a creates a multi-person connection room, and invites other anchor accounts to perform multi-person connection, for example, an anchor terminal of anchor account a sends a live wheat connection request to anchor terminals corresponding to anchor account B, anchor account C, and anchor account D, so as to invite anchor account B, anchor account C, and anchor account D to perform multi-person connection. Next, each anchor terminal anchor realizes the composition and rendering of multiple anchor pictures by RTC (Real Time Communication, director's station convergence) technology. Meanwhile, the real-time drawing and rendering of the multi-anchor pictures are realized through a Graphics Processing Unit Render (image Processing rendering) technology, each anchor is mapped into a corresponding Render (layer), the corresponding Render is obtained according to the anchor identification of RTC backflow, and then the picture is rendered and drawn. When the anchor account A drags to zoom a certain anchor picture, the anchor terminal corresponding to the anchor account A achieves the purpose of zooming the certain anchor picture by dynamically modifying the size of the corresponding render, and the normal display of the picture is ensured according to the filling mode corresponding to the stream size dynamic technology.
In the live broadcast processing method, the layout of the rendered picture is modified through dynamic drag, so that the favorite anchor picture is zoomed, and the purpose of the best experience effect is achieved.
It should be understood that, although the steps in the flowcharts related to the embodiments as described above are sequentially displayed as indicated by arrows, the steps are not necessarily performed sequentially as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a part of the steps in the flowcharts related to the embodiments described above may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the execution order of the steps or stages is not necessarily sequential, but may be performed alternately or alternately with other steps or at least a part of the steps or stages in other steps.
It is understood that the same/similar parts among the various embodiments of the method described above in this specification can be referred to each other, and each embodiment focuses on the differences from the other embodiments, and where relevant, reference may be made to the description of the other method embodiments.
Based on the same inventive concept, the embodiment of the present disclosure further provides a live broadcast processing apparatus for implementing the live broadcast processing method.
Fig. 7 is a block diagram illustrating a live processing device according to an example embodiment. Referring to fig. 7, the apparatus includes a first presentation unit 710, an information update unit 720, and a second presentation unit 730.
A first presentation unit 710 configured to perform presentation of a first live composite screen in response to a live interactive operation; the first live broadcast synthetic picture comprises a live broadcast picture corresponding to a live broadcast account participating in live broadcast interactive operation, the first live broadcast synthetic picture is displayed according to first picture layout information, and the first picture layout information is used for representing initial layout information of the live broadcast picture in the first live broadcast synthetic picture.
An information updating unit 720 configured to perform updating of the first screen layout information in response to a screen adjustment operation for any anchor screen in the first live composite screen, resulting in second screen layout information;
a second presentation unit 730 configured to perform switching of the presented first live composite screen to a second live composite screen; the second live broadcast composite picture comprises a current anchor picture corresponding to the anchor account, and the second live broadcast composite picture is displayed according to the second picture layout information.
In an exemplary embodiment, the information updating unit 720 is further configured to perform determining picture adjustment information of the target anchor picture in response to a picture adjustment operation for any of the first anchor pictures; the target anchor picture is an anchor picture aimed at by picture adjustment operation; and updating the first picture layout information according to the picture adjustment information to obtain updated picture layout information as second picture layout information.
In an exemplary embodiment, the information updating unit 720 is further configured to perform parsing of the screen adjustment operation for any anchor screen in the first live composite screen, to obtain a target anchor screen for which the screen adjustment operation is directed and operation information of the screen adjustment operation; and acquiring the picture adjustment information matched with the operation information as the picture adjustment information of the target anchor picture.
In an exemplary embodiment, the information updating unit 720 is further configured to perform determining first target layout information of the target anchor screen and second target layout information of other anchor screens according to the screen adjustment information; the other anchor pictures are anchor pictures except the target anchor picture in the first anchor composite picture; and updating the layout information of the target anchor picture in the first picture layout information into first target layout information, and updating the layout information of other anchor pictures into second target layout information to obtain second picture layout information.
In an exemplary embodiment, the second displaying unit 730 is further configured to perform generating of a current anchor screen corresponding to an anchor account participating in the live broadcast interaction operation this time; determining the display position of the current anchor picture in the display area of the live broadcast composite picture according to the second picture layout information; the live broadcast composite picture display area is a display area corresponding to the first live broadcast composite picture; and displaying each current anchor picture in the live broadcast composite picture display area according to each display position to obtain a second live broadcast composite picture.
In an exemplary embodiment, the second displaying unit 730 is further configured to perform obtaining of a current live video stream corresponding to a main broadcast account participating in the live broadcast interaction operation this time; and generating a current anchor picture corresponding to the anchor account participating in the live interactive operation according to the current live video stream corresponding to the anchor account.
In an exemplary embodiment, the live broadcast processing apparatus provided by the present disclosure further includes a layer determining unit, configured to determine, according to the second screen layout information, a layer corresponding to each display position;
the second display unit 730 is further configured to render the layer corresponding to each display position according to the picture information of each current anchor picture, so as to obtain a second live broadcast composite picture.
In an exemplary embodiment, the first presentation unit 710 is further configured to execute, in response to the live broadcast interaction operation, generating a main broadcast screen corresponding to a main broadcast account participating in the live broadcast interaction operation this time; determining the display position of the anchor picture in the live broadcast composite picture display area according to the first picture layout information; and displaying each anchor picture in the live broadcast composite picture display area according to each display position to obtain a first live broadcast composite picture.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
The modules in the live broadcast processing device can be wholly or partially implemented by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
Fig. 8 is a block diagram illustrating an electronic device 800 for implementing a live processing method in accordance with an example embodiment. For example, the electronic device 800 can be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a gaming console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.
Referring to fig. 8, electronic device 800 may include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, interface for input/output (I/O) 812, sensor component 814, and communication component 816.
The processing component 802 generally controls overall operation of the electronic device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operations at the electronic device 800. Examples of such data include instructions for any application or method operating on the electronic device 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile storage devices, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk, optical disk, or graphene memory.
The power supply component 806 provides power to the various components of the electronic device 800. The power components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the electronic device 800.
The multimedia component 808 includes a screen providing an output interface between the electronic device 800 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the electronic device 800 is in an operation mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive an external audio signal when the electronic device 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory Z04 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the electronic device 800. For example, the sensor assembly 814 may detect an open/closed state of the electronic device 800, the relative positioning of components, such as a display and keypad of the electronic device 800, the sensor assembly 814 may also detect a change in the position of the electronic device 800 or components of the electronic device 800, the presence or absence of user contact with the electronic device 800, the orientation or acceleration/deceleration of the device 800, and a change in the temperature of the electronic device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object in the absence of any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate wired or wireless communication between the electronic device 800 and other devices. The electronic device 800 may access a wireless network based on a communication standard, such as WiFi, an operator network (such as 2G, 3G, 4G, or 5G), or a combination thereof. In an exemplary embodiment, the communication component 816 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the electronic device 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a computer-readable storage medium comprising instructions, such as the memory 804 comprising instructions, executable by the processor 820 of the electronic device 800 to perform the above-described method is also provided. For example, the computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, a computer program product is also provided that includes instructions executable by the processor 820 of the electronic device 800 to perform the above-described method.
It should be noted that the descriptions of the above apparatus, the electronic device, the computer-readable storage medium, the computer program product, and the like according to the method embodiments may also include other embodiments, and specific implementation manners may refer to the descriptions of the related method embodiments, which are not described in detail herein.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims (10)
1. A live broadcast processing method is applied to an anchor terminal and comprises the following steps:
responding to the live broadcast interaction operation, and displaying a first live broadcast synthesis picture; the first live-broadcasting composite picture comprises a live-broadcasting picture corresponding to a live-broadcasting account participating in live-broadcasting interactive operation at this time, the first live-broadcasting composite picture is displayed according to first picture layout information, and the first picture layout information is used for representing initial layout information of the live-broadcasting picture in the first live-broadcasting composite picture;
updating the first picture layout information to obtain second picture layout information in response to picture adjustment operation for any anchor picture in the first direct-broadcast composite picture;
switching the displayed first live broadcast composite picture into a second live broadcast composite picture; the second live broadcast composite picture comprises a current anchor picture corresponding to the anchor account, and the second live broadcast composite picture is displayed according to the second picture layout information.
2. The method according to claim 1, wherein said updating the first picture layout information in response to a picture adjustment operation for any anchor picture in the first live composite pictures, resulting in second picture layout information, comprises:
determining picture adjustment information of a target anchor picture in response to a picture adjustment operation for any anchor picture in the first live composite pictures; the target anchor picture is an anchor picture aimed at by the picture adjusting operation;
and updating the first picture layout information according to the picture adjustment information to obtain updated picture layout information serving as the second picture layout information.
3. The method of claim 2, wherein determining picture adjustment information for a target anchor picture in response to a picture adjustment operation for any anchor picture in the first live composite picture comprises:
analyzing the picture adjusting operation aiming at any anchor picture in the first direct broadcasting composite picture to obtain a target anchor picture aimed at by the picture adjusting operation and operation information of the picture adjusting operation;
and acquiring picture adjustment information matched with the operation information as the picture adjustment information of the target anchor picture.
4. The method according to claim 2, wherein the updating the first screen layout information according to the screen adjustment information to obtain updated screen layout information as the second screen layout information comprises:
determining first target layout information of the target anchor picture and second target layout information of other anchor pictures according to the picture adjustment information; the other anchor pictures are anchor pictures except the target anchor picture in the first direct broadcasting composite picture;
and updating the layout information of the target anchor picture in the first picture layout information into the first target layout information, and updating the layout information of other anchor pictures into the second target layout information to obtain the second picture layout information.
5. The method of claim 1, wherein switching the first live composite picture for presentation to a second live composite picture comprises:
generating a current anchor picture corresponding to an anchor account participating in the live broadcast interactive operation;
determining the display position of the current anchor picture in a live broadcast composite picture display area according to the second picture layout information; the live broadcast composite picture display area is a display area corresponding to the first live broadcast composite picture;
and displaying each current anchor picture in the live broadcast composite picture display area according to each display position to obtain the second live broadcast composite picture.
6. The method according to claim 5, wherein the generating of the current anchor picture corresponding to the anchor account participating in the live broadcast interactive operation includes:
acquiring a current live broadcast video stream corresponding to a main broadcast account participating in live broadcast interactive operation;
and generating a current anchor picture corresponding to the anchor account participating in the live interactive operation according to the current live video stream corresponding to the anchor account.
7. A live broadcast processing apparatus, comprising:
a first display unit configured to perform displaying a first live-broadcast composite screen in response to a live-broadcast interactive operation; the first live broadcast synthesis picture comprises a live broadcast picture corresponding to a live broadcast account participating in live broadcast interaction operation, the first live broadcast synthesis picture is displayed according to first picture layout information, and the first picture layout information is used for representing initial layout information of the live broadcast picture in the first live broadcast synthesis picture;
an information updating unit configured to perform updating of the first screen layout information in response to a screen adjustment operation for any anchor screen in the first live composite screen, resulting in second screen layout information;
a second presentation unit configured to perform switching of the presented first live composite screen to a second live composite screen; the second live broadcast composite picture comprises a current anchor picture corresponding to the anchor account, and the second live broadcast composite picture is displayed according to the second picture layout information.
8. An electronic device, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the live processing method of any of claims 1-6.
9. A computer-readable storage medium having instructions thereon that, when executed by a processor of an electronic device, enable the electronic device to perform the live processing method of any of claims 1-6.
10. A computer program product comprising instructions therein, which when executed by a processor of an electronic device, enable the electronic device to perform a live processing method as claimed in any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210768090.3A CN115174983A (en) | 2022-07-01 | 2022-07-01 | Live broadcast processing method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210768090.3A CN115174983A (en) | 2022-07-01 | 2022-07-01 | Live broadcast processing method and device, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115174983A true CN115174983A (en) | 2022-10-11 |
Family
ID=83489734
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210768090.3A Pending CN115174983A (en) | 2022-07-01 | 2022-07-01 | Live broadcast processing method and device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115174983A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110784735A (en) * | 2019-11-12 | 2020-02-11 | 广州虎牙科技有限公司 | Live broadcast method and device, mobile terminal, computer equipment and storage medium |
CN111541930A (en) * | 2020-04-27 | 2020-08-14 | 广州酷狗计算机科技有限公司 | Live broadcast picture display method and device, terminal and storage medium |
CN113992928A (en) * | 2021-10-25 | 2022-01-28 | 北京达佳互联信息技术有限公司 | Live broadcast room display method and device, electronic equipment and storage medium |
CN114143600A (en) * | 2021-11-23 | 2022-03-04 | 广州市百果园信息技术有限公司 | Live broadcast picture adjusting method, device, equipment and storage medium |
CN114584797A (en) * | 2022-02-28 | 2022-06-03 | 北京字节跳动网络技术有限公司 | Display method and device of live broadcast picture, electronic equipment and storage medium |
-
2022
- 2022-07-01 CN CN202210768090.3A patent/CN115174983A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110784735A (en) * | 2019-11-12 | 2020-02-11 | 广州虎牙科技有限公司 | Live broadcast method and device, mobile terminal, computer equipment and storage medium |
CN111541930A (en) * | 2020-04-27 | 2020-08-14 | 广州酷狗计算机科技有限公司 | Live broadcast picture display method and device, terminal and storage medium |
CN113992928A (en) * | 2021-10-25 | 2022-01-28 | 北京达佳互联信息技术有限公司 | Live broadcast room display method and device, electronic equipment and storage medium |
CN114143600A (en) * | 2021-11-23 | 2022-03-04 | 广州市百果园信息技术有限公司 | Live broadcast picture adjusting method, device, equipment and storage medium |
CN114584797A (en) * | 2022-02-28 | 2022-06-03 | 北京字节跳动网络技术有限公司 | Display method and device of live broadcast picture, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111818359B (en) | Processing method and device for live interactive video, electronic equipment and server | |
CN110662083B (en) | Data processing method and device, electronic equipment and storage medium | |
CN111970533B (en) | Interaction method and device for live broadcast room and electronic equipment | |
EP3046309A1 (en) | Method, device and system for projection on screen | |
US20220295119A1 (en) | Method and apparatus for interacting in live stream | |
CN112114765A (en) | Screen projection method and device and storage medium | |
CN109862380B (en) | Video data processing method, device and server, electronic equipment and storage medium | |
CN105120301B (en) | Method for processing video frequency and device, smart machine | |
CN109451341B (en) | Video playing method, video playing device, electronic equipment and storage medium | |
CN107526591B (en) | Method and device for switching types of live broadcast rooms | |
CN111338536B (en) | Screen recording method and device of multi-screen electronic equipment, multi-screen electronic equipment and storage medium | |
CN113065008A (en) | Information recommendation method and device, electronic equipment and storage medium | |
CN111866571B (en) | Method and device for editing content on smart television and storage medium | |
CN113490005B (en) | Information interaction method and device for live broadcasting room, electronic equipment and storage medium | |
CN107566878B (en) | Method and device for displaying pictures in live broadcast | |
CN112463084A (en) | Split screen display method and device, terminal equipment and computer readable storage medium | |
CN112312190A (en) | Video picture display method and device, electronic equipment and storage medium | |
CN113988021A (en) | Content interaction method and device, electronic equipment and storage medium | |
CN110636318A (en) | Message display method, message display device, client device, server and storage medium | |
CN113556614A (en) | Information issuing method and device and electronic equipment | |
CN107247794B (en) | Topic guiding method in live broadcast, live broadcast device and terminal equipment | |
CN112363786A (en) | Advertisement picture processing method and device, electronic equipment and storage medium | |
CN117119260A (en) | Video control processing method and device | |
CN115314728A (en) | Information display method, system, device, electronic equipment and storage medium | |
CN106354464B (en) | Information display method and device |
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 |