fix: rtmp read cts

This commit is contained in:
langhuihui
2025-02-13 15:47:12 +08:00
parent a5399ed11f
commit 467ec2356a
+1 -1
View File
@@ -99,7 +99,7 @@ func (avcc *RTMPVideo) Parse(t *AVTrack) (err error) {
} else {
fourCC = codec.FourCC_H264
}
_, err = reader.ReadBE(3) // cts == 0
avcc.CTS, err = reader.ReadBE(3) // cts == 0
if err != nil {
return
}