CN111107415A - Live broadcast room picture-in-picture playing method, storage medium, electronic equipment and system - Google Patents

Live broadcast room picture-in-picture playing method, storage medium, electronic equipment and system Download PDF

Info

Publication number
CN111107415A
CN111107415A CN201811259635.8A CN201811259635A CN111107415A CN 111107415 A CN111107415 A CN 111107415A CN 201811259635 A CN201811259635 A CN 201811259635A CN 111107415 A CN111107415 A CN 111107415A
Authority
CN
China
Prior art keywords
picture
video data
mediaplayer
surface window
creating
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.)
Granted
Application number
CN201811259635.8A
Other languages
Chinese (zh)
Other versions
CN111107415B (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.)
Qingcheng Mathematical Technology Group Co ltd
Original Assignee
Wuhan Douyu Network 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 Wuhan Douyu Network Technology Co Ltd filed Critical Wuhan Douyu Network Technology Co Ltd
Priority to CN201811259635.8A priority Critical patent/CN111107415B/en
Publication of CN111107415A publication Critical patent/CN111107415A/en
Application granted granted Critical
Publication of CN111107415B publication Critical patent/CN111107415B/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/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/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation 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/4316Generation 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
    • 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/44004Processing 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 video buffer management, e.g. video decoder buffer or video display buffer
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses a live broadcast room picture-in-picture playing method, a storage medium, electronic equipment and a system, which relate to the technical field of live broadcast room video playing and comprise the following steps: creating a MediaPlayer manager; acquiring a live video data stream address, creating a MediaPlayer to load the live video data stream for analysis, and initializing an Activity component; creating a first Surface window; when picture-in-picture playing work is started, closing a first Surface window and creating a second Surface window, wherein the second Surface window is used for displaying live video data in a picture-in-picture mode; and when the picture-in-picture playing operation is stopped, closing the second Surface window, recreating the first Surface window and displaying the live video data. The method and the device have the advantages that the video playing and the video display of the live video are independent, and when the live video needs to be played in picture, the playing fluency during the picture in picture playing can be ensured, so that the video watching of a user is guaranteed.

Description

Live broadcast room picture-in-picture playing method, storage medium, electronic equipment and system
Technical Field
The invention relates to the technical field of video playing in a live broadcast room, in particular to a picture-in-picture playing method in a live broadcast room, a storage medium, electronic equipment and a system.
Background
With the development of live broadcasting, the content related to live broadcasting is more and more extensive, and more people are watching live broadcasting, in the live broadcasting process, a user often needs to open another small window to play another video when watching a live broadcasting room, for example, the playing of other video images in the live broadcasting room or the playing of videos in other live broadcasting rooms or the playing of related videos on a webpage, and the user needs to open another small window to play simultaneously on the basis that a main video in the live broadcasting room is not closed, so that the playing mode becomes picture-in-picture playing;
in the traditional picture-in-picture playing, certain blocking influence exists on the playing of the direct playing video and the video of the picture-in-picture player in the opening and closing processes of the picture-in-picture player;
therefore, a new method for playing picture-in-picture in a live broadcast room is urgently needed, so that the occurrence of the pause condition is reduced, and the watching of the live broadcast room of the user is guaranteed.
Disclosure of Invention
Aiming at the defects in the prior art, the invention aims to provide a picture-in-picture playing method of a live broadcast room, which is used for independently playing the video of a live broadcast video and displaying the video, and can ensure the playing fluency when the picture-in-picture playing is carried out when the live broadcast video needs to be played in the picture-in-picture, thereby providing guarantee for the video watching of a user.
In order to achieve the above purposes, the technical scheme adopted by the invention is as follows:
in a first aspect, the present invention provides a method for playing picture-in-picture in a live broadcast room, which includes the following steps:
creating a MediaPlayer manager for managing mediaplayers;
acquiring a live video data stream address, creating a MediaPlayer to load the live video data stream for analysis, and initializing an Activity component;
creating a first Surface window based on the Activity component, wherein the first Surface window is used for displaying the live video data analyzed by the MediaPlayer;
when picture-in-picture playing work is started, closing the first Surface window, and creating a second Surface window by using a WindowManager, wherein the second Surface window is used for displaying live video data analyzed by the MediaPlayer in a picture-in-picture mode;
when picture-in-picture playing operation is stopped, closing the second Surface window, creating a first Surface window again based on an Activity component, and displaying live video data analyzed by the MediaPlayer;
when the first Surface window is closed, the MediaPlayer continuously loads the live video data and analyzes the live video data.
On the basis of the scheme, the method further comprises the following steps:
and when the next picture-in-picture playing work is required, initializing the WindowManager again, and recreating the second Surface window based on the WindowManager.
On the basis of the above scheme, the creating a first Surface window based on the Activity component specifically includes the following steps:
creating a surfaceTexture control in the Activity component by using a TextureView control;
creating the first Surface window using a Surface texture control.
On the basis of the above scheme, the MediaPlayer manager is used for controlling the MediaPlayer to perform initialization, pause, stop, destroy, monitor and play.
On the basis of the scheme, a Handlerthread is configured in the MediaPlayer manager and is used for executing all operations of the MediaPlayer manager so as to avoid blocking a UI thread.
In a second aspect, the present invention provides another live broadcast room picture-in-picture playing method, which is used for performing live broadcast room picture-in-picture playing in a live broadcast room, and includes the following steps:
s1, creating a mediaPlayer manager for managing mediaPlayer;
s2, acquiring the address of the live video data stream, creating a MediaPlayer to load the live video data stream for analysis, and initializing an Activity component;
s3, creating a first Surface window based on the Activity component, wherein the first Surface window is used for displaying the live video data analyzed by the MediaPlayer;
s4, when picture-in-picture playing work is started, closing the first Surface window, and creating a second Surface window by using a WindowManager, wherein the second Surface window is used for displaying live video data analyzed by the MediaPlayer in a picture-in-picture mode;
s5, when picture-in-picture playing operation is stopped, closing the second Surface window, creating a first Surface window based on an Activity component again, and displaying live video data analyzed by the MediaPlayer;
and S6, when picture-in-picture playing work needs to be carried out next time, initializing the WindowManager again, and recreating a second Surface window based on the WindowManager.
In a third aspect, the present invention further provides another live broadcast room picture-in-picture playing method, which includes the following steps:
creating a first unit for managing the first player;
acquiring first video data, and creating a first player for background analysis;
creating a first display window based on a first component, wherein the first display window is used for displaying first video data analyzed by a first player;
when picture-in-picture playing work is started, the first display window is closed, and a second display window is created by using a second unit, wherein the second display window is used for displaying the first video data in a picture-in-picture mode;
when picture-in-picture playing operation is stopped, closing the second display window, re-creating a first display window based on a first component, and displaying first video data analyzed by the first player;
and when the first display window is closed, the first player continuously loads the first video data and analyzes the first video data.
In a fourth aspect, the present invention further provides a storage medium, where a computer program is stored, and when executed by a processor, the computer program implements the live-air picture-in-picture playing method of the first aspect to the third aspect.
In a fifth aspect, the present invention further provides an electronic device, which includes a memory and a processor, where the memory stores a computer program running on the processor, and the processor executes the computer program to implement the above-mentioned live broadcast room picture-in-picture playing method in the first to third aspects.
In a sixth aspect, the present invention further provides a system for playing a picture-in-picture in a live broadcast room, including:
a picture-in-picture opening unit for generating a picture-in-picture play signal when a picture-in-picture play operation needs to be opened;
the MediaPlayer manager is used for managing and controlling MediaPlayers, acquiring live video data stream addresses, creating MediaPlayer to load and analyze live video data streams, and initializing Activity components;
the Activity component control unit is used for managing and controlling the Activity components;
a first Surface window creating unit configured to create a first Surface window based on the Activity component, the first Surface window being configured to display live video data played by the MediaPlayer;
a first Surface window closing unit, configured to close the first Surface window after receiving a picture-in-picture play signal;
a picture-in-picture display unit for creating a second Surface window using a WindowManager after receiving the picture-in-picture play signal, the second Surface window for displaying the MediaPlayer parsed live video data in a picture-in-picture form;
a picture-in-picture closing unit for closing the second Surface window when stopping picture-in-picture play;
the first Surface window restarting unit is used for creating a first Surface window based on the Activity component again after stopping the picture-in-picture playing work;
when the first Surface window is closed, the MediaPlayer continuously loads the live video data and analyzes the live video data.
Compared with the prior art, the invention has the advantages that:
the method and the device have the advantages that the video playing and the video display of the live video are independent, and when the live video needs to be played in picture, the playing smoothness during the picture in picture playing can be ensured, and the video watching of a user is guaranteed.
Drawings
Fig. 1 is a flowchart illustrating steps of a picture-in-picture playing method in a live broadcast room according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating steps of a method for playing a picture-in-picture in a live broadcast room according to a second embodiment of the present invention;
fig. 3 is a flowchart illustrating steps of a method for playing a picture-in-picture in a live broadcast room according to a third embodiment of the present invention;
fig. 4 is a block diagram illustrating a picture-in-picture playing system in a live broadcast room according to a fourth embodiment of the present invention;
in the figure: 1. a picture-in-picture opening unit; 2. MediaPlayer manager; 3. an Activity component control unit; 4. a first Surface window creating unit; 5. a first Surface window closing unit; 6. a picture-in-picture display unit; 7. a picture-in-picture closing unit; 8. and the first Surface window restarts the unit.
Detailed Description
Interpretation of terms:
MediaPlayer, media player;
a MediaPlayer manager, a manager of media players, for managing the media players;
an Activity component, which is the most basic component in the Android component, is an application component and can provide a screen, and a user can interact to complete a certain task;
the system comprises a Windows manager, a static type LayoutParams, a storage device and a display device, wherein the Windows manager is an important Service in Android, is global and unique, inherits from the Viewmanager, is mainly used for managing states, attributes, view addition, deletion, updating, window sequence, message collection and processing and the like of a window, and can be used for setting and obtaining attributes of the current window;
the method comprises the following steps that (1) Surface windows, namely Surface, are local windows, and Android pictures are drawn on the Surface windows;
a TextureView control, i.e., a TextureView, for rendering a video picture, i.e., a texture view;
the surface texture control, i.e., surface texture. Is a bridge between Surface and TextureView;
getInstance () is a function that can be used in java to create an instance of a class using a singleton schema.
Embodiments of the present invention will be described in further detail below with reference to the accompanying drawings.
The embodiment of the invention provides a picture-in-picture playing method, a storage medium, electronic equipment and a system for a live broadcast room.
In order to achieve the technical effects, the general idea of the application is as follows:
a picture-in-picture playing method for a live broadcast room comprises the following steps:
s1, creating a mediaPlayer manager for managing mediaPlayer;
s2, acquiring the address of the live video data stream, creating a MediaPlayer to load the live video data stream for analysis, and initializing an Activity component;
s3, creating a first Surface window based on the Activity component, wherein the first Surface window is used for displaying the live video data analyzed by the MediaPlayer;
s4, when picture-in-picture playing work is started, closing the first Surface window, and creating a second Surface window by using a WindowManager, wherein the second Surface window is used for displaying live video data analyzed by the MediaPlayer in a picture-in-picture mode;
s5, when picture-in-picture playing operation is stopped, closing the second Surface window, creating the first Surface window based on the Activity component again, and displaying live video data analyzed by the MediaPlayer;
when the first Surface window is closed, the MediaPlayer continues to load and parse the live video data.
Example one
Referring to fig. 1, an embodiment of the present invention provides a method for playing a picture-in-picture in a live broadcast room, including the following steps:
s1, creating a mediaPlayer manager for managing mediaPlayer;
s2, acquiring the address of the live video data stream, creating a MediaPlayer to load the live video data stream for analysis, and initializing an Activity component;
s3, creating a first Surface window based on the Activity component, wherein the first Surface window is used for displaying the live video data analyzed by the MediaPlayer;
s4, when picture-in-picture playing work is started, closing the first Surface window, and creating a second Surface window by using a WindowManager, wherein the second Surface window is used for displaying live video data analyzed by the MediaPlayer in a picture-in-picture mode;
s5, when picture-in-picture playing operation is stopped, closing the second Surface window, creating the first Surface window based on the Activity component again, and displaying live video data analyzed by the MediaPlayer;
when the first Surface window is closed, the MediaPlayer continues to load and parse the live video data.
In the embodiment of the invention, based on the MediaPlayer and the Activity component, the video in the live broadcasting is played, and the live broadcasting video data is displayed by utilizing the first Surface window;
then when picture-in-picture display is needed, closing the first Surface window, and the MediaPlayer continues to analyze the live video in the background, and then using the WindowManager to create a second Surface window, and using the second Surface window to display the live video data analyzed by the MediaPlayer in the background in the form of picture-in-picture;
according to the embodiment of the invention, when picture-in-picture playing is required for live video playing, the video playing and the video displaying of the live video are independent, and the background continuously analyzes the live video data in the switching process of the two display windows, so that the playing fluency during the picture-in-picture playing is ensured, and the guarantee is provided for the video watching of a user.
It should be noted that, most of the existing pip playing methods are: when the picture-in-picture playing is required, the picture-in-picture player acquires picture-in-picture video data to play and displays the picture-in-picture video data on a page in a picture-in-picture mode, then the picture-in-picture player is directly closed when the picture-in-picture playing is not required, and when the picture-in-picture playing is required to be started again, the picture-in-picture player is restarted to acquire the picture-in-picture video data again.
In step S1 of the embodiment of the present invention, a MediaPlayer manager is first created, and the MediaPlayer manager is used to manage MediaPlayer, and when the operation is specific, a MediaPlayer member variable may be set in the MediaPlayer manager, which is used to correspond to MediaPlayer, and the MediaPlayer manager has built-in getInstance () method, and has built-in common methods related to MediaPlayer, such as: initializing a MediaPlayer, playing stream address acquisition, pausing play, stopping play, destroying MediaPlayer, and listening to MediaPlayer, etc.
Wherein getInstance () is a function with which instances of classes can be created in java using singleton schema, i.e., the MediaPlayer manager can create MediaPlayer with getInstance ();
the MediaPlayer is used as a media player of an Android system, provides functions such as playing, pausing, stopping, setting a monitor and the like of network video, and a MediaPlayer manager secondarily packages the functions, so that the MediaPlayer is prevented from being directly operated from the outside, all operations of the MediaPlayer are ensured to be synchronously executed in HandlerThread, and asynchronous operation is avoided.
In step S2, the live broadcast room is opened, and when video playing is performed in the live broadcast room, the live broadcast room sends an HTTP request data stream address, at this time, a MediaPlayer manager is used to initialize a MediaPlayer, obtain a live broadcast video data stream address, perform background parsing using the MediaPlayer, and initialize an Activity component while the MediaPlayer loads a video data stream;
initializing the Activity component, specifically: when a user opens a live broadcast room, namely opens an Activity component, the Activity component as a component of the Android system can actively call methods such as onCreate (), onStart (), onResume (), and the like in sequence, the onCreate () as the first method for initializing and calling the Activity component can perform some initialization operations inside, for example, a view is created and displayed on the Activity component, Surface used by the MediaPlayer is generated in the view, and the interface is presented to the user after the onResume () call is completed;
while onCreate (), onStart (), onResume () are all common functions;
onCreate () is a special function in Android to "represent that a window is being generated", which does not produce a window, but sets the properties of the window such as style, position color, etc. before the window is displayed;
onResume () is used to get the user focus for the Activity component and then interact with the user;
onStart () is used to launch an Activity component;
in step S3, based on the Activity component, a first Surface window is created by using the textview control and the Surface texture control, where the first Surface window is used for performing picture output during background parsing of the MediaPlayer, that is, displaying a video played by the MediaPlayer and performing picture output, and visually, a video picture displayed by the first Surface window is a video played by the MediaPlayer.
The operation step of playing the live video in the live broadcast room, and then in step S4, the operation of playing the live video in picture-in-picture is started:
in step S4, when it is necessary to start picture-in-picture play, closing the first Surface window, and creating a second Surface window by using WindowManager, where the second Surface window is used to display the live video data analyzed by MediaPlayer in picture-in-picture form, and it should be noted that, although the first Surface window is closed, the operation of MediaPlayer acquiring and analyzing the live video data is not stopped but continuously performed, but only the background analysis of the picture-in-picture video data is performed by the picture-in-picture player at this time, that is, only the first Surface window is closed, and the image display is not performed by using the first Surface window, but the second Surface window is used to display the live video data analyzed by MediaPlayer in picture-in picture form;
then, in step S5, when the picture-in-picture playing operation is stopped, the second Surface window is closed, the first Surface window is created again based on the Activity component, and the live video data analyzed by the MediaPlayer is displayed;
it should be noted that, in step S4, only the display operation of the first Surface window is stopped, and the analysis operation of the live video data of the MediaPlayer is not stopped, so that when the picture-in-picture video display is needed again in the following, the live video data still analyzed in the background is directly displayed without restarting the player or re-acquiring the live video data;
therefore, when the live video playing needs to be carried out in the picture-in-picture playing, the embodiment of the invention has the advantages that the video playing and the video displaying of the live video are independent, and the background continuously analyzes the live video data in the switching process of the two display windows, so that the playing smoothness during the picture-in-picture playing is ensured, and the guarantee is provided for the video watching of a user.
In an embodiment of the present invention, the method further comprises the steps of:
when the next picture-in-picture playing work is needed, initializing the WindowManager again, and recreating the second Surface window based on the WindowManager;
that is, before the next picture-in-picture play operation, if there is no other control command, the MediaPlayer continues to perform analysis in the background, that is, video play, but does not perform display, but actually, an operation of restarting the first Surface window to perform display is performed, and when the next picture-in-picture play operation is required, video display is performed again through the second Surface window, that is, windows manager is initialized again, and the second Surface window is created again based on windows manager.
It should be noted that, in the embodiment of the present invention, creating the first Surface window based on the Activity component specifically includes the following steps:
creating a surfaceTexture control in the Activity component by using a TextureView control;
a first Surface window is created using a Surface texture control.
The MediaPlayer manager is used for controlling the MediaPlayer to perform initialization, pause, stop, destroy, monitor and play.
Further, in the embodiment of the present invention, a handler thread is configured in the MediaPlayer manager, and is used for executing all operations of the MediaPlayer manager, so as to avoid blocking the UI thread;
namely, the MediaPlayer manager performs operations given by the MediaPlayer manager for the MediaPlayer by HandlerThread at the time of initializing, pausing, stopping, destroying, listening, and playing the MediaPlayer.
Based on the same inventive concept, the application provides another picture-in-picture playing method in the live broadcast room corresponding to the embodiment, which is detailed in the embodiment two.
Example two
As shown in fig. 2, a second embodiment of the present invention further provides a method for playing a picture-in-picture in a live broadcast room, which includes the following steps:
s1, creating a mediaPlayer manager for managing mediaPlayer;
s2, acquiring the address of the live video data stream, creating a MediaPlayer to load the live video data stream for analysis, and initializing an Activity component;
s3, creating a first Surface window based on the Activity component, wherein the first Surface window is used for displaying the live video data analyzed by the MediaPlayer;
s4, when picture-in-picture playing work is started, closing the first Surface window, and creating a second Surface window by using a WindowManager, wherein the second Surface window is used for displaying live video data analyzed by the MediaPlayer in a picture-in-picture mode;
s5, when picture-in-picture playing operation is stopped, closing the second Surface window, creating the first Surface window based on the Activity component again, and displaying live video data analyzed by the MediaPlayer;
s6, when picture-in-picture playing work needs to be carried out next time, initializing the WindowManager again, and reestablishing a second Surface window based on the WindowManager;
when the first Surface window is closed, the MediaPlayer continues to load and parse the live video data.
According to the embodiment of the invention, when picture-in-picture playing is required for live video playing, the video playing and the video displaying of the live video are independent, and the background continuously analyzes the live video data in the switching process of the two display windows, so that the playing fluency during the picture-in-picture playing is ensured, and the guarantee is provided for the video watching of a user.
The difference between the second embodiment and the first embodiment is that the second embodiment explains the implementation mode of next picture-in-picture operation, so that the method is not only suitable for one picture-in-picture playing operation, but also suitable for multiple switching of multiple picture-in-picture playing operations;
and initializing the WindowManager, wherein the WindowManager is a component in the android system, and the initializing of the WindowManager is also a common technical means of the android system, and is not described herein.
Based on the same inventive concept, the application provides another picture-in-picture playing method in the live broadcast room corresponding to the embodiment, which is detailed in the third embodiment.
EXAMPLE III
As shown in fig. 3, a third embodiment of the present invention further provides another live broadcast room picture-in-picture playing method, which includes the following steps:
q1, create a first unit for hosting a first player;
q2, acquiring first video data, and creating a first player for background analysis;
q3, creating a first display window based on the first component, wherein the first display window is used for displaying the first video data analyzed by the first player;
q4, when starting picture-in-picture playing work, closing the first display window, and creating a second display window by using the second unit, wherein the second display window is used for displaying the first video data in a picture-in-picture mode;
q5, when stopping the picture-in-picture playing operation, closing the second display window, re-creating the first display window based on the first component, and displaying the first video data parsed by the first player;
and when the first display window is closed, the first player continuously loads the first video data and analyzes the first video data.
In the embodiment of the invention, based on a first player and a first component, a video of a live broadcast room is played, and first video data is displayed by utilizing a first display window;
then when picture-in-picture display is needed, the first display window is closed, the first player continues to analyze the live video in the background, the second display window is created by the second unit, and the first video data analyzed by the first player in the background is displayed in the picture-in-picture mode by the second display window;
according to the embodiment of the invention, when picture-in-picture playing is required for live video playing, the video playing and the video displaying of the live video are independent, and the background continuously analyzes the first video data in the switching process of the two display windows, so that the playing smoothness during the picture-in-picture playing is ensured, and the guarantee is provided for the video watching of a user.
It should be noted that, most of the existing pip playing methods are: when the picture-in-picture playing is required, the picture-in-picture player acquires picture-in-picture video data to play and displays the picture-in-picture video data on a page in a picture-in-picture mode, then the picture-in-picture player is directly closed when the picture-in-picture playing is not required, and when the picture-in-picture playing is required to be started again, the picture-in-picture player is restarted to acquire the picture-in-picture video data again.
In step Q1 of the embodiment of the present invention, a first unit is first created, and the first unit is used to control the first player, and when the specific operation is performed, a first player member variable may be set in the first unit, which is used to correspond to the first player, and the first unit has a getInstance () method built therein, and has a common method related to the first player built therein, such as: initializing a first player, playing data stream address acquisition, pausing playing, stopping playing, destroying the first player, monitoring the first player, and the like.
In step Q2, the live broadcast room is opened, when the video playing of the live broadcast room is performed, the live broadcast room sends an HTTP request data stream address, at this time, a first player is initialized by using the first unit, a first video data stream address is obtained, the first player is used for performing background resolution, and the first component is initialized while the first player loads a video data stream;
in step Q3, based on the first component, creating a first display window by using a TextureView control and a surface texture control, where the first display window is used for performing picture output when the first player performs background parsing, that is, displaying a video played by the first player, and performing picture output, and visually, a video picture displayed by the first display window is a video played by the first player;
the operation step of playing the live video in the live broadcast room, and then in step Q4, the operation specifically referred to as picture-in-picture playing is started:
in step Q4, when it is necessary to start the pip playing operation, closing the first display window, and creating a second display window by using the second unit, where the second display window is used to display the first video data analyzed by the first player in the pip form, it should be noted that although the first display window is closed, the operation of acquiring and analyzing the first video data by the first player is not stopped, but is continued, and only at this time, the background analysis of the pip video data by the pip player is performed, which means that only the first display window is closed, and the first video data analyzed by the first player is displayed without using the first display window, but the second display window is used to display the first video data analyzed by the first player in the pip form;
then, in step Q5, when the pip playing operation is stopped, closing the second display window, re-creating the first display window based on the first component, and displaying the first video data parsed by the first player;
it should be noted that, in step Q4, only the display operation of the first display window is stopped, and the first video data analysis operation of the first player is not stopped, so that when the subsequent picture-in-picture video display needs to be performed again, the first video data still analyzed by the background is directly displayed, and the player does not need to be restarted, and the first video data does not need to be obtained again;
therefore, when the live video playing needs to be carried out the picture-in-picture playing, the embodiment of the invention can carry out the video playing and the video displaying of the live video independently, and the background continuously analyzes the first video data in the switching process of the two display windows, thereby ensuring the playing fluency when the picture-in-picture playing is carried out and providing guarantee for the video watching of a user.
In an embodiment of the present invention, the method further comprises the steps of:
when the next picture-in-picture playing work is required, the second unit is initialized again, and the second display window is created again based on the second unit;
that is, before the next pd playing operation, if there is no other control instruction, the first player continues to perform parsing in the background, i.e., video playing, but does not perform displaying, but actually performs an operation of restarting the first display window to perform displaying, and when the next pd playing operation is required, performs video displaying again through the second display window, i.e., initializes the second unit again, and recreates the second display window based on the second unit.
It should be noted that, in the embodiment of the present invention, creating the first display window based on the first component specifically includes the following steps:
creating a surfaceTexture control with a TextureView control in a first component;
a first display window is created using a surfaceTexture control.
The first unit is used for controlling the first player to initialize, pause, stop, destroy, monitor and play.
Further, in the embodiment of the present invention, a handler thread is configured in the first unit, and is used for executing all operations of the first unit, so as to avoid blocking the UI thread;
namely, when the first unit initializes, pauses, stops, destroys, monitors and plays the first player, the first unit executes the operation issued by the first unit to the first player by means of handlethread.
Based on the same inventive concept, the present application provides an embodiment of a picture-in-picture playing system in a live broadcast room, which is detailed in embodiment four
Example four
As shown in fig. 4, a fourth embodiment of the present invention provides a live-air-room picture-in-picture playing system, which includes:
a picture-in-picture opening unit 1 for generating a picture-in-picture play signal when a picture-in-picture play operation needs to be opened;
the MediaPlayer manager 2 is used for managing and controlling mediaplayers, acquiring live video data stream addresses, creating mediaplayers to load and analyze live video data streams, and initializing Activity components;
an Activity component control unit 3 for managing and controlling Activity components;
a first Surface window creating unit 4 for creating a first Surface window for displaying live video data played by MediaPlayer based on the Activity component;
a first Surface window closing unit 5, configured to close the first Surface window after receiving the pip play signal;
a picture-in-picture display unit 6 for creating a second Surface window using a WindowManager upon receiving the picture-in-picture play signal, the second Surface window for displaying the MediaPlayer parsed live video data in a picture-in-picture form;
a picture-in-picture closing unit 7, configured to close the second Surface window when the picture-in-picture play job is stopped;
a first Surface window restarting unit 8, configured to create a first Surface window based on the Activity component again after stopping the picture-in-picture playing work;
when the first Surface window is closed, the MediaPlayer continuously loads the live video data and analyzes the live video data.
In the embodiment of the invention, based on the MediaPlayer and the Activity component, the video in the live broadcasting is played, and the live broadcasting video data is displayed by utilizing the first Surface window;
then when picture-in-picture display is needed, closing the first Surface window, and the MediaPlayer continues to analyze the live video in the background, and then using the WindowManager to create a second Surface window, and using the second Surface window to display the live video data analyzed by the MediaPlayer in the background in the form of picture-in-picture;
according to the embodiment of the invention, when picture-in-picture playing is required for live video playing, the video playing and the video displaying of the live video are independent, and the background continuously analyzes the live video data in the switching process of the two display windows, so that the playing fluency during the picture-in-picture playing is ensured, and the guarantee is provided for the video watching of a user.
It should be noted that, most of the existing pip playing methods are: when the picture-in-picture playing is required, the picture-in-picture player acquires picture-in-picture video data to play and displays the picture-in-picture video data on a page in a picture-in-picture mode, then the picture-in-picture player is directly closed when the picture-in-picture playing is not required, and when the picture-in-picture playing is required to be started again, the picture-in-picture player is restarted to acquire the picture-in-picture video data again.
In the embodiment of the present invention, a MediaPlayer manager is first created, and the MediaPlayer manager is used to manage MediaPlayer, and when the operation is specific, a MediaPlayer member variable may be set in the MediaPlayer manager, which is used to correspond to MediaPlayer, and the MediaPlayer manager has built-in thereto a getInstance () method, and has built-in thereto common methods related to MediaPlayer, such as: initializing a MediaPlayer, acquiring playing data stream address, pausing playing, stopping playing, destroying the MediaPlayer, monitoring the MediaPlayer and the like;
opening a live broadcast room, when video playing is carried out in the live broadcast room, the live broadcast room can send an HTTP request data stream address, at the moment, a MediaPlayer manager is used for initializing a MediaPlayer, a live broadcast video data stream address is obtained, background analysis is carried out by using the MediaPlayer, and when the MediaPlayer loads a video data stream, an Activity component is initialized;
based on the Activity component, creating a first Surface window by using a TextureView control and a Surface texture control, wherein the first Surface window is used for carrying out picture output when a MediaPlayer performs background analysis, namely displaying a video played by the MediaPlayer and carrying out picture output, and visually displaying a video picture displayed by the first Surface window is the video played by the MediaPlayer;
the operation step of playing the live video in the live broadcast room is as follows, and then, the operation of playing the live video in picture-in-picture is started:
when picture-in-picture playing work needs to be started, a first Surface window is closed, a second Surface window is created by using a WindowManager, the second Surface window is used for displaying live video data analyzed by the MediaPlayer in a picture-in-picture mode, and it needs to be explained that although the first Surface window is closed, the work of acquiring and analyzing the live video data by the MediaPlayer is not stopped but continuously performed, only the background analysis of the picture-in-picture video data by the picture-in-picture player at the moment is performed, that is, only the first Surface window is closed, the image display is not performed by using the first Surface window, but the second Surface window is used for displaying the live video data analyzed by the MediaPlayer in the picture-in-picture mode;
then, when picture-in-picture playing operation is stopped, closing the second Surface window, creating the first Surface window again based on the Activity component, and displaying live video data analyzed by the MediaPlayer;
it should be noted that, in the embodiment of the present invention, only the display operation of the first Surface window is stopped, and the analysis operation of the live video data of the MediaPlayer is not stopped, so that when the picture-in-picture video display is required again in the following, the live video data still analyzed in the background is directly displayed, and the player does not need to be restarted, and the live video data does not need to be obtained again;
therefore, when the live video playing needs to be carried out in the picture-in-picture playing, the embodiment of the invention has the advantages that the video playing and the video displaying of the live video are independent, and the background continuously analyzes the live video data in the switching process of the two display windows, so that the playing smoothness during the picture-in-picture playing is ensured, and the guarantee is provided for the video watching of a user. .
Based on the same inventive concept, the present application provides an embodiment of a storage medium corresponding to the embodiment, which is detailed in embodiment five
EXAMPLE five
A fifth embodiment of the present invention provides a computer-readable storage medium on which a computer program is stored, the computer program, when executed by a processor, implementing all or part of the method steps in the first to third embodiments.
The present invention can implement all or part of the processes in the first to third embodiments, and can also be implemented by using a computer program to instruct related hardware, where the computer program can be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the above-mentioned method embodiments can be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer readable medium may include: any entity or device capable of carrying computer program code, recording medium, U.S. disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution media, and the like. It should be noted that the computer readable medium may contain other components which may be suitably increased or decreased as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, in accordance with legislation and patent practice, the computer readable medium does not include electrical carrier signals and telecommunications signals.
Based on the same inventive concept, the application provides an embodiment of the electronic device corresponding to the first embodiment, which is detailed in the sixth embodiment
EXAMPLE six
The sixth embodiment of the present invention further provides an electronic device, which includes a memory and a processor, wherein the memory stores a computer program running on the processor, and the processor executes the computer program to implement all or part of the method steps in the first to third embodiments.
The Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. The general purpose processor may be a microprocessor or the processor may be any conventional processor or the like, the processor being the control center of the computer device and the various interfaces and lines connecting the various parts of the overall computer device.
The memory may be used to store computer programs and/or modules, and the processor may implement various functions of the computer device by executing or executing the computer programs and/or modules stored in the memory, as well as by invoking data stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, video data, etc.) created according to the use of the cellular phone, etc. In addition, the memory may include high speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, server, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), servers and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (10)

