mirror of
https://github.com/aler9/rtsp-simple-server
synced 2025-10-29 02:03:57 +08:00
rtmp: fix parsing error caused by extended timestamps (#2393) (#2556) (#2384) (#1550) (#2564) (#2808)
This commit is contained in:
@@ -7,6 +7,6 @@ import (
|
||||
|
||||
// Chunk is a chunk.
|
||||
type Chunk interface {
|
||||
Read(io.Reader, uint32) error
|
||||
Marshal() ([]byte, error)
|
||||
Read(r io.Reader, bodyLen uint32, hasExtendedTimestamp bool) error
|
||||
Marshal(hasExtendedTimestamp bool) ([]byte, error)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user