Interface VideoSelector.Builder

  • Method Details

    • colorSpace

      VideoSelector.Builder colorSpace(String colorSpace)
      Specifies the color space of an input. This setting works in tandem with colorSpaceUsage and a video description's colorSpaceSettingsChoice to determine if any conversion will be performed.
      Parameters:
      colorSpace - Specifies the color space of an input. This setting works in tandem with colorSpaceUsage and a video description's colorSpaceSettingsChoice to determine if any conversion will be performed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • colorSpace

      Specifies the color space of an input. This setting works in tandem with colorSpaceUsage and a video description's colorSpaceSettingsChoice to determine if any conversion will be performed.
      Parameters:
      colorSpace - Specifies the color space of an input. This setting works in tandem with colorSpaceUsage and a video description's colorSpaceSettingsChoice to determine if any conversion will be performed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • colorSpaceSettings

      VideoSelector.Builder colorSpaceSettings(VideoSelectorColorSpaceSettings colorSpaceSettings)
      Color space settings
      Parameters:
      colorSpaceSettings - Color space settings
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • colorSpaceSettings

      default VideoSelector.Builder colorSpaceSettings(Consumer<VideoSelectorColorSpaceSettings.Builder> colorSpaceSettings)
      Color space settings This is a convenience method that creates an instance of the VideoSelectorColorSpaceSettings.Builder avoiding the need to create one manually via VideoSelectorColorSpaceSettings.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to colorSpaceSettings(VideoSelectorColorSpaceSettings).

      Parameters:
      colorSpaceSettings - a consumer that will call methods on VideoSelectorColorSpaceSettings.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • colorSpaceUsage

      VideoSelector.Builder colorSpaceUsage(String colorSpaceUsage)
      Applies only if colorSpace is a value other than follow. This field controls how the value in the colorSpace field will be used. fallback means that when the input does include color space data, that data will be used, but when the input has no color space data, the value in colorSpace will be used. Choose fallback if your input is sometimes missing color space data, but when it does have color space data, that data is correct. force means to always use the value in colorSpace. Choose force if your input usually has no color space data or might have unreliable color space data.
      Parameters:
      colorSpaceUsage - Applies only if colorSpace is a value other than follow. This field controls how the value in the colorSpace field will be used. fallback means that when the input does include color space data, that data will be used, but when the input has no color space data, the value in colorSpace will be used. Choose fallback if your input is sometimes missing color space data, but when it does have color space data, that data is correct. force means to always use the value in colorSpace. Choose force if your input usually has no color space data or might have unreliable color space data.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • colorSpaceUsage

      VideoSelector.Builder colorSpaceUsage(VideoSelectorColorSpaceUsage colorSpaceUsage)
      Applies only if colorSpace is a value other than follow. This field controls how the value in the colorSpace field will be used. fallback means that when the input does include color space data, that data will be used, but when the input has no color space data, the value in colorSpace will be used. Choose fallback if your input is sometimes missing color space data, but when it does have color space data, that data is correct. force means to always use the value in colorSpace. Choose force if your input usually has no color space data or might have unreliable color space data.
      Parameters:
      colorSpaceUsage - Applies only if colorSpace is a value other than follow. This field controls how the value in the colorSpace field will be used. fallback means that when the input does include color space data, that data will be used, but when the input has no color space data, the value in colorSpace will be used. Choose fallback if your input is sometimes missing color space data, but when it does have color space data, that data is correct. force means to always use the value in colorSpace. Choose force if your input usually has no color space data or might have unreliable color space data.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • selectorSettings

      VideoSelector.Builder selectorSettings(VideoSelectorSettings selectorSettings)
      The video selector settings.
      Parameters:
      selectorSettings - The video selector settings.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • selectorSettings

      default VideoSelector.Builder selectorSettings(Consumer<VideoSelectorSettings.Builder> selectorSettings)
      The video selector settings. This is a convenience method that creates an instance of the VideoSelectorSettings.Builder avoiding the need to create one manually via VideoSelectorSettings.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to selectorSettings(VideoSelectorSettings).

      Parameters:
      selectorSettings - a consumer that will call methods on VideoSelectorSettings.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: