Source File
depacketizer.go
Belonging Package
github.com/pion/rtp
// SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>// SPDX-License-Identifier: MITpackage rtp// Depacketizer depacketizes a RTP payload, removing any RTP specific data from the payload.type Depacketizer interface {// Unmarshal parses the RTP payload and returns media.// Metadata may be stored on the Depacketizer itselfUnmarshal(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}
![]() |
The pages are generated with Golds v0.8.2. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |