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

Struct interceptorToTrackLocalWriter

interceptor.go:306–306  ·  view source on GitHub ↗

interceptorToTrackLocalWriter is an RTPWriter that holds a reference to interceptor.RTPWriter.

Source from the content-addressed store, hash-verified

304
305// interceptorToTrackLocalWriter is an RTPWriter that holds a reference to interceptor.RTPWriter.
306type interceptorToTrackLocalWriter struct{ interceptor atomic.Value } // interceptor.RTPWriter }
307
308// WriteRTP writes an RTP packet using the underlying interceptor.RTPWriter.
309func (i *interceptorToTrackLocalWriter) WriteRTP(header *rtp.Header, payload []byte) (int, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected