Live broadcast room picture-in-picture playing method, storage medium, electronic equipment and system
A playback method and picture-in-picture technology, applied in electrical components, image communication, selective content distribution, etc., can solve problems such as stuttering, and achieve the effect of ensuring smooth playback
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0074] see figure 1 As shown, the embodiment of the present invention provides a method for playing picture-in-picture in a live broadcast, including the following steps:
[0075] S1. Create a MediaPlayer manager, which is used to control the MediaPlayer;
[0076] S2. Obtain the address of the live video data stream, create a MediaPlayer to load the live video data stream for analysis, and initialize the Activity component;
[0077] S3, create the first Surface window based on the Activity component, and the first Surface window is used to display the live video data analyzed by the MediaPlayer;
[0078] S4, when opening the picture-in-picture playback work, close the first Surface window, and utilize WindowManager to create the second Surface window, the second Surface window is used to display the live video data analyzed by MediaPlayer in the form of picture-in-picture;
[0079] S5, when stopping the picture-in-picture playback operation, close the second Surface window, ...
Embodiment 2
[0111] Such as figure 2 As shown, the second embodiment of the present invention also provides a method for playing picture-in-picture in a live broadcast, which includes the following steps:
[0112] S1. Create a MediaPlayer manager, which is used to control the MediaPlayer;
[0113] S2. Obtain the address of the live video data stream, create a MediaPlayer to load the live video data stream for analysis, and initialize the Activity component;
[0114] S3, create the first Surface window based on the Activity component, and the first Surface window is used to display the live video data analyzed by the MediaPlayer;
[0115] S4, when opening the picture-in-picture playback work, close the first Surface window, and utilize WindowManager to create the second Surface window, the second Surface window is used to display the live video data analyzed by MediaPlayer in the form of picture-in-picture;
[0116] S5, when stopping the picture-in-picture playback operation, close the s...
Embodiment 3
[0124] Such as image 3 As shown, the third embodiment of the present invention also provides another method for playing picture-in-picture in a live broadcast, which includes the following steps:
[0125] Q1. Create a first unit, which is used to control the first player;
[0126] Q2. Obtain the first video data, create the first player for background analysis;
[0127] Q3. Create a first display window based on the first component, and the first display window is used to display the first video data parsed by the first player;
[0128] Q4. When opening the picture-in-picture playback work, close the first display window, and use the second unit to create a second display window, and the second display window is used to display the first video data in the form of picture-in-picture;
[0129] Q5. When stopping the picture-in-picture playback operation, close the second display window, recreate the first display window based on the first component, and display the first video...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com