VideoCompositorSettings


@UnstableApi
public interface VideoCompositorSettings


Settings for the VideoCompositor.

Summary

Constants

default static final VideoCompositorSettings

Public methods

abstract Size
getOutputSize(List<Size> inputSizes)

Returns an output texture Size, based on inputSizes.

abstract OverlaySettings
getOverlaySettings(int inputId, long presentationTimeUs)

Returns OverlaySettings for inputId at time presentationTimeUs.

Constants

DEFAULT

default static final VideoCompositorSettings DEFAULT

Public methods

getOutputSize

abstract Size getOutputSize(List<Size> inputSizes)

Returns an output texture Size, based on inputSizes.

Parameters
List<Size> inputSizes

The Size of each input frame, ordered by inputId.

getOverlaySettings

abstract OverlaySettings getOverlaySettings(int inputId, long presentationTimeUs)

Returns OverlaySettings for inputId at time presentationTimeUs.