Package tvi.webrtc

Class RendererCommon.VideoLayoutMeasure

  • Enclosing class:
    RendererCommon

    public static class RendererCommon.VideoLayoutMeasure
    extends java.lang.Object
    Helper class for determining layout size based on layout requirements, scaling type, and video aspect ratio.
    • Constructor Detail

      • VideoLayoutMeasure

        public VideoLayoutMeasure()
    • Method Detail

      • setVisibleFraction

        public void setVisibleFraction​(float visibleFractionMatchOrientation,
                                       float visibleFractionMismatchOrientation)
      • measure

        public android.graphics.Point measure​(int widthSpec,
                                              int heightSpec,
                                              int frameWidth,
                                              int frameHeight)