Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AudioSubscription ¶
type AudioSubscription struct {
// contains filtered or unexported fields
}
func NewAudioSubscription ¶
func NewAudioSubscription( outputTrack *webrtc.TrackLocalStaticRTP, controller SubscriptionController, ) (*AudioSubscription, error)
func (*AudioSubscription) Unsubscribe ¶
func (s *AudioSubscription) Unsubscribe() error
type KeyFrameRequest ¶
type KeyFrameRequest struct{}
type Subscription ¶
type SubscriptionController ¶
type VideoSubscription ¶
type VideoSubscription struct {
// contains filtered or unexported fields
}
func NewVideoSubscription ¶
func NewVideoSubscription( info webrtc_ext.TrackInfo, controller SubscriptionController, logger *logrus.Entry, telemetryBuilder *telemetry.ChildBuilder, ) (*VideoSubscription, <-chan KeyFrameRequest, error)
Creates a new video subscription. Returns a subscription along with a channel that informs the parent about key frame requests from the subscriptions. When the channel is closed, the subscription's go-routine is stopped.
func (*VideoSubscription) Unsubscribe ¶
func (s *VideoSubscription) Unsubscribe() error
Click to show internal directories.
Click to hide internal directories.