Live video display method and device, terminal and storage medium
A technology of live video and display method, applied in the field of live broadcast, can solve the problems of long time consumption, poor user experience, delayed decoding and rendering of the first frame of image, etc. longer effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0029] figure 2 It is a flow chart of the live video display method provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation where the live video is displayed on the main interface of the live room in the Android system. This method can be implemented by the display device of the live video Execution, the device can be composed of hardware and / or software, and generally can be integrated in the terminal, specifically including the following steps:
[0030] S110. Start an operation of creating a main interface, where the main interface is used to play live video streams.
[0031] After the live broadcast application is started, the interactive interface will display thumbnails of multiple live broadcast rooms, anchor avatars or input boxes for live broadcast room numbers. Users can click the thumbnail of the desired live broadcast room, the head portrait of the host, or enter the live broadcast room number in the input box to enter the...
Embodiment 2
[0046] This embodiment further optimizes the foregoing embodiments, image 3 It is a flow chart of the live video display method provided by Embodiment 2 of the present invention, such as image 3 As shown, the method for displaying live video provided in this embodiment includes the following steps:
[0047] S210. Start an operation of creating a main interface, where the main interface is used to play live video streams. Continue to execute S260.
[0048] S220. Acquire video parameters set by the user or preconfigured; or, acquire video parameters from live video streams; the video parameters include encoding format and resolution. Continue to execute S230.
[0049] Optionally, the encoding format and resolution can be obtained through the following two implementation methods:
[0050] The first implementation mode: obtain the video source information set by the user or pre-configured, the video source information includes the video stream line and picture quality; accor...
Embodiment 3
[0080] Figure 4 It is a module structure diagram of a live video display device provided in Embodiment 3 of the present invention. Such as Figure 4 As shown, the device includes: a startup module 31 , an initialization module 32 , a decoding and rendering module 33 and a display module 34 .
[0081] The starting module 31 is used to start the operation of creating the main interface, and the main interface is used to play the live video stream.
[0082] The initialization module 32 is configured to reference the off-screen surface to initialize the hardware decoder.
[0083] The decoding and rendering module 33 is configured to use a hardware decoder to decode the live video stream after receiving the live video stream, and render the live video stream on an off-screen surface.
[0084] The display module 34 is configured to display the rendered video on the off-screen surface on the main interface.
[0085] In the embodiment of the present invention, by starting the ope...
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