Package 

Enum VideoScaleType

  • All Implemented Interfaces:
    java.io.Serializable , java.lang.Comparable

    
    public enum VideoScaleType
    
                        

    Specifies what type of video scaling that will be performed by a tvi.webrtc.VideoSink.

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      ASPECT_BALANCED

      A combination of fit and fill. Will scale, fit, and crop accordingly to internal visibilityfraction.

      ASPECT_FILL

      Video is scaled to fill entire view and preserve aspect ratio. This may cause cropping.

      ASPECT_FIT

      Video is scaled to fit size of view while maintaining aspect ratio. Black bars may appear.

    • Method Summary

      Modifier and Type Method Description
      static Array<VideoScaleType> values()
      static VideoScaleType valueOf(String name)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait