Open MuSe-funky-Developer opened 1 year ago
Hi @MuSe-funky-Developer , How are you?
Thank you for the issue. As far as I understand it is an expected behaviour that hls files do not contain the date and time by nature like MP4 recordings do. For the hls files (.ts and m3u8) overwriting current files, there are some settings that needs to be configured on the application side. If you can tell me about your use case then I can recommend the best method according to that.
Thank you, Mohit Dubey
Hi @MuSe-funky-Developer,
I'm adding this feature as an attached image. Is it works for you?
Best Regards, Selim
I love it/you! Thx for solving! U are wonderful
— Von unterwegs gesendet
Am 27.11.2022 um 20:49 schrieb Selim Emre Toy @.***>:
Hi @MuSe-funky-Developerhttps://github.com/MuSe-funky-Developer,
I'm adding this feature as an attached image. Is it works for you? [Screenshot 2022-11-27 at 22 47 45]https://user-images.githubusercontent.com/9084130/204156416-bcb4359d-89fc-4275-a4b4-260c70805107.png
Best Regards, Selim
— Reply to this email directly, view it on GitHubhttps://github.com/ant-media/Ant-Media-Server/issues/4549#issuecomment-1328325990, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AM2TJPP4PNYKSJ7YVY3FYGDWKO3MPANCNFSM6AAAAAAR4QS5OM. You are receiving this because you were mentioned.Message ID: @.***>
Hey @SelimEmre , I am trying to implement this timestamp feature in my antmedia server. I am using community edition 2.5.3. I tried enabling "Add timestamp to filenames", but that doesn't work. Can you tell me how to use this feature?
Hi @avinashtrivedi11 , I've added my colleague to the loop. He'll respond you.
Hi @avinashtrivedi11 , Let me check this for your and confirm.
Thank you, Mohit Dubey
Hi @avinashtrivedi11 , This settings default value is false. In order to enable this settings, you need to edit the application settings and set the property to true.
cd /usr/local/antmedia/webapps/LiveApp/WEB-INF
sudo vim red5-web.properties
Add the settings
settings.addDateTimeToHlsFileName=true
save the filesudo service antmedia restart
Now when you check the streams directoryy, the hls files will have the Date and Time added to them.
Please let me know if it works for you, in case it doesn't then we can do it together.
Thank you, Mohit Dubey
Hey @Mohit-3196, It works. I have already implemented it. Thanks for your reply.
That's great to know @avinashtrivedi11 Let me know if there is anything else you need help with. Have a great week.
Issue
Short description
the HLS (m3u8 & ts) files does not have date-time in file name
Environment
AWS Setup
Steps to reproduce
Expected behavior
files names have a time and date name and are unique
Actual behavior
file names are all the same and overrides after a while
Logs
Place logs on pastebin or elsewhere and put links here
Join community.antmedia.io and be a part of Ant Media Server Community.