Package 

Class VideoSinkVisibility


  • 
    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.

    • Method Summary

      Modifier and Type Method Description
      abstract Boolean isVisible()
      abstract Track.Dimensions size()
      final Unit notifyChanged() This should be called whenever the visibility or size has changed.
      Unit close() 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