mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
TEST: Upgrade pion to v3.2.9. (#3567)
------ Co-authored-by: chundonglinlin <chundonglinlin@163.com>
This commit is contained in:
parent
104cf14d68
commit
df854339ea
1383 changed files with 118469 additions and 41421 deletions
7
trunk/3rdparty/srs-bench/vendor/github.com/pion/rtp/depacketizer.go
generated
vendored
7
trunk/3rdparty/srs-bench/vendor/github.com/pion/rtp/depacketizer.go
generated
vendored
|
@ -3,4 +3,11 @@ package rtp
|
|||
// Depacketizer depacketizes a RTP payload, removing any RTP specific data from the payload
|
||||
type Depacketizer interface {
|
||||
Unmarshal(packet []byte) ([]byte, error)
|
||||
// Checks if the packet is at the beginning of a partition. This
|
||||
// should return false if the result could not be determined, in
|
||||
// which case the caller will detect timestamp discontinuities.
|
||||
IsPartitionHead(payload []byte) bool
|
||||
// Checks if the packet is at the end of a partition. This should
|
||||
// return false if the result could not be determined.
|
||||
IsPartitionTail(marker bool, payload []byte) bool
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue