#4825·ZLMediaKit

[TS转推] 当音频为MP2/MP3时,RTP+TS流的音频PTS恒为0,接收端无声音,但有画面。

作者: jiaxiluo创建于 2026年9月7日更新于 2026年9月8日
标签bug
  • Code commit hash: Docker image "zlmediakit/zlmediakit:master" (image id "fbaed8755eb9", pulled on 2026-09-07, the latest master still reproduces the problem; the old image 5cee88440738 also reproduces the problem)
  • Operating system and version: Ubuntu 22.04 (Docker host network deployment)
  • Hardware information: x86_64
  • Crash backtrace: no crash, only the timestamp data is wrong
  • Other information to be added: the problem only occurs in MPEG audio (MP2/MP3) audio tracks, AAC is normal; it is suspected that the TS rewriter did not write the timestamp when writing the MPA frame, please focus on debugging the logic of writing the PTS.

内容来源: ZLMediaKit/ZLMediaKit