-
Notifications
You must be signed in to change notification settings - Fork 467
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
输出 hls 时,建议参考 ffmpeg 控制 ts 文件数量的方式 #120
Comments
好的,后续会排期开发。 |
已经支持了。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
在 hls 现在的配置中,cleanup_mode 决定保留 ts 的数量,为 2 时,持续删除过期的ts文件,只保留最近的<fragment_num> * 2个左右的ts文件
建议参考 ffmpeg 的 hls_delete_threshold 配置,保留的 ts 文件数量为 <fragment_num> + <hls_delete_threshold>,实际项目中,在设置的 fragment_num 较大时,使用 hls_delete_threshold 可以更节省空间。
The text was updated successfully, but these errors were encountered: