-
public abstract class VideoSinkVisibility extends Observable
Provides the visibility and dimensions of the video sink, allowing LiveKit to automatically manage the quality of the stream when adaptive streaming is used.
-
-
Constructor Summary
Constructors Constructor Description VideoSinkVisibility()
-
Method Summary
Modifier and Type Method Description abstract BooleanisVisible()abstract Track.Dimensionssize()final UnitnotifyChanged()This should be called whenever the visibility or size has changed. Unitclose()Called when this object is no longer needed and should clean up any unused resources. -
Methods inherited from class io.livekit.android.room.track.video.VideoSinkVisibility
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
size
abstract Track.Dimensions size()
-
notifyChanged
final Unit notifyChanged()
This should be called whenever the visibility or size has changed.
-
-
-
-