Skip to content
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

fix_timestamp真的有生效吗 #106

Open
lystormenvoy opened this issue Jul 11, 2023 · 0 comments
Open

fix_timestamp真的有生效吗 #106

lystormenvoy opened this issue Jul 11, 2023 · 0 comments

Comments

@lystormenvoy
Copy link

lystormenvoy commented Jul 11, 2023

在 nginx-rtmp-module/ngx_rtmp_gop_module.c 中的 ngx_rtmp_gop_link_frame 函数添加代码

 if (!gacf->fix_timestamp) {
                ngx_log_error(NGX_LOG_ERR, s->log, 0,
                        "AVADebug no fix timestamp?");
    }
    if (gacf->fix_timestamp) {
        ngx_log_error(NGX_LOG_ERR, s->log, 0,
                        "AVADebug has fix timestamp?");
......

其中一个application里fix_timestamp设置为0ms;日志会打印AVADebug no fix timestamp?
另一个applicaiton里设置为2000ms;日志不会有相关打印。

另外官方文档写的on取值也是不可用的
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant