Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppWriter ¶
type AppWriter struct {
*synchronizer.TrackSynchronizer
// contains filtered or unexported fields
}
func NewAppWriter ¶
func NewAppWriter( conf *config.PipelineConfig, track *webrtc.TrackRemote, pub lksdk.TrackPublication, rp *lksdk.RemoteParticipant, ts *config.TrackSource, synchronizer *synchronizer.Synchronizer, driftHandler DriftHandler, callbacks *gstreamer.Callbacks, ) (*AppWriter, error)
func (*AppWriter) Finished ¶ added in v1.13.0
func (w *AppWriter) Finished() <-chan struct{}
Finished returns a channel that is closed when the writer has finished.
func (*AppWriter) OnUnsubscribed ¶ added in v1.13.0
func (w *AppWriter) OnUnsubscribed()
OnUnsubscribed signals that the track was unsubscribed but allows the reader to continue reading until an error occurs or grace period elapses. This allows any remaining buffers in flight from the SFU to be processed.
func (*AppWriter) SetTimeProvider ¶ added in v1.11.0
func (w *AppWriter) SetTimeProvider(tp gstreamer.TimeProvider)
func (*AppWriter) TrackKind ¶ added in v1.13.0
func (w *AppWriter) TrackKind() webrtc.RTPCodecType
type DriftHandler ¶ added in v1.11.0
type G711Packet ¶ added in v1.13.0
type G711Packet struct{}
func (*G711Packet) IsPartitionHead ¶ added in v1.13.0
func (p *G711Packet) IsPartitionHead(_ []byte) bool
func (*G711Packet) IsPartitionTail ¶ added in v1.13.0
func (p *G711Packet) IsPartitionTail(_ bool, _ []byte) bool
type NullTranslator ¶ added in v1.7.8
type NullTranslator struct{}
func (*NullTranslator) Translate ¶ added in v1.7.8
func (t *NullTranslator) Translate(_ *rtp.Packet)
type Translator ¶ added in v1.7.2
func NewNullTranslator ¶ added in v1.7.8
func NewNullTranslator() Translator
type VP8Translator ¶ added in v1.7.2
type VP8Translator struct {
// contains filtered or unexported fields
}
func NewVP8Translator ¶ added in v1.7.2
func NewVP8Translator(logger logger.Logger) *VP8Translator
func (*VP8Translator) Translate ¶ added in v1.7.2
func (t *VP8Translator) Translate(pkt *rtp.Packet)
Click to show internal directories.
Click to hide internal directories.