摘要 |
Disclosed 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. |