supervisor

package
v0.0.0-...-6ec608e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 27, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ParticipantSupervisor

type ParticipantSupervisor struct {
	// contains filtered or unexported fields
}

func (*ParticipantSupervisor) AddPublication

func (p *ParticipantSupervisor) AddPublication(trackID livekit.TrackID)

func (*ParticipantSupervisor) ClearPublishedTrack

func (p *ParticipantSupervisor) ClearPublishedTrack(trackID livekit.TrackID, pubTrack types.LocalMediaTrack)

func (*ParticipantSupervisor) OnPublicationError

func (p *ParticipantSupervisor) OnPublicationError(f func(trackID livekit.TrackID))

func (*ParticipantSupervisor) SetPublicationMute

func (p *ParticipantSupervisor) SetPublicationMute(trackID livekit.TrackID, isMuted bool)

func (*ParticipantSupervisor) SetPublishedTrack

func (p *ParticipantSupervisor) SetPublishedTrack(trackID livekit.TrackID, pubTrack types.LocalMediaTrack)

func (*ParticipantSupervisor) SetPublisherPeerConnectionConnected

func (p *ParticipantSupervisor) SetPublisherPeerConnectionConnected(isConnected bool)

func (*ParticipantSupervisor) Stop

func (p *ParticipantSupervisor) Stop()

type ParticipantSupervisorParams

type ParticipantSupervisorParams struct {
	Logger logger.Logger
}

type PublicationMonitor

type PublicationMonitor struct {
	// contains filtered or unexported fields
}

func NewPublicationMonitor

func NewPublicationMonitor(params PublicationMonitorParams) *PublicationMonitor

func (*PublicationMonitor) Check

func (p *PublicationMonitor) Check() error

func (*PublicationMonitor) IsIdle

func (p *PublicationMonitor) IsIdle() bool

func (*PublicationMonitor) PostEvent

type PublicationMonitorParams

type PublicationMonitorParams struct {
	TrackID                   livekit.TrackID
	IsPeerConnectionConnected bool
	Logger                    logger.Logger
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL