Unlock instant, AI-driven research and patent intelligence for your innovation.

Code stream definition switching method, device, terminal and readable medium of Android system

A technology with clarity and code flow, applied in the computer field, it can solve problems such as poor user experience

Active Publication Date: 2022-01-04
WUHAN DOUYU NETWORK TECH CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the existing process of obtaining code stream information, the view presented by the player is usually a black screen page or a loading page, which makes the user clearly feel that there is a disconnection time between the code stream information before playback switching and the code stream information after playback switching. poor experience

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Code stream definition switching method, device, terminal and readable medium of Android system
  • Code stream definition switching method, device, terminal and readable medium of Android system
  • Code stream definition switching method, device, terminal and readable medium of Android system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0042] figure 1 It is a flow chart of a code stream resolution switching method for an Android system provided by Embodiment 1 of the present invention. This embodiment is applicable to the case of code stream resolution switching in an Android system. The method can be implemented by a terminal, specifically through a terminal implemented in software and / or hardware. see figure 1 , the code stream definition switching method of the Android system includes the following steps:

[0043] S110. When the definition switching event is detected, call the object construction method of the custom view class corresponding to the first view object to construct the second view object, and set the layout parameters of the second view object according to the layout parameters of the first view object .

[0044] Among them, when using an Android terminal to pull network audio and video resources (such as watching a live broadcast), the user can switch the definition of the code stream of...

Embodiment 2

[0083] figure 2 It is a schematic structural diagram of a code stream resolution switching device for an Android system provided in Embodiment 2 of the present invention. This embodiment is applicable to the code stream resolution switching situation of an Android system.

[0084] see figure 2 , the code stream definition switching device of the Android system in the present embodiment includes:

[0085] The second view object construction module 210 is configured to call the object construction method of the custom view class corresponding to the first view object to construct the second view object when the sharpness switching event is monitored, and to construct the second view object according to the layout parameters of the first view object The second view object sets the layout parameters;

[0086] The second view object adding module 220 is used to call the parent layout object search method to find the parent layout object of the first view object, set the state o...

Embodiment 3

[0106] This embodiment provides a terminal, which can be used in the case of switching the code stream definition of the Android system. image 3 It is a schematic structural diagram of a terminal provided in Embodiment 3 of the present invention. see image 3 , the terminal includes:

[0107] one or more processors 310;

[0108] memory 320, for storing one or more programs;

[0109] When the one or more programs are executed by the one or more processors 310, the one or more processors 310 implement the code stream resolution switching method for the Android system as proposed in Embodiment 1.

[0110] image 3 Take a processor 310 as an example; the processor 310 and the memory 320 can be connected through a bus or in other ways, image 3 Take connection via bus as an example.

[0111] As a computer-readable storage medium, the memory 320 can be used to store software programs, computer-executable programs and modules, such as program instructions / modules corresponding...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the present invention discloses a code stream resolution switching method, device, terminal, and readable medium of an Android system, wherein the method includes: when a resolution switching event is detected, calling an object construction method of a custom view class to construct The second view object, and set the layout parameters for the second view object; call the parent layout object lookup method to find the parent layout object of the first view object, set the state of the second view object to the invisible state, and set the invisible state Add the second view object to the parent layout object, and obtain the code stream information after switching the definition; when the code stream information after switching the definition is obtained, switch the player object from setting the first view object to setting the second View object, set the state of the second view object to visible state and play the code stream information after switching the definition. The code stream definition switching method, device, terminal and readable medium of the Android system provided by the embodiments of the present invention realize seamless switching of the definition and improve user experience.

Description

technical field [0001] The embodiments of the present invention relate to computer technology, and in particular to a code stream definition switching method, device, terminal and readable medium of an Android system. Background technique [0002] When using an Android terminal to pull network audio and video resources (such as watching a live broadcast), users can switch the definition according to their needs. Usually, the resolution switching method is to obtain the code stream address of the switched resolution through an HTTP request, and obtain corresponding code stream information by accessing the code stream address. In the existing process of obtaining code stream information, the view presented by the player is usually a black screen page or a loading page, which makes the user clearly feel that there is a disconnection time between the code stream information before playback switching and the code stream information after playback switching. The experience is poo...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04N21/858H04N21/4402H04N21/81H04N21/8543H04N21/431
CPCH04N21/4312H04N21/440263H04N21/81H04N21/8543H04N21/8586
Inventor 张磊
Owner WUHAN DOUYU NETWORK TECH CO LTD