Skip to content

fix_timestamp真的有生效吗 #106

@lystormenvoy

Description

@lystormenvoy

在 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions