VideoSinkVisibility

Provides the visibility and dimensions of the video sink, allowing LiveKit to automatically manage the quality of the stream when adaptive streaming is used.

Inheritors

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun addObserver(p0: Observer)
Link copied to clipboard
open fun close()

Called when this object is no longer needed and should clean up any unused resources.

Link copied to clipboard
open fun countObservers(): Int
Link copied to clipboard
open fun deleteObserver(p0: Observer)
Link copied to clipboard
open fun deleteObservers()
Link copied to clipboard
open fun hasChanged(): Boolean
Link copied to clipboard
abstract fun isVisible(): Boolean
Link copied to clipboard

This should be called whenever the visibility or size has changed.

Link copied to clipboard
open fun notifyObservers()
open fun notifyObservers(p0: Any)
Link copied to clipboard
abstract fun size(): Track.Dimensions