Class VideoFilterConfiguration.Builder

  • Enclosing class:
    VideoFilterConfiguration

    public static final class VideoFilterConfiguration.Builder
    extends Object
    VideoFilterConfiguration builder static inner class.
    • Method Detail

      • minWidth

        public VideoFilterConfiguration.Builder minWidth​(int minWidth)
        Sets the minWidth and returns a reference to this Builder so that the methods can be chained together.
        Parameters:
        minWidth - the minWidth to set
        Returns:
        a reference to this Builder
      • minHeight

        public VideoFilterConfiguration.Builder minHeight​(int minHeight)
        Sets the minHeight and returns a reference to this Builder so that the methods can be chained together.
        Parameters:
        minHeight - the minHeight to set
        Returns:
        a reference to this Builder
      • maxBitrate

        public VideoFilterConfiguration.Builder maxBitrate​(long maxBitrate)
        Sets the maxBitrate and returns a reference to this Builder so that the methods can be chained together.
        Parameters:
        maxBitrate - the maxBitrate to set
        Returns:
        a reference to this Builder
      • minBitrate

        public VideoFilterConfiguration.Builder minBitrate​(long minBitrate)
        Sets the minBitrate and returns a reference to this Builder so that the methods can be chained together.
        Parameters:
        minBitrate - the minBitrate to set
        Returns:
        a reference to this Builder
      • maxPixel

        public VideoFilterConfiguration.Builder maxPixel​(long maxPixel)
        Sets the maxPixel and returns a reference to this Builder so that the methods can be chained together.
        Parameters:
        maxPixel - the maxPixel to set
        Returns:
        a reference to this Builder
      • minPixel

        public VideoFilterConfiguration.Builder minPixel​(long minPixel)
        Sets the minPixel and returns a reference to this Builder so that the methods can be chained together.
        Parameters:
        minPixel - the minPixel to set
        Returns:
        a reference to this Builder
      • enableViewportFilter

        public VideoFilterConfiguration.Builder enableViewportFilter​(boolean enableViewportFilter)
        Sets the enableViewportFilter and returns a reference to this Builder so that the methods can be chained together.
        Parameters:
        enableViewportFilter - the enableViewportFilter to set
        Returns:
        a reference to this Builder
      • maxFramerate

        public VideoFilterConfiguration.Builder maxFramerate​(float maxFramerate)
        Sets the maxFramerate and returns a reference to this Builder so that the methods can be chained together.
        Parameters:
        maxFramerate - the maxFramerate to set
        Returns:
        a reference to this Builder
      • minFramerate

        public VideoFilterConfiguration.Builder minFramerate​(float minFramerate)
        Sets the minFramerate and returns a reference to this Builder so that the methods can be chained together.
        Parameters:
        minFramerate - the minFramerate to set
        Returns:
        a reference to this Builder
      • get

        public VideoFilterConfiguration get()
        Returns a VideoFilterConfiguration built from the parameters previously set.
        Returns:
        a VideoFilterConfiguration built with parameters of this VideoFilterConfiguration.Builder