1. A picture-in-picture playing method in a live broadcast room is characterized by comprising the following steps:
creating a MediaPlayer manager for managing mediaplayers;
acquiring a live video data stream address, creating a MediaPlayer to load the live video data stream for analysis, and initializing an Activity component;
creating a first Surface window based on the Activity component, wherein the first Surface window is used for displaying the live video data analyzed by the MediaPlayer;
when picture-in-picture playing work is started, closing the first Surface window, and creating a second Surface window by using a WindowManager, wherein the second Surface window is used for displaying live video data analyzed by the MediaPlayer in a picture-in-picture mode;
when picture-in-picture playing operation is stopped, closing the second Surface window, creating a first Surface window again based on an Activity component, and displaying live video data analyzed by the MediaPlayer;
when the first Surface window is closed, the MediaPlayer continuously loads the live video data and analyzes the live video data.
2. The method of claim 1, further comprising the steps of:
and when the next picture-in-picture playing work is required, initializing the WindowManager again, and recreating the second Surface window based on the WindowManager.
3. The method according to claim 1, wherein the creating a first Surface window based on an Activity component specifically comprises the following steps:
creating a surfaceTexture control in the Activity component by using a TextureView control;
creating the first Surface window using a Surface texture control.
4. The method of claim 1, wherein: the MediaPlayer manager is used to control the MediaPlayer to initialize, pause, stop, destroy, listen, and play.
5. The method of claim 1, wherein: a handler thread is configured in the MediaPlayer manager for performing all operations of the MediaPlayer manager to avoid blocking UI threads.
6. A picture-in-picture playing method in a live broadcast room is characterized in that the method is used for playing the picture-in-picture in the live broadcast room, and comprises the following steps:
s1, creating a mediaPlayer manager for managing mediaPlayer;
s2, acquiring the address of the live video data stream, creating a MediaPlayer to load the live video data stream for analysis, and initializing an Activity component;
s3, creating a first Surface window based on the Activity component, wherein the first Surface window is used for displaying the live video data analyzed by the MediaPlayer;
s4, when picture-in-picture playing work is started, closing the first Surface window, and creating a second Surface window by using a WindowManager, wherein the second Surface window is used for displaying live video data analyzed by the MediaPlayer in a picture-in-picture mode;
s5, when picture-in-picture playing operation is stopped, closing the second Surface window, creating a first Surface window based on an Activity component again, and displaying live video data analyzed by the MediaPlayer;
s6, when picture-in-picture playing work needs to be carried out next time, initializing the WindowManager again, and reestablishing a second Surface window based on the WindowManager;
when the first Surface window is closed, the MediaPlayer continues to load and parse the live video data.
7. A picture-in-picture playing method in a live broadcast room is characterized by comprising the following steps:
creating a first unit for managing the first player;
acquiring first video data, and creating a first player for background analysis;
creating a first display window based on a first component, wherein the first display window is used for displaying first video data analyzed by a first player;
when picture-in-picture playing work is started, the first display window is closed, and a second display window is created by using a second unit, wherein the second display window is used for displaying the first video data in a picture-in-picture mode;
when picture-in-picture playing operation is stopped, closing the second display window, re-creating a first display window based on a first component, and displaying first video data analyzed by the first player;
and when the first display window is closed, the first player continuously loads the first video data and analyzes the first video data.
8. A storage medium having a computer program stored thereon, characterized in that: the computer program, when executed by a processor, implements the method of any one of claims 1 to 7.
9. An electronic device comprising a memory and a processor, the memory having stored thereon a computer program that runs on the processor, characterized in that: the processor, when executing the computer program, implements the method of any of claims 1 to 7.
10. A live room picture-in-picture playback system, comprising:
a picture-in-picture opening unit for generating a picture-in-picture play signal when a picture-in-picture play operation needs to be opened;
the MediaPlayer manager is used for managing and controlling MediaPlayers, acquiring live video data stream addresses, creating MediaPlayer to load and analyze live video data streams, and initializing Activity components;
the Activity component control unit is used for managing and controlling the Activity components;
a first Surface window creating unit configured to create a first Surface window based on the Activity component, the first Surface window being configured to display live video data played by the MediaPlayer;
a first Surface window closing unit, configured to close the first Surface window after receiving a picture-in-picture play signal;
a picture-in-picture display unit for creating a second Surface window using a WindowManager after receiving the picture-in-picture play signal, the second Surface window for displaying the MediaPlayer parsed live video data in a picture-in-picture form;
a picture-in-picture closing unit for closing the second Surface window when stopping picture-in-picture play;
the first Surface window restarting unit is used for creating a first Surface window based on the Activity component again after stopping the picture-in-picture playing work;
when the first Surface window is closed, the MediaPlayer continuously loads the live video data and analyzes the live video data.
CN201811259635.8A 2018-10-26 2018-10-26 Picture-in-picture playing method, storage medium, electronic equipment and system for live broadcasting room Active CN111107415B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811259635.8A CN111107415B (en) 2018-10-26 2018-10-26 Picture-in-picture playing method, storage medium, electronic equipment and system for live broadcasting room

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811259635.8A CN111107415B (en) 2018-10-26 2018-10-26 Picture-in-picture playing method, storage medium, electronic equipment and system for live broadcasting room

