You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am experiencing an issue with the recordDeleteAfter parameter in the MediaMTX configuration file. Despite setting a specific value for a path, the recordings are still being deleted based on the default value.
In this configuration, I expect the recordings for the office path to be stored for 336 hours and the recordings for the office-sub path to be stored for 168 hours. However, both paths seem to follow the default recordDeleteAfter value of 168 hours.
Additionally, I enable recording for the office path via the API.
Could you please help me understand why the recordDeleteAfter parameter is not being applied correctly for the office path? Is there something wrong with my configuration, or could this be a bug?
Thank you for your assistance.
Describe how to replicate the issue
Steps to reproduce the issue:
Start the MediaMTX server with the provided configuration file.
Observe the recordings for both office and office-sub paths.
Verify the duration of stored recordings for both paths after 168 hours.
Expected Result:
Recordings for the office path should be stored for 336 hours.
Recordings for the office-sub path should be stored for 168 hours.
Actual Result:
Both paths follow the default recordDeleteAfter value of 168 hours.
Did you attach the server logs?
no
Did you attach a network dump?
no
The text was updated successfully, but these errors were encountered:
Thanks for reporting the bug, it seems like the server is deleting recording segments by considering just recordPath, without checking whether the segment belongs to the path associated with that specific recordPath.
Which version are you using?
v1.8.4
Which operating system are you using?
Describe the issue
Hi Team,
I am experiencing an issue with the recordDeleteAfter parameter in the MediaMTX configuration file. Despite setting a specific value for a path, the recordings are still being deleted based on the default value.
Here is my configuration file:
In this configuration, I expect the recordings for the office path to be stored for 336 hours and the recordings for the office-sub path to be stored for 168 hours. However, both paths seem to follow the default recordDeleteAfter value of 168 hours.
Additionally, I enable recording for the office path via the API.
Could you please help me understand why the recordDeleteAfter parameter is not being applied correctly for the office path? Is there something wrong with my configuration, or could this be a bug?
Thank you for your assistance.
Describe how to replicate the issue
Steps to reproduce the issue:
Expected Result:
Actual Result:
Did you attach the server logs?
no
Did you attach a network dump?
no
The text was updated successfully, but these errors were encountered: