Method and device for acquiring streaming media play time
A technology of playback time and acquisition method, which is applied in the field of video processing, can solve the problems of poor accuracy of streaming media playback time, and achieve the effect of solving poor accuracy and accurate calculation
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0027] First, Embodiment 1 of the present invention provides a method for obtaining the playing duration of streaming media, which mainly describes the process of calculating the actual playing duration of streaming media, see figure 1 , the method may include the following steps:
[0028] Step S102: Respond to the user's operation command, control the player to play streaming media, and acquire the start time information of streaming media playing.
[0029] When the user requests video resources from the streaming media server through the terminal, he inputs an operation command to the terminal, the terminal responds to the operation command, receives the video resource transmitted by the streaming media server in real time, starts the player and starts playing the streaming media, for example, when the user terminal is a TV , the TV starts the player to play while receiving the video resource. After the player starts to play the streaming media, it obtains the start time in...
Embodiment 2
[0045] This embodiment is a further preferred method for obtaining the duration of streaming media playback on the basis of Embodiment 1, see figure 2 , the method may include the following steps:
[0046] Step S202: Respond to the user's operation command, control the player to play the streaming media, and obtain the start time of streaming media playing.
[0047] Step S204: Obtain the playing mode of the player, wherein the playing mode includes on-demand and live broadcasting, if the playing mode is on-demand, then perform step S206, and if the playing mode is live, then perform step S208.
[0048] Step S206: Monitor whether the player is stuck or dragged. If the player is stuck or dragged, the playback status of the player is abnormal.
[0049] Step S208: Monitor whether the player is in a freeze state, wherein if the player is in a freeze state, the playback state of the player is abnormal.
[0050] Since the playback mode is on-demand, the user's drag is allowed duri...
Embodiment 3
[0058] Corresponding to the method for obtaining the playing duration of streaming media provided in Embodiment 1 of the present invention, the embodiment of the present invention also provides a device for obtaining the playing duration of streaming media, which is located in user terminals such as smart TVs, mobile phones, and PADs. image 3 , the apparatus may include a response module 310 , a monitoring module 320 , a first acquisition module 330 , a second acquisition module 340 and a calculation module 350 .
[0059] The response module 310 is used for responding to the user's operation command, controlling the player to play streaming media, and obtaining the start time information of streaming media playing.
[0060] When the user requests video resources from the streaming media server through the terminal, he inputs an operation command to the terminal, and the response module 310 responds to the operation command, receives the video resources transmitted by the strea...
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