Online video playing method and device
A video playback and video technology, applied in image communication, selective content distribution, electrical components, etc., can solve the problem of long jump positioning time, and achieve the effect of improving use efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0025] figure 1 It shows a flow chart of an online video playback method provided by the first embodiment of the present invention. In this embodiment, when the proxy server caches the video file, if the player wishes to play the video file, it can directly access the proxy server Cached video files; when the proxy server does not cache the video files, the proxy server first obtains the corresponding video files from the video website and caches them, and then the player accesses the cached video files. The details are as follows:
[0026] Step S11, receiving a play request sent by the player.
[0027] In this step, when the user wishes to watch the video file, the player is triggered to send a playback request to the proxy server. The play request carries the unique identifier of the video file to be played, and the unique identifier of the video file is the Universally Unique Identifier (UUID) of the cache file created by the proxy server.
[0028] Step S12, check whethe...
Embodiment 2
[0040] Figure 4 It shows a flow chart of another online video playing method provided by the second embodiment of the present invention. In this embodiment, step S41, step S45 and step S46 are the same as step S11, step S12 and step S13 in the first embodiment , which will not be repeated here:
[0041] Step S41, receiving a play request sent by the player.
[0042] Step S42, forwarding the play request to the video website, and receiving the URL address of the URL where the video file corresponding to the play request is returned from the video website.
[0043] In this step, the URL of the video file is used to point to the specific location where the video file is stored. As long as the URL is accessed, the video file pointed to by the URL can be accessed, and then the video data of the video file can be obtained.
[0044] Step S43, sending a request for acquiring preset length data to the video website, so as to acquire preset length data of the video file pointed to by...
Embodiment 3
[0058] Figure 6 It shows the structural diagram of an online video playback device provided by the third embodiment of the present invention, the online video playback device corresponds to the online video playback method of the above-mentioned embodiment, for the convenience of description, only shows the Example related parts.
[0059] The online video playing device includes: a play request receiving unit 61 , a buffer data judging unit 62 , and a video data address sending unit 63 . in:
[0060] The play request receiving unit 61 is configured to receive a play request sent by the player.
[0061] Wherein, the play request carries the unique identifier of the video file to be played by the player.
[0062] The cache data judging unit 62 is used to find out whether there is video data corresponding to the playback request cached in the created cache file; the video data includes the audio and video frames corresponding to the interruption point when the playback of the...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 