Documentation
¶
Index ¶
Constants ¶
View Source
const (
// TypeProtooBroadcast .
TypeProtooBroadcast = "ProtooBroadcast"
)
View Source
const (
// TypeWebmSaver .
TypeWebmSaver = "WebmSaver"
)
Variables ¶
View Source
var ( // ErrAttachNotSupported returned when attaching elments is not supported ErrAttachNotSupported = errors.New("attach not supported") )
Functions ¶
This section is empty.
Types ¶
type ProtooBroadcast ¶
type ProtooBroadcast struct {
// contains filtered or unexported fields
}
ProtooBroadcast instance
func NewProtooBroadcast ¶
func NewProtooBroadcast(config ProtooBroadcastConfig) *ProtooBroadcast
NewProtooBroadcast instance
func (*ProtooBroadcast) Attach ¶
func (b *ProtooBroadcast) Attach(e process.Element) error
Attach attach a child element
func (*ProtooBroadcast) Read ¶
func (b *ProtooBroadcast) Read() <-chan *samples.Sample
type ProtooBroadcastConfig ¶
ProtooBroadcastConfig .
type WebmSaver ¶
type WebmSaver struct {
// contains filtered or unexported fields
}
WebmSaver Module for saving rtp streams to webm
func NewWebmSaver ¶
func NewWebmSaver(config WebmSaverConfig) *WebmSaver
NewWebmSaver Initialize a new webm saver
Click to show internal directories.
Click to hide internal directories.