MCPcopy
hub / github.com/pion/webrtc / TrackLocalWriter

Interface TrackLocalWriter

track_local.go:12–18  ·  view source on GitHub ↗

TrackLocalWriter is the Writer for outbound RTP Packets.

Source from the content-addressed store, hash-verified

10
11// TrackLocalWriter is the Writer for outbound RTP Packets.
12type TrackLocalWriter interface {
13 // WriteRTP encrypts a RTP packet and writes to the connection
14 WriteRTP(header *rtp.Header, payload []byte) (int, error)
15
16 // Write encrypts and writes a full RTP packet
17 Write(b []byte) (int, error)
18}
19
20// TrackLocalContext is the Context passed when a TrackLocal has been Binded/Unbinded from a PeerConnection, and used
21// in Interceptors.

Callers 8

TestEOFFunction · 0.65
TestNackNotSentForRTXFunction · 0.65
WriteRTCPMethod · 0.65
WriteRTPMethod · 0.65

Implementers 5

dummyWritertrack_local_static_test.go
errWritertrack_local_static_test.go
TrackLocalStaticRTPtrack_local_static.go
srtpWriterFuturesrtp_writer_future.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…