AirenSoft / OvenMediaEngine

OvenMediaEngine (OME) is a Sub-Second Latency Live Streaming Server with Large-Scale and High-Definition. #WebRTC #LLHLS
https://airensoft.com/ome.html
GNU Affero General Public License v3.0
2.56k stars 1.06k forks source link

Problem with HLSDump's playlist not including old segments #1669

Closed getroot closed 2 weeks ago

getroot commented 2 months ago

Discussed in https://github.com/AirenSoft/OvenMediaEngine/discussions/1668

Originally posted by **TheTurkeyDev** July 19, 2024 I am working with the HLS Dump feature and I am experience some issues with it's functionality. For context my use case is that I have some cameras that are streaming 24/7. I would like to "restart" the HLS Dump every 24 hours so that I can have vods of individual days and make cleaning up the vods after a day or two a more simple process. 1. After stopping a dump, you are not able to make a new dump with the same ID. Is it possible to have the ID's freed up once they are stopped so a new dump can be made? 2. Tied in with the one above, I could make a new ID for each dump, but there is no endpoint to get a list of all the dumps for a stream to more easily track the dumps that are active. 3. More a general question, but with the HLS dump for the usage as a VOD, the dumped llhls.m3u8 file only contains the last 10 or so segments making it impossible to have a vod for the entire day (or even a vod more than like 2 minutes long). Am I doing something wrong here? Do I need to make a separate playlist for the dump that has all the segments in it's playlist? All the segments files are preserved in the dumped folder, but the segment playlist file only contains around the last 10 segments. Let me know if there are any further details or files that you'd like me to provide to help out.
getroot commented 2 months ago

@TheTurkeyDev

Thanks to your help I was able to fix this issue. It was related to long DVR setup. Could you please test with airensoft/ovenmediaengine:dev image?

TheTurkeyDev commented 2 months ago

12 Minutes in and I can still see the whole VOD. I'd call that fixed! Thank you!

stale[bot] commented 2 weeks ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.