CN108449641B - Method, device, computer equipment and storage medium for playing media stream - Google Patents

Method, device, computer equipment and storage medium for playing media stream Download PDF

Info

Publication number
CN108449641B
CN108449641B CN201810266138.4A CN201810266138A CN108449641B CN 108449641 B CN108449641 B CN 108449641B CN 201810266138 A CN201810266138 A CN 201810266138A CN 108449641 B CN108449641 B CN 108449641B
Authority
CN
China
Prior art keywords
window
information
media stream
current page
playing
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.)
Active
Application number
CN201810266138.4A
Other languages
Chinese (zh)
Other versions
CN108449641A (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.)
Qingdao Hisense Media Network Technology Co Ltd
Original Assignee
Qingdao Hisense Media 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 Qingdao Hisense Media Network Technology Co Ltd filed Critical Qingdao Hisense Media Network Technology Co Ltd
Priority to CN201810266138.4A priority Critical patent/CN108449641B/en
Publication of CN108449641A publication Critical patent/CN108449641A/en
Application granted granted Critical
Publication of CN108449641B publication Critical patent/CN108449641B/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/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • H04N21/4438Window management, e.g. event handling following interaction with the user interface
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04806Zoom, i.e. interaction techniques or interactors for controlling the zooming operation

Abstract

The invention discloses a method and a device for playing media streams, computer equipment and a storage medium, and belongs to the technical field of internet. The method comprises the following steps: playing the media stream in a first window of a current page; when a switching instruction is detected, adjusting the information of the first window according to the switching instruction; and playing the media stream in the adjusted first window. According to the method and the device, the played current window is adjusted, the operation process of stripping and adding is omitted, seamless switching between windows with different sizes is realized, audio in the media stream can be played continuously, video pictures are switched smoothly, the phenomenon of black screen of the window is avoided, user experience is improved, and the efficiency of playing the media stream is improved.

Description

Method, device, computer equipment and storage medium for playing media stream
Technical Field
The present invention relates to the field of internet technologies, and in particular, to a method and an apparatus for playing a media stream, a computer device, and a storage medium.
Background
With the development of internet technology, a terminal can play a media stream related to a product, for example, a video stream, in a display page to promote the product operated by a merchant to a user. In the display page, the terminal can add a plurality of windows in the current page in a waterfall flow display mode, and play media streams of a plurality of products in the plurality of windows; when a user browses a media stream of a certain window in a current page, the user is limited by the size of the window, the user often needs to browse the media stream in a full screen mode, and at the moment, the terminal switches the media stream from the window to the full screen window for playing.
Currently, a terminal may bear multiple windows in a current page through a list control, and render different media streams in the multiple windows. When a user needs to browse a media stream in a certain window in a full screen mode, a full screen button of a current page can be triggered, and when the terminal detects that the full screen button of the current page is triggered, the terminal peels the window from a list control and stops rendering the media stream in the window; and then, the terminal adds the stripped window into the full-screen control and continues to render the media stream in the added window, so that the media stream is played in the full screen mode by the terminal.
In the process of implementing the invention, the inventor finds that the related art has at least the following problems:
in the media stream playing process, the media stream switching playing process is actually an operation process of stripping and adding the window first. However, this procedure generally requires a long processing time. In the period of time, the terminal cannot render the media stream, so that seamless connection cannot be achieved in the switching process, and correspondingly, the playing window can present a black screen state.
Disclosure of Invention
The embodiment of the invention provides a method and a device for playing a media stream, computer equipment and a storage medium device, which can solve the problem of low media stream playing efficiency in the related art. The technical scheme is as follows:
in a first aspect, a method for playing a media stream is provided, the method comprising:
playing a media stream in a first window of a current page, wherein the first window is borne in a specified control except a list control of the current page, the list control is used for bearing N windows in the current page, N is a positive integer, and provides the display position of the media stream on the current page for the first window, and the specified control is different from a layer corresponding to the list control;
when a switching instruction is detected, adjusting the information of the first window according to the switching instruction, wherein the switching instruction is used for indicating that the media stream is switched from the first window to the adjusted first window;
and playing the media stream in the adjusted first window.
In a possible implementation manner, the adjusting, according to the switching instruction, information of the first window includes:
acquiring the information of the switching instruction according to the switching instruction;
and performing stretching processing or shrinking processing on the first window according to the information of the switching instruction and the information of the first window, wherein the information of the first window is used for describing the size of the first window and the position of the first window on the current page.
In a possible implementation manner, the performing, according to the information of the switching instruction and the information of the first window, stretching or shrinking the first window includes:
when the switching instruction is a full-screen display instruction, stretching the first window from the current position to a position corresponding to full-screen display information according to full-screen display information and the information of the first window;
when the switching instruction is a restoration display instruction, determining information of a second window carried by the list control according to the restoration display instruction, stretching or shrinking the adjusted first window according to the adjusted information of the first window and the adjusted information of the second window to obtain a restored first window, and playing the media stream in the restored first window, wherein the position of the second window is the display position of the media stream.
In one possible implementation manner, before the playing of the media stream in the first window of the current page, the method further includes:
and acquiring information of a second window carried by the list control, and creating the first window at the position of the second window in the current page through the specified control according to the information of the second window, wherein the position of the second window is the display position of the media stream.
In one possible implementation manner, after the media stream is played in the first window of the current page, the method further includes:
monitoring a sliding event of the current page, when the sliding event occurs in the current page is monitored, acquiring current information of a second window in the list control, and moving the first window according to the current information of the second window, wherein the current position of the second window is the current display position of the media stream.
In one possible implementation manner, after the adjusting the information of the first window, the method further includes:
and displaying the adjusted first window on the upper layer of the second window based on the specified control bearing the adjusted first window and the list control bearing the second window, wherein the position of the second window is the display position of the media stream.
In a second aspect, an apparatus for playing a media stream is provided, the apparatus comprising:
the first playing module is used for playing a media stream in a first window of a current page, the first window is borne in a specified control outside a list control of the current page, the list control is used for bearing N windows in the current page, N is a positive integer, the display position of the media stream on the current page is provided for the first window, and the specified control is different from a layer corresponding to the list control;
an adjusting module, configured to adjust information of the first window according to a switching instruction when the switching instruction is detected, where the switching instruction is used to instruct to switch the media stream from the first window to the adjusted first window;
and the second playing module is used for playing the media stream in the adjusted first window.
In one possible implementation, the adjusting module includes:
the acquisition unit is used for acquiring the information of the switching instruction according to the switching instruction;
and the processing unit is used for performing stretching processing or shrinking processing on the first window according to the information of the switching instruction and the information of the first window, wherein the information of the first window is used for describing the size of the first window and the position of the first window on the current page.
In a possible implementation manner, the processing unit is further configured to stretch the first window from the current position to a position corresponding to full-screen display information according to the full-screen display information and the information of the first window when the switching instruction is a full-screen display instruction;
the processing unit is further configured to, when the switching instruction is a restoration display instruction, determine information of a second window carried by the list control according to the restoration display instruction, stretch or reduce the adjusted first window according to the adjusted information of the first window and the adjusted information of the second window to obtain a restored first window, play the media stream in the restored first window, and set a position of the second window as a display position of the media stream.
In one possible implementation, the apparatus further includes:
and the obtaining module is used for obtaining information of a second window carried by the list control, and creating the first window at the position of the second window in the current page through the specified control according to the information of the second window, wherein the position of the second window is the display position of the media stream.
In one possible implementation, the apparatus further includes:
and the monitoring module is used for monitoring the sliding event of the current page, acquiring the current information of a second window in the list control when the sliding event occurs in the current page is monitored, and moving the first window according to the current information of the second window, wherein the current position of the second window is the current display position of the media stream.
In one possible implementation, the apparatus further includes:
and the display module is used for displaying the adjusted first window on the upper layer of the second window based on the designated control bearing the adjusted first window and the list control bearing the second window, wherein the position of the second window is the display position of the media stream.
In a third aspect, a computer device is provided, comprising a processor and a memory; the memory is used for storing a computer program; the processor is configured to execute the computer program stored in the memory, and implement the method steps for playing the media stream according to any of the implementation manners of the first aspect.
In a fourth aspect, a computer-readable storage medium is provided, in which a computer program is stored, which, when being executed by a processor, implements the method steps for playing a media stream according to any of the implementations of the first aspect.
The technical scheme provided by the embodiment of the invention has the following beneficial effects:
the terminal plays the media stream in a first window of a current page, the first window is borne in a specified control except for a list control of the current page, the list control is used for bearing N windows in the current page and providing the display position of the media stream in the current page for the first window, and the specified control is different from a layer corresponding to the list control, so that the terminal can directly adjust the size and the position of the first window in the layer of the specified control. When a switching instruction is detected, the terminal can adjust the information of the first window according to the switching instruction, and play the media stream in the adjusted first window, so that the media stream can be switched and played in a plurality of windows with different sizes and different positions in the current page, an operation process of firstly stripping and then adding is omitted, and only the current window for playing the media stream needs to be adjusted, so that the processing time for switching and playing is greatly saved, and the efficiency for playing the media stream is improved. Meanwhile, seamless switching between windows with different sizes is achieved, audio in the media stream can be played continuously, video pictures are switched smoothly, the phenomenon of black screen of the windows is avoided, and user experience is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart of a method for playing a media stream according to an embodiment of the present invention;
fig. 2 is a flowchart of a method for playing a media stream according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a current page of a terminal according to an embodiment of the present invention;
fig. 4 is a block diagram illustrating an apparatus for playing a media stream according to an embodiment of the present invention;
fig. 5 is a block diagram of a terminal 500 according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
Fig. 1 is a flowchart of a method for playing a media stream according to an embodiment of the present invention. Referring to fig. 1, the method includes:
101. playing a media stream in a first window of a current page, wherein the first window is borne in a specified control except a list control of the current page, the list control is used for bearing N windows in the current page, N is a positive integer, and provides the display position of the media stream on the current page for the first window, and the specified control is different from a layer corresponding to the list control;
102. when a switching instruction is detected, adjusting the information of the first window according to the switching instruction, wherein the switching instruction is used for indicating that the media stream is switched from the first window to the adjusted first window;
103. and playing the media stream in the adjusted first window.
In one possible implementation manner, adjusting the information of the first window according to the switching instruction includes:
acquiring the information of the switching instruction according to the switching instruction;
and performing stretching processing or shrinking processing on the first window according to the information of the switching instruction and the information of the first window to obtain the adjusted first window, wherein the information of the first window is used for describing the size of the first window and the position of the first window on the current page.
In one possible implementation manner, performing stretching processing or shrinking processing on the first window according to the information of the switching instruction and the information of the first window includes:
when the switching instruction is a full-screen display instruction, stretching the first window from the current position to a position corresponding to full-screen display information according to the full-screen display information and the information of the first window;
when the switching instruction is a restoration display instruction, determining information of a second window carried by the list control according to the restoration display instruction, stretching or shrinking the adjusted first window according to the adjusted information of the first window and the adjusted information of the second window to obtain a restored first window, and playing the media stream in the restored first window, wherein the position of the second window is the display position of the media stream.
In one possible implementation, before playing the media stream in the first window of the current page, the method further includes:
and acquiring information of a second window carried by the list control, and creating the first window at the position of the second window in the current page through the specified control according to the information of the second window, wherein the position of the second window is the display position of the media stream.
In one possible implementation, after the media stream is played in the first window of the current page, the method further includes:
and monitoring a sliding event of the current page, acquiring current information of a second window in the list control when the sliding event is monitored to occur in the current page, and moving the first window according to the current information of the second window, wherein the current position of the second window is the current display position of the media stream.
In one possible implementation, after the adjusting the information of the first window, the method further includes:
and displaying the adjusted first window on the upper layer of the second window based on the specified control bearing the adjusted first window and the list control bearing the second window, wherein the position of the second window is the display position of the media stream.
In the embodiment of the present invention, a terminal plays a media stream in a first window of a current page, the first window is borne in a specified control other than a list control of the current page, the list control is used for bearing N windows in the current page, and provides a display position of the media stream on the current page for the first window, and the specified control is different from a layer corresponding to the list control, so that the terminal can directly adjust the size and position of the first window in the layer of the specified control. When a switching instruction is detected, the terminal can adjust the information of the first window according to the switching instruction, and play the media stream in the adjusted first window, so that the media stream can be switched and played in a plurality of windows with different sizes and positions in the current page, and the operation process of firstly stripping and then adding is omitted, and only the current window for playing the media stream needs to be adjusted, so that the processing time for switching and playing is greatly saved, and the efficiency for playing the media stream is improved. Meanwhile, seamless switching between windows with different sizes is achieved, audio in the media stream can be played continuously, video pictures are switched smoothly, the phenomenon of black screen of the windows is avoided, and user experience is improved.
All the above-mentioned optional technical solutions can be combined arbitrarily to form the optional embodiments of the present invention, and are not described herein again.
Fig. 2 is a flowchart of a method for playing a media stream according to an embodiment of the present invention. The method may be performed by a terminal. The terminal may be any one of a mobile phone, a television, a PAD (Portable Android Device), a computer, and the like, and the embodiment of the present invention is not particularly limited thereto. Referring to fig. 2, the method includes:
201. and the terminal acquires the information of a second window carried by the list control, and creates the first window at the position of the second window in the current page through the specified control according to the information of the second window, wherein the position of the second window is the display position of the media stream.
In the embodiment of the present invention, the list control is configured to carry N windows in the current page, where N is a positive integer, and the media stream may be a video stream or a media stream including multimedia information such as text, pictures, and/or audio. The terminal can define N windows through the list control according to the page layout of the current page in a waterfall flow display mode, and play the media stream in the defined windows.
As shown in fig. 3, the terminal may display media streams in N windows of the current page, and the user may trigger a play button in a window to be browsed, so that the terminal plays the media streams in the window.
In this step, the list control is further configured to provide a display position of the media stream on the current page for the first window, and the first window is used for playing the media stream. The second window is carried in the list control, and the position of the second window is the display position of the media stream to be played. The terminal can define the information of the second window through the list control according to the display position of the media stream to be played in the current page in advance; when the terminal needs to play the media stream at the position of the second window, the terminal obtains the information of the second window by calling a system interface, or the terminal can also define the information of the second window in real time through the list control according to the display position of the current media stream to be played. The specified control is different from the layer corresponding to the list control, and the specified control may be a Surface View control.
The step of creating, by the terminal according to the information of the second window and through a specified control other than the list control, the first window at the position of the second window in the current page may be: and the terminal draws a layer corresponding to the specified control in the current page, calls a window creation program of the system through a specified interface, and creates a first window at the position of the second window in the layer corresponding to the specified control based on the window creation program.
It should be noted that the second window is used for occupying a certain display position for the media stream to be displayed in the current page through the list control, and is not used for playing the media stream. That is, the second window is effectively a placeholder window. And the terminal synchronizes the display position of the media stream to be played to the position of the first window by monitoring the information of the second window so as to facilitate the terminal to play the media stream at the display position subsequently. Wherein, the information of the second window can be represented by the length and width coordinates of the second window in the coordinate system of the current page.
And because the drawing layer of the Surface View control and the drawing layer of the list control are independent respectively, the terminal bears the first window in the Surface View control, so that when a subsequent user needs to switch and browse the media stream, the terminal can directly adjust the size and the position of the first window in the drawing layer of the Surface View control, and the media stream is seamlessly switched and played in windows with different sizes and different positions in the current page.
202. And the terminal plays the media stream in the first window of the current page.
In this step, the terminal obtains the media stream, and renders the media stream in the first window of the current page according to the information of the first window in the current page.
The media stream may be a media stream transmitted to the terminal by the server, or a media stream in a local cache space of the terminal, and the step of acquiring the media stream by the terminal may be: and the terminal receives the media stream sent by the server, or the terminal acquires the media stream from a local storage space.
It should be noted that, when the user browses the media stream through the terminal, the user may select to switch the playing in the window with different size and/or position in the current page according to the need. For example, when a user browses a video through a small window in a mobile phone terminal, the user can switch from small-window playing to full-screen playing, so that the limitation of the current window is removed, and clearer playing experience is brought to the user.
In one possible design, the terminal may also play more information for the user in the current page through a slide event. When there is a sliding event in the terminal, the first window also moves based on the sliding time. Correspondingly, the process that the terminal moves the first window based on the sliding event in the current page may be: and the terminal monitors the sliding event of the current page, acquires the current information of the second window in the list control when monitoring that the sliding event occurs in the current page, and moves the first window according to the current information of the second window.
The sliding event may be an event that the page content of the current page slides in the current screen. The sliding event can be triggered by the user in real time, or can be a sliding event executed by the terminal according to a sliding signal preset by the user.
In the embodiment of the present invention, when the user needs to switch the playing, the terminal may adjust the information of the first window according to the user requirement through the following step 203, and play the media stream in the adjusted first window through the following step 204, thereby implementing the switching playing of the media stream.
It should be noted that the terminal may switch the media stream from the first window to a smaller window, for example, reduce and play the media stream; or, the terminal may also switch the media stream from the first window to a larger window for playing, for example, play the media stream in full screen.
203. And when the switching instruction is detected, the terminal acquires the information of the switching instruction according to the switching instruction.
The switching instruction is used for indicating to switch the media stream from the first window to the adjusted first window. In the embodiment of the invention, the terminal can set a switching button in the current page, and a user can trigger the switching button according to requirements, or the terminal can also be provided with an identification module in advance, and the terminal identifies a switching instruction in the terminal through the identification module. Therefore, this step can be realized in the following two ways.
In the first mode, when the terminal detects that the switching button in the current page is triggered, the terminal acquires the information of the switching button according to the triggered switching button and generates a switching instruction according to the information of the switching button. The information of the switching button is used for describing the size and the position of the window to be switched in the current page.
The information of the switching button is the information of the window to be switched required by the user. In addition, the number of the switching buttons can be multiple, each switching button can correspond to different information, and the terminal stores each switching button and the information of the switching button in a pre-associated manner; therefore, the step of the terminal acquiring the information of the switching instruction may be: and the terminal acquires the information of the switching button from the corresponding relation between the switching button and the information according to the triggered switching button.
In the second mode, when the terminal identifies the switching signal of the terminal through the identification module, the terminal determines that the media stream needs to be switched and displayed, and the terminal acquires the information of the switching signal according to the switching signal and generates a switching instruction according to the information of the switching signal. The information of the switching signal is used for describing the size and the position of the window to be switched in the current page.
The identification module can be a gyroscope, a voice identification module and the like; the switching signal may be a current angle signal of the terminal recognized by the gyroscope, for example, the switching signal may be vertical 90 °, a conversion angle when the terminal is changed from horizontal to vertical, and the like. Or, the switching signal may also be a voice signal of "switching", "amplifying", "full screen", or the like, which is recognized by the voice recognition module. Similarly, the terminal may store information of each switching signal and the switching signal in association with each other in advance, and the step of the terminal acquiring the information of the switching instruction may be: and the terminal acquires the information of the switching signal from the corresponding relation between the switching signal and the information according to the identified switching signal.
204. And the terminal performs stretching processing or shrinking processing on the first window according to the information of the switching instruction and the information of the first window.
Wherein, the information of the first window is used for describing the size of the first window and the position of the first window on the current page; the terminal may stretch or shrink the first window from the current position to a position corresponding to the information on the layer of the specified control according to the information of the switching instruction and the information of the first window, so as to obtain the stretched or shrunk first window, thereby implementing the enlargement or shrinkage of the current window for playing the media stream.
In a possible design, when a user browses a media stream through a terminal with a smaller screen, the media stream is often required to be played in a full screen mode due to the limitation of the screen size of a mobile phone terminal, at this time, information of the switching instruction is full screen display information, the terminal performs stretching processing or shrinking processing on the first window according to the information of the switching instruction and the information of the first window, and the step of obtaining the adjusted first window may be: and when the switching instruction is a full-screen display instruction, stretching the first window from the current position to the position corresponding to the full-screen display information according to the full-screen display information and the information of the first window.
When the terminal switches and plays the media stream, the terminal can directly stretch or shrink the first window on the layer of the specified control, and the operation process of peeling and adding the window first is omitted, so that the switching time is saved, the seamless switching of the media stream in the current page is realized, and the efficiency of playing the media stream is greatly improved.
Also, some merchants consider the commercial interest and typically only provide media streams to the terminal, but not to the status information of the merchant's internal license plate, such as configuration parameters between the window playing the media stream and the merchant's player. Therefore, the terminal may not be able to perform operations such as enlarging, reducing or further developing the video image of the media stream provided by the merchant. However, in the embodiment of the present invention, the terminal can switch the playing only by stretching or shrinking the first window, and the merchant does not need to additionally open an interface to acquire the status information, thereby improving the applicability of the method.
In a possible manner, because the terminal plays the media stream in the adjusted first window, after the terminal obtains the adjusted first window, the terminal needs to display the adjusted first window on an upper layer of the second window based on the designated space bearing the adjusted first window and the list control bearing the second window. The terminal can display the adjusted first window in a layer adding mode. Specifically, the terminal displays a plurality of windows borne by the list control in the layer of the list control in the current page, and renders media streams corresponding to other windows in the plurality of windows except the second window; and simultaneously, the terminal draws the layer of the specified control on the upper layer of the list control, displays the adjusted first window borne by the specified control in the drawing layer of the specified control, and renders the media stream to be played in the adjusted first window.
In one possible design, when the terminal plays the media stream in the stretched or reduced first window, the terminal may also move the adjusted first window based on a sliding event in the current page. The process may be: and the terminal monitors the sliding event of the current page, acquires the current information of the second window in the list control when monitoring that the sliding event occurs in the current page, and moves the adjusted first window according to the current information of the second window.
The sliding event may be an event that the page content of the current page slides in the current screen. The sliding event can be triggered by the user in real time, or can be a sliding event executed by the terminal according to a sliding signal preset by the user.
Of course, when the adjusted first window is a full-screen window, the terminal may not move the adjusted first window based on the sliding event. Therefore, the step of the terminal listening to the sliding event of the current page may be: and when the adjusted first window is not a full-screen window, the terminal monitors the sliding event of the current page.
205. And the terminal plays the media stream in the adjusted first window.
In this step, the terminal obtains the media stream, and renders the media stream in the adjusted first window of the current page according to the information of the adjusted first window on the current page.
It should be noted that, because the drawing layer of the specified control and the drawing layer of the list control are independent from each other, in the process of stretching or shrinking the first window, the terminal may continuously play the media stream in the first window of the drawing layer of the specified control, so that in the process of switching the play of the terminal, a black screen state does not occur in the current page.
And when the sliding event exists in the current page, the terminal can also move the first window or the adjusted first window based on the information of the second window during the sliding event, and even if the sliding event exists in the current page, the user can not be influenced to browse the video stream, so that the user experience is greatly improved.
The method only relates to the operation process of stretching or shrinking the window by the terminal, the operation process is common in the terminal, and the consumed system resources are less, so that the limitation of different terminals on the system resource configuration is removed, and the applicability of the method is greatly improved.
In a possible design, the user may also restore the adjusted media stream in the first window to the first window for playing, where the process may be: when a restoration display instruction is detected, the terminal determines information of a second window carried by the list control according to the restoration display instruction; and the terminal stretches or shrinks the adjusted first window according to the information of the second window and the information of the adjusted first window to obtain a restored first window, and plays the media stream in the restored first window.
Similarly, the terminal may set a restore button in the current page or install an identification module in advance, and the user may trigger the restore button according to the requirement, or the terminal may identify whether the media stream needs to be restored to the first window to be played through the identification module. Specifically, the implementation manner of the terminal detecting the restore display instruction is consistent with the implementation manner of the terminal detecting the switch instruction, and is not described in detail here.
In the embodiment of the present invention, a terminal plays a media stream in a first window of a current page, the first window is borne in a specified control other than a list control of the current page, the list control is used for bearing N windows in the current page, and provides a display position of the media stream on the current page for the first window, and the specified control is different from a layer corresponding to the list control, so that the terminal can directly adjust the size and position of the first window in the layer of the specified control. When a switching instruction is detected, the terminal can adjust the information of the first window according to the switching instruction, and play the media stream in the adjusted first window, so that the media stream can be switched and played in a plurality of windows with different sizes and positions in the current page, and the operation process of firstly stripping and then adding is omitted, and only the current window for playing the media stream needs to be adjusted, so that the processing time for switching and playing is greatly saved, and the efficiency for playing the media stream is improved. Meanwhile, seamless switching between windows with different sizes is achieved, audio in the media stream can be played continuously, video pictures are switched smoothly, the phenomenon of black screen of the windows is avoided, and user experience is improved.
Fig. 4 is a block diagram of an apparatus for playing a media stream according to an embodiment of the present invention. Referring to fig. 4, the apparatus includes: a first play module 401, an adjustment module 402 and a second play module 403.
A first playing module 401, configured to play a media stream in a first window of a current page, where the first window is borne in a specified control outside a list control of the current page, the list control is used to bear N windows in the current page, where N is a positive integer, and provide a display position of the media stream on the current page for the first window, where the specified control is different from an image layer corresponding to the list control;
an adjusting module 402, configured to, when a switching instruction is detected, adjust information of the first window according to the switching instruction, where the switching instruction is used to instruct to switch the media stream from the first window to the adjusted first window;
a second playing module 403, configured to play the media stream in the adjusted first window.
In one possible implementation, the adjusting module 402 includes:
the acquisition unit is used for acquiring the information of the switching instruction according to the switching instruction;
and the processing unit is used for performing stretching processing or shrinking processing on the first window according to the information of the switching instruction and the information of the first window, wherein the information of the first window is used for describing the size of the first window and the position of the first window on the current page.
In a possible implementation manner, the processing unit is further configured to stretch the first window from the current position to a position corresponding to full-screen display information according to the full-screen display information and the information of the first window when the switching instruction is a full-screen display instruction;
the processing unit is further configured to, when the switching instruction is a restoring display instruction, determine information of a second window carried by the list control according to the restoring display instruction, perform stretching or shrinking processing on the adjusted first window according to the information of the adjusted first window and the information of the second window to obtain a restored first window, play the media stream in the restored first window, and set a position of the second window as a display position of the media stream.
In one possible implementation, the apparatus further includes:
and the obtaining module is used for obtaining the information of the second window carried by the list control, and creating the first window at the position of the second window in the current page through the specified control according to the information of the second window, wherein the position of the second window is the display position of the media stream.
In one possible implementation, the apparatus further includes:
and the monitoring module is used for monitoring the sliding event of the current page, acquiring the current information of a second window in the list control when the sliding event is monitored to occur in the current page, and moving the first window according to the current information of the second window, wherein the current position of the second window is the current display position of the media stream.
In one possible implementation, the apparatus further includes:
and the display module is used for displaying the adjusted first window on the upper layer of the second window based on the specified control bearing the adjusted first window and the list control bearing the second window, wherein the position of the second window is the display position of the media stream.
In the embodiment of the present invention, a terminal plays a media stream in a first window of a current page, the first window is borne in a specified control other than a list control of the current page, the list control is used for bearing N windows in the current page, and provides a display position of the media stream on the current page for the first window, and the specified control is different from a layer corresponding to the list control, so that the terminal can directly adjust the size and position of the first window in the layer of the specified control. When a switching instruction is detected, the terminal can adjust the information of the first window according to the switching instruction, and play the media stream in the adjusted first window, so that the media stream can be switched and played in a plurality of windows with different sizes and positions in the current page, and the operation process of firstly stripping and then adding is omitted, and only the current window for playing the media stream needs to be adjusted, so that the processing time for switching and playing is greatly saved, and the efficiency for playing the media stream is improved. Meanwhile, seamless switching between windows with different sizes is achieved, audio in the media stream can be played continuously, video pictures are switched smoothly, the phenomenon of black screen of the windows is avoided, and user experience is improved.
It should be noted that: in the apparatus for playing a media stream according to the foregoing embodiment, when playing a media stream, only the division of the functional modules is described as an example, and in practical applications, the functions may be distributed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the apparatus for playing a media stream and the method for playing a media stream provided in the above embodiments belong to the same concept, and specific implementation processes thereof are detailed in the method embodiments and will not be described herein again.
Fig. 5 is a block diagram of a terminal 500 according to an embodiment of the present invention. The terminal 500 may be: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, motion video Experts compression standard Audio Layer 3), an MP4 player (Moving Picture Experts Group Audio Layer IV, motion video Experts compression standard Audio Layer 5), a notebook computer, or a desktop computer. Terminal 500 may also be referred to by other names such as user equipment, portable terminal, laptop terminal, desktop terminal, and the like.
In general, the terminal 500 includes: a processor 501 and a memory 502.
The processor 501 may include one or more processing cores, such as a 5-core processor, an 8-core processor, and so on. The processor 501 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 501 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 501 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the display screen. In some embodiments, processor 501 may also include an AI (Artificial Intelligence) processor for processing computational operations related to machine learning.
Memory 502 may include one or more computer-readable storage media, which may be non-transitory. Memory 502 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 502 is used to store at least one instruction for execution by processor 501 to implement the method of playing a media stream provided by the method embodiments herein.
In some embodiments, the terminal 500 may further optionally include: a peripheral interface 503 and at least one peripheral. The processor 501, memory 502 and peripheral interface 503 may be connected by a bus or signal lines. Each peripheral may be connected to the peripheral interface 503 by a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 505, display screen 505, camera assembly 506, audio circuitry 507, positioning component 508, and power supply 509.
The peripheral interface 503 may be used to connect at least one peripheral related to I/O (Input/Output) to the processor 501 and the memory 502. In some embodiments, the processor 501, memory 502, and peripheral interface 503 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 501, the memory 502, and the peripheral interface 503 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.
The Radio Frequency circuit 504 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 504 communicates with communication networks and other communication devices via electromagnetic signals. The rf circuit 504 converts an electrical signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 504 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuitry 504 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: the world wide web, metropolitan area networks, intranets, generations of mobile communication networks (2G, 3G, 5G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the rf circuit 504 may further include NFC (Near Field Communication) related circuits, which are not limited in this application.
The display screen 505 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 505 is a touch display screen, the display screen 505 also has the ability to capture touch signals on or over the surface of the display screen 505. The touch signal may be input to the processor 501 as a control signal for processing. At this point, the display screen 505 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display screen 505 may be one, providing the front panel of the terminal 500; in other embodiments, the display screens 505 may be at least two, respectively disposed on different surfaces of the terminal 500 or in a folded design; in still other embodiments, the display 505 may be a flexible display disposed on a curved surface or on a folded surface of the terminal 500. Even more, the display screen 505 can be arranged in a non-rectangular irregular figure, i.e. a shaped screen. The Display screen 505 may be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), and other materials.
The camera assembly 506 is used to capture images or video. Optionally, camera assembly 506 includes a front camera and a rear camera. Generally, a front camera is disposed at a front panel of the terminal, and a rear camera is disposed at a rear surface of the terminal. In some embodiments, the number of the rear cameras is at least two, and each rear camera is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and VR (Virtual Reality) shooting functions or other fusion shooting functions. In some embodiments, camera assembly 506 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
Audio circuitry 507 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 501 for processing, or inputting the electric signals to the radio frequency circuit 504 to realize voice communication. For the purpose of stereo sound collection or noise reduction, a plurality of microphones may be provided at different portions of the terminal 500. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from the processor 501 or the radio frequency circuit 504 into sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, audio circuitry 507 may also include a headphone jack.
The positioning component 508 is used for positioning the current geographic Location of the terminal 500 for navigation or LBS (Location Based Service). The Positioning component 508 may be a Positioning component based on the Global Positioning System (GPS) in the united states, the beidou System in china, or the galileo System in russia.
Power supply 509 is used to power the various components in terminal 500. The power source 509 may be alternating current, direct current, disposable or rechargeable. When power supply 509 includes a rechargeable battery, the rechargeable battery may be a wired rechargeable battery or a wireless rechargeable battery. The wired rechargeable battery is a battery charged through a wired line, and the wireless rechargeable battery is a battery charged through a wireless coil. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, terminal 500 also includes one or more sensors 510. The one or more sensors 510 include, but are not limited to: acceleration sensor 511, gyro sensor 512, pressure sensor 513, fingerprint sensor 514, optical sensor 515, and proximity sensor 516.
The acceleration sensor 511 may detect the magnitude of acceleration on three coordinate axes of the coordinate system established with the terminal 500. For example, the acceleration sensor 511 may be used to detect components of the gravitational acceleration in three coordinate axes. The processor 501 may control the touch screen 505 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 511. The acceleration sensor 511 may also be used for acquisition of motion data of a game or a user.
The gyro sensor 512 may detect a body direction and a rotation angle of the terminal 500, and the gyro sensor 512 may cooperate with the acceleration sensor 511 to acquire a 3D motion of the user on the terminal 500. The processor 501 may implement the following functions according to the data collected by the gyro sensor 512: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
The pressure sensor 513 may be disposed on a side bezel of the terminal 500 and/or an underlying layer of the touch display screen 505. When the pressure sensor 513 is disposed on the side frame of the terminal 500, a user's holding signal of the terminal 500 may be detected, and the processor 501 performs left-right hand recognition or shortcut operation according to the holding signal collected by the pressure sensor 513. When the pressure sensor 513 is disposed at the lower layer of the touch display screen 505, the processor 501 controls the operability control on the UI interface according to the pressure operation of the user on the touch display screen 505. The operability control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.
The fingerprint sensor 514 is used for collecting a fingerprint of the user, and the processor 501 identifies the identity of the user according to the fingerprint collected by the fingerprint sensor 514, or the fingerprint sensor 514 identifies the identity of the user according to the collected fingerprint. Upon recognizing that the user's identity is a trusted identity, the processor 501 authorizes the user to perform relevant sensitive operations including unlocking the screen, viewing encrypted information, downloading software, paying, and changing settings, etc. The fingerprint sensor 514 may be provided on the front, back, or side of the terminal 500. When a physical button or a vendor Logo is provided on the terminal 500, the fingerprint sensor 514 may be integrated with the physical button or the vendor Logo.
The optical sensor 515 is used to collect the ambient light intensity. In one embodiment, the processor 501 may control the display brightness of the touch display screen 505 based on the ambient light intensity collected by the optical sensor 515. Specifically, when the ambient light intensity is high, the display brightness of the touch display screen 505 is increased; when the ambient light intensity is low, the display brightness of the touch display screen 505 is turned down. In another embodiment, processor 501 may also dynamically adjust the shooting parameters of camera head assembly 506 based on the ambient light intensity collected by optical sensor 515.
A proximity sensor 516, also referred to as a distance sensor, is typically disposed on the front panel of the terminal 500. The proximity sensor 516 is used to collect the distance between the user and the front surface of the terminal 500. In one embodiment, when the proximity sensor 516 detects that the distance between the user and the front surface of the terminal 500 gradually decreases, the processor 501 controls the touch display screen 505 to switch from the bright screen state to the dark screen state; when the proximity sensor 516 detects that the distance between the user and the front surface of the terminal 500 becomes gradually larger, the processor 501 controls the touch display screen 505 to switch from the screen-rest state to the screen-on state.
Those skilled in the art will appreciate that the configuration shown in fig. 5 is not intended to be limiting of terminal 500 and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components may be used.
In an exemplary embodiment, a computer-readable storage medium, for example a memory, storing a computer program is also provided, which when executed by a processor implements the method of playing a media stream in the corresponding embodiment of fig. 1 or fig. 2. For example, the computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a Compact Disc Read-Only Memory (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, and the like.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (14)

1. A method of playing a media stream, the method comprising:
acquiring information of a second window carried by a list control of a current page, and creating a first window at the position of the second window in the current page through a specified control except the list control of the current page according to the information of the second window, wherein the first window is carried in the specified control, the list control is used for carrying N windows in the current page, the second window is one window in the N windows, and the specified control is different from a layer corresponding to the list control;
playing the media stream corresponding to the second window in the first window of the current page;
when a switching instruction is detected, adjusting the information of the first window according to the switching instruction, wherein the information of the first window is used for describing the size and the position of the first window on the current page, and playing a media stream corresponding to the second window in the adjusted first window;
when the media stream corresponding to the second window is switched to the media streams corresponding to other windows, adjusting the size and the position of the first window according to the display positions of the other windows of the media stream to be played to realize the switching and playing of the media stream, wherein the other windows are windows except the second window in the N windows.
2. The method of claim 1, wherein the adjusting the information of the first window according to the switching instruction comprises:
acquiring the information of the switching instruction according to the switching instruction;
and adjusting the information of the first window according to the information of the switching instruction and the information of the first window so as to stretch or shrink the first window.
3. The method according to claim 2, wherein the adjusting the information of the first window according to the information of the switching instruction and the information of the first window to perform the stretching process or the shrinking process on the first window comprises:
and receiving a full-screen display instruction, and adjusting the information of the first window according to full-screen display information and the information of the first window so as to stretch the first window from the current position to a position corresponding to the full-screen display information.
4. The method according to claim 1, wherein after the media stream corresponding to the second window is played in the adjusted first window, the method further comprises:
receiving a restoring display instruction, determining information of a second window carried by the list control according to the restoring display instruction, and adjusting the information of the adjusted first window again according to the information of the adjusted first window and the information of the second window to stretch or shrink the adjusted first window to obtain a restored first window, wherein the position of the restored first window is the same as the position of the second window.
5. The method of claim 1, wherein after the playing the media stream corresponding to the second window in the first window of the current page, the method further comprises:
monitoring a sliding event of the current page, wherein the sliding event is used for changing the position of the second window into the current position;
when the sliding event occurs in the current page is monitored, current information of a second window in the list control is obtained;
and adjusting the information of the first window to move the first window according to the current information of the second window, so that the current position of the second window is the same as the current display position of the first window which displays the media stream corresponding to the second window after moving.
6. The method of claim 1, wherein after the adjusting the information of the first window, the method further comprises:
and displaying the adjusted first window on the upper layer of the second window based on the designated control bearing the adjusted first window and the list control bearing the second window, wherein the position of the second window is the display position of the media stream corresponding to the second window.
7. An apparatus for playing a media stream, the apparatus comprising:
an obtaining module, configured to obtain information of a second window carried by a list control of a current page, and create a first window at a position of the second window in the current page through an appointed control other than the list control of the current page according to the information of the second window, where the first window is carried in the appointed control, the list control is used to carry N windows in the current page, the second window is one of the N windows, and the appointed control is different from a layer corresponding to the list control;
a first playing module, configured to play a media stream corresponding to the second window in the first window of the current page;
the adjusting module is used for adjusting the information of the first window according to a switching instruction when the switching instruction is detected, wherein the information of the first window is used for describing the size of the first window and the position of the first window on the current page;
the second playing module is used for playing the media stream corresponding to the second window in the adjusted first window;
the adjusting module is further configured to, when the media stream corresponding to the second window is switched to the media stream corresponding to another window, adjust the size and the position of the first window according to the display position of the another window of the media stream to be played, so as to implement switching and playing of the media stream, where the another window is a window other than the second window in the N windows.
8. The apparatus of claim 7, wherein the adjustment module comprises:
the acquisition unit is used for acquiring the information of the switching instruction according to the switching instruction;
and the processing unit is used for adjusting the information of the first window according to the information of the switching instruction and the information of the first window so as to perform stretching processing or shrinking processing on the first window.
9. The apparatus of claim 8,
the processing unit is further configured to receive a full screen display instruction, and adjust the information of the first window according to full screen display information and the information of the first window, so as to stretch the first window from the current position to a position corresponding to the full screen display information.
10. The apparatus of claim 7, wherein the adjustment module further comprises:
and the processing unit is used for receiving a restoring display instruction, determining information of a second window carried by the list control according to the restoring display instruction, and adjusting the information of the adjusted first window again according to the information of the adjusted first window and the information of the second window so as to stretch or shrink the adjusted first window to obtain a restored first window, wherein the position of the restored first window is the same as the position of the second window.
11. The apparatus of claim 7, further comprising:
and a monitoring module, configured to monitor a sliding event of the current page, where the sliding event is used to change the position of the second window to a current position, and when the sliding event occurs in the current page is monitored, obtain current information of the second window in the list control, and according to the current information of the second window, adjust the information of the first window to move the first window, so that the current position of the second window is the same as a current display position of the first window, where the first window displays a media stream corresponding to the second window after the moving.
12. The apparatus of claim 7, further comprising:
and the display module is used for displaying the adjusted first window on the upper layer of the second window based on the designated control bearing the adjusted first window and the list control bearing the second window, wherein the position of the second window is the display position of the media stream corresponding to the second window.
13. A computer device comprising a processor and a memory; the memory is used for storing a computer program; the processor, configured to execute the computer program stored in the memory, implements the method steps of playing a media stream according to any one of claims 1 to 6.
14. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method steps of playing back a media stream according to any one of claims 1 to 6.
CN201810266138.4A 2018-03-28 2018-03-28 Method, device, computer equipment and storage medium for playing media stream Active CN108449641B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810266138.4A CN108449641B (en) 2018-03-28 2018-03-28 Method, device, computer equipment and storage medium for playing media stream

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810266138.4A CN108449641B (en) 2018-03-28 2018-03-28 Method, device, computer equipment and storage medium for playing media stream

Publications (2)

Publication Number Publication Date
CN108449641A CN108449641A (en) 2018-08-24
CN108449641B true CN108449641B (en) 2021-04-27

Family

ID=63197172

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810266138.4A Active CN108449641B (en) 2018-03-28 2018-03-28 Method, device, computer equipment and storage medium for playing media stream

Country Status (1)

Country Link
CN (1) CN108449641B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109089142A (en) * 2018-09-05 2018-12-25 百度在线网络技术(北京)有限公司 Control method for playing back, device and computer equipment
CN109729412A (en) * 2019-01-11 2019-05-07 广州酷狗计算机科技有限公司 A kind of method and device playing video
CN110582017B (en) * 2019-09-10 2022-04-19 腾讯科技(深圳)有限公司 Video playing method, device, terminal and storage medium
TWI733402B (en) * 2020-04-08 2021-07-11 香港商冠捷投資有限公司 Display and its control method
CN112383808A (en) * 2020-11-02 2021-02-19 广州繁星互娱信息科技有限公司 Video playing method, device, terminal and storage medium
CN114071229B (en) * 2021-12-08 2023-06-09 四川启睿克科技有限公司 Method for solving recovery delay when surface view renderer retransmits video for decoding
CN114942711A (en) * 2022-05-31 2022-08-26 北京字节跳动网络技术有限公司 Data playing method and device, computer equipment and storage medium
CN115237299B (en) * 2022-06-29 2024-03-22 北京优酷科技有限公司 Playing page switching method and terminal equipment
CN115190351B (en) * 2022-07-06 2023-09-29 Vidaa国际控股(荷兰)公司 Display equipment and media resource scaling control method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201415444A (en) * 2012-09-13 2014-04-16 Qualcomm Mems Technologies Inc Linear color separation for multi-primary output devices
EP2813986A1 (en) * 2013-06-13 2014-12-17 BlackBerry Limited Communication system with digital wallet having blank user card and related methods
CN106534880A (en) * 2016-11-28 2017-03-22 深圳Tcl数字技术有限公司 Video synthesis method and device
CN106775272A (en) * 2016-12-07 2017-05-31 乐视控股(北京)有限公司 System of selection, device and electronic equipment
CN107333165A (en) * 2017-06-29 2017-11-07 徐文波 The control method and device of many picture position adjustment

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2601792C (en) * 2005-03-30 2016-02-09 United Video Properties, Inc. Systems and methods for video-rich navigation
CN101504648A (en) * 2008-11-14 2009-08-12 北京搜狗科技发展有限公司 Method and apparatus for showing web page resources
CN101615413B (en) * 2009-07-27 2012-10-10 华平信息技术股份有限公司 Multichannel audio/video player system and method
US9363462B2 (en) * 2012-11-13 2016-06-07 David Yoel System and method for simultaneous display of multiple geo-tagged videos of a particular geographical location
CN104918121A (en) * 2014-03-13 2015-09-16 阿里巴巴集团控股有限公司 Media stream play control method and client
CN105554553B (en) * 2015-12-15 2019-02-15 腾讯科技(深圳)有限公司 The method and device of video is played by suspension windows
CN106802759A (en) * 2016-12-21 2017-06-06 华为技术有限公司 The method and terminal device of video playback
CN107817938B (en) * 2017-11-23 2020-01-14 平安科技(深圳)有限公司 Method, device and equipment for realizing selection list scrolling and readable storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201415444A (en) * 2012-09-13 2014-04-16 Qualcomm Mems Technologies Inc Linear color separation for multi-primary output devices
EP2813986A1 (en) * 2013-06-13 2014-12-17 BlackBerry Limited Communication system with digital wallet having blank user card and related methods
CN106534880A (en) * 2016-11-28 2017-03-22 深圳Tcl数字技术有限公司 Video synthesis method and device
CN106775272A (en) * 2016-12-07 2017-05-31 乐视控股(北京)有限公司 System of selection, device and electronic equipment
CN107333165A (en) * 2017-06-29 2017-11-07 徐文波 The control method and device of many picture position adjustment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
《基于DM3730的多路视频编解码软件***设计》;章放;《中国优秀硕博士学位论文全文数据库》;20131105;全文 *

Also Published As

Publication number Publication date
CN108449641A (en) 2018-08-24

Similar Documents

Publication Publication Date Title
CN108449641B (en) Method, device, computer equipment and storage medium for playing media stream
CN109246466B (en) Video playing method and device and electronic equipment
CN110602321B (en) Application program switching method and device, electronic device and storage medium
CN111372126B (en) Video playing method, device and storage medium
CN109348247B (en) Method and device for determining audio and video playing time stamp and storage medium
CN110308956B (en) Application interface display method and device and mobile terminal
CN108965922B (en) Video cover generation method and device and storage medium
CN109068008B (en) Ringtone setting method, device, terminal and storage medium
CN109862412B (en) Method and device for video co-shooting and storage medium
CN110868636B (en) Video material intercepting method and device, storage medium and terminal
CN110839174A (en) Image processing method and device, computer equipment and storage medium
CN109451248B (en) Video data processing method and device, terminal and storage medium
CN108734662B (en) Method and device for displaying icons
CN111586444B (en) Video processing method and device, electronic equipment and storage medium
CN111083526B (en) Video transition method and device, computer equipment and storage medium
CN109783176B (en) Page switching method and device
CN110769120A (en) Method, device, equipment and storage medium for message reminding
CN108664300B (en) Application interface display method and device in picture-in-picture mode
CN110992268B (en) Background setting method, device, terminal and storage medium
CN112616082A (en) Video preview method, device, terminal and storage medium
CN112118353A (en) Information display method, device, terminal and computer readable storage medium
CN108966026B (en) Method and device for making video file
CN113613053B (en) Video recommendation method and device, electronic equipment and storage medium
CN111464829B (en) Method, device and equipment for switching media data and storage medium
CN110868642B (en) Video playing method, device and storage medium

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
GR01 Patent grant
GR01 Patent grant