Versions in this module Expand all Collapse all v1 v1.3.0 Nov 30, 2022 Changes in this version + type ParticipantSupervisor struct + func NewParticipantSupervisor(params ParticipantSupervisorParams) *ParticipantSupervisor + func (p *ParticipantSupervisor) AddPublication(trackID livekit.TrackID) + func (p *ParticipantSupervisor) ClearPublishedTrack(trackID livekit.TrackID, pubTrack types.LocalMediaTrack) + func (p *ParticipantSupervisor) ClearSubscribedTrack(trackID livekit.TrackID, subTrack types.SubscribedTrack) + func (p *ParticipantSupervisor) SetPublicationMute(trackID livekit.TrackID, isMuted bool) + func (p *ParticipantSupervisor) SetPublishedTrack(trackID livekit.TrackID, pubTrack types.LocalMediaTrack) + func (p *ParticipantSupervisor) SetPublisherPeerConnectionConnected(isConnected bool) + func (p *ParticipantSupervisor) SetSubscribedTrack(trackID livekit.TrackID, subTrack types.SubscribedTrack) + func (p *ParticipantSupervisor) Stop() + func (p *ParticipantSupervisor) UpdateSubscription(trackID livekit.TrackID, isSubscribed bool) + type ParticipantSupervisorParams struct + Logger logger.Logger + type PublicationMonitor struct + func NewPublicationMonitor(params PublicationMonitorParams) *PublicationMonitor + func (p *PublicationMonitor) Check() error + func (p *PublicationMonitor) IsIdle() bool + func (p *PublicationMonitor) PostEvent(ome types.OperationMonitorEvent, omd types.OperationMonitorData) + type PublicationMonitorParams struct + IsPeerConnectionConnected bool + Logger logger.Logger + TrackID livekit.TrackID + type SubscriptionMonitor struct + func NewSubscriptionMonitor(params SubscriptionMonitorParams) *SubscriptionMonitor + func (s *SubscriptionMonitor) Check() error + func (s *SubscriptionMonitor) IsIdle() bool + func (s *SubscriptionMonitor) PostEvent(ome types.OperationMonitorEvent, omd types.OperationMonitorData) + type SubscriptionMonitorParams struct + Logger logger.Logger + TrackID livekit.TrackID