package media
Import Path
github.com/pion/webrtc/v4/pkg/media (on go.dev)
Dependency Relation
imports 2 packages, and imported by one package
Involved Source Files
Package media provides media writer and filters
Package-Level Type Names (total 2)
A Sample contains encoded media and timing information.
Data []byte
Duration time.Duration
Metadata interface{}
PacketTimestamp uint32
PrevDroppedPackets uint16
RTP headers of RTP packets forming this Sample. (Optional)
Useful for accessing RTP extensions associated to the Sample.
Timestamp time.Time
func github.com/pion/webrtc/v4.(*TrackLocalStaticSample).WriteSample(sample Sample) error
![]() |
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. |