Publications (2)

Publication Number Publication Date
CN111107415A true CN111107415A (en) 2020-05-05
CN111107415B CN111107415B (en) 2023-06-23

Family

ID=70418483

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811259635.8A Active CN111107415B (en) 2018-10-26 2018-10-26 Picture-in-picture playing method, storage medium, electronic equipment and system for live broadcasting room

Country Status (1)

Country Link
CN (1) CN111107415B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111736928A (en) * 2020-06-22 2020-10-02 Oppo(重庆)智能科技有限公司 Picture-in-picture mode starting method and device and computer readable storage medium
CN113365150A (en) * 2021-06-04 2021-09-07 上海哔哩哔哩科技有限公司 Video processing method and video processing device
CN113873316A (en) * 2021-11-04 2021-12-31 上海哔哩哔哩科技有限公司 Live broadcast room video playing method and device
CN113965800A (en) * 2021-10-25 2022-01-21 广东博华超高清创新中心有限公司 Video playing method and system for realizing multi-screen different display, computer equipment and application
CN114827755A (en) * 2022-04-15 2022-07-29 咪咕文化科技有限公司 Video playing method, system, device and storage medium
CN115767154A (en) * 2023-01-04 2023-03-07 北京搜狐新动力信息技术有限公司 Picture-in-picture oriented play control method, device and computer readable medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008019350A2 (en) * 2006-08-04 2008-02-14 Meebo, Inc. A method and system for embedded group communication
US20160360262A1 (en) * 2015-06-03 2016-12-08 Autodesk, Inc Preloading and switching streaming videos
CN108093290A (en) * 2017-12-13 2018-05-29 广州虎牙信息科技有限公司 Image content switching methods of exhibiting, storage device and computer equipment is broadcast live
CN108282686A (en) * 2017-01-18 2018-07-13 广州市动景计算机科技有限公司 Video pictures processing method, device and electronic equipment
CN108366301A (en) * 2018-04-24 2018-08-03 中国广播电视网络有限公司 A kind of video suspension playback method based on Android
CN108419117A (en) * 2018-04-28 2018-08-17 中广热点云科技有限公司 A kind of device and method realized video wicket and played

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008019350A2 (en) * 2006-08-04 2008-02-14 Meebo, Inc. A method and system for embedded group communication
US20160360262A1 (en) * 2015-06-03 2016-12-08 Autodesk, Inc Preloading and switching streaming videos
CN108282686A (en) * 2017-01-18 2018-07-13 广州市动景计算机科技有限公司 Video pictures processing method, device and electronic equipment
CN108093290A (en) * 2017-12-13 2018-05-29 广州虎牙信息科技有限公司 Image content switching methods of exhibiting, storage device and computer equipment is broadcast live
CN108366301A (en) * 2018-04-24 2018-08-03 中国广播电视网络有限公司 A kind of video suspension playback method based on Android
CN108419117A (en) * 2018-04-28 2018-08-17 中广热点云科技有限公司 A kind of device and method realized video wicket and played

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
一叶知秋DONG 转载: "Android 浮动窗口进阶——画中画,浮动视频", 《HTTPS://BLOG.CSDN.NET/DXPQXB/ARTICLE/DETAILS/54581530》 *

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111736928A (en) * 2020-06-22 2020-10-02 Oppo(重庆)智能科技有限公司 Picture-in-picture mode starting method and device and computer readable storage medium
CN113365150A (en) * 2021-06-04 2021-09-07 上海哔哩哔哩科技有限公司 Video processing method and video processing device
CN113365150B (en) * 2021-06-04 2023-02-07 上海哔哩哔哩科技有限公司 Video processing method and video processing device
CN113965800A (en) * 2021-10-25 2022-01-21 广东博华超高清创新中心有限公司 Video playing method and system for realizing multi-screen different display, computer equipment and application
CN113873316A (en) * 2021-11-04 2021-12-31 上海哔哩哔哩科技有限公司 Live broadcast room video playing method and device
CN113873316B (en) * 2021-11-04 2024-02-27 上海哔哩哔哩科技有限公司 Live broadcasting room video playing method and device
CN114827755A (en) * 2022-04-15 2022-07-29 咪咕文化科技有限公司 Video playing method, system, device and storage medium
CN115767154A (en) * 2023-01-04 2023-03-07 北京搜狐新动力信息技术有限公司 Picture-in-picture oriented play control method, device and computer readable medium
CN115767154B (en) * 2023-01-04 2023-05-16 北京搜狐新动力信息技术有限公司 Picture-in-picture oriented play control method and device and computer readable medium

Also Published As

Publication number Publication date
CN111107415B (en) 2023-06-23

Similar Documents

Publication Publication Date Title
CN111107415A (en) Live broadcast room picture-in-picture playing method, storage medium, electronic equipment and system
US10930318B2 (en) Gapless video looping
WO2021114708A1 (en) Method and apparatus for implementing multi-person video live-streaming service, and computer device
CN109327727B (en) Live stream processing method in WebRTC and stream pushing client
CN110166810B (en) Video rendering engine switching method, device and equipment and readable storage medium
CN108566561B (en) Video playing method, device and storage medium
JP2023513299A (en) Live distribution data display method, device, equipment and storage medium
CN102474671B (en) Information processing system and information processor
CN106817596B (en) Special effect processing method and device acting on media acquisition device
KR20190116931A (en) Remote cloud-based video production system in an environment where there is network delay
CN112732152B (en) Live broadcast processing method and device, electronic equipment and storage medium
CN112637670B (en) Video generation method and device
US20050132385A1 (en) System and method for creating and executing rich applications on multimedia terminals
US20080091365A1 (en) Image verification with tiered tolerance
US20220377395A1 (en) Method and system for automatic real-time frame segmentation of high resolution video streams into constituent features and modifications of features in each frame to simultaneously create multiple different linear views from same video source
CN114845136B (en) Video synthesis method, device, equipment and storage medium
CN113407436A (en) Play component compatibility detection method and device, computer equipment and storage medium
CN105763900A (en) Method of setting live program authority and apparatus thereof
CN113784180A (en) Video display method, video pushing method, video display device, video pushing device, video display equipment and storage medium
CN104994429B (en) A kind of method and device playing video
CN110035294B (en) Processing method and device for live broadcast room, computer readable storage medium and computer equipment
CN112770168A (en) Video playing method and related device and equipment
CN111107283B (en) Information display method, electronic equipment and storage medium
CN111913761B (en) Plug-in processing method, device, equipment and storage medium for live channel
WO2018149170A1 (en) Cross-application control 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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20230602

Address after: 518000, Building 6, 601, Tian'an Yungu Industrial Park Phase 2 (Plot 02-07), Gangtou Community, Bantian Street, Longgang District, Shenzhen City, Guangdong Province

Applicant after: Qingcheng Mathematical Technology Group Co.,Ltd.

Address before: 430000 East Lake Development Zone, Wuhan City, Hubei Province, No. 1 Software Park East Road 4.1 Phase B1 Building 11 Building

Applicant before: WUHAN DOUYU NETWORK TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant