mirror of
https://github.com/langhuihui/monibuca.git
synced 2026-05-09 19:51:11 +08:00
fix: rtmp read cts
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user