Skip to content

测试demo中的pullrtsp2pushrtmp卡顿 #367

@berry0511

Description

@berry0511

环境:
windows10
lal version 0.37.4

现象:

  1. 确认通过vlc取rtsp流不卡顿,少延迟
  2. 将流通过rtmp推至同一局域网下的rtmp流媒体服务器
  3. push option:
    pushSession := rtmp.NewPushSession(func(option *rtmp.PushSessionOption) { option.PushTimeoutMs = 10000 option.WriteAvTimeoutMs = 10000 option.WriteBufSize = 0 })

4.通过vlc取流媒体的rtmp/rtsp流
5. 只有头1s是流畅的
6. 将WriteBufSize改为4096,则大概会有5s的延迟,同时,每隔约1s会出现卡顿,1s之内比较流畅

修改:
添加了rtsp.BaseInSessionTimestampFilterFlag = false配置后,非常流畅,总体延迟约1s,不卡顿

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions