METHOD FOR PLAYING BACK LIVE VIDEO AND DEVICE
First Claim
1. A method for playing back live video, comprising:
- receiving real-time video fragment data of a video;
storing the real-time video fragment data into a cache and a file system respectively;
querying the cache and the file system to obtain index information of all the real-time video fragments in a predetermined playing back time period before the current time;
generating an index file according to the index information, and sending the index file to a client, wherein the index file is configured to make the client to display a playback progress bar on the client and to receive a playback request of a user through the playback progress bar; and
feeding back a corresponding real-time video fragment to the client according to the playback request of the client.
0 Assignments
0 Petitions
Accused Products
Abstract
Disclosure is a method for playing back live video. The method includes: receiving real-time video fragment data of a video; storing the real-time video fragment data into a cache and a file system respectively; obtaining index information of all the real-time video fragments in a predetermined playing back time period before the current time; generating an index file according to the index information, sending the index file to a client, and feeding back a real-time video fragment to the client according to the playback request of the client. The device for playing back live video is also disclosed. The method and the device for playing back live video can realize play back the live video at any time period, and a timeliness of playing back live video is improved.
-
Citations
13 Claims
-
1. A method for playing back live video, comprising:
-
receiving real-time video fragment data of a video; storing the real-time video fragment data into a cache and a file system respectively; querying the cache and the file system to obtain index information of all the real-time video fragments in a predetermined playing back time period before the current time; generating an index file according to the index information, and sending the index file to a client, wherein the index file is configured to make the client to display a playback progress bar on the client and to receive a playback request of a user through the playback progress bar; and feeding back a corresponding real-time video fragment to the client according to the playback request of the client. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A device for playing back live video, comprising:
-
a receiving module configured to receive real-time video fragment data of a video; a storing module configured to store the real-time video fragment data received by the receiving module into a cache and a file system respectively; an obtaining module configured to query the cache and the file system to obtain index information of all real-time video fragments in a predetermined playing back time period before the current time; a generating module configured to generate an index file according to the index information; a sending module configured to send the index file generated by the generating module to a client, wherein the index file is configured to make the client to display a playback progress bar on the client, and to receive a playback request of a user through the playback progress bar; the sending module further configured to feed back a corresponding real-time video fragment to the client according to the playback request of the client. - View Dependent Claims (7, 8, 9, 10, 11, 12, 13)
-
Specification