VideoCompositorSettings


@UnstableApi
interface VideoCompositorSettings


Settings for the VideoCompositor.

Summary

Constants

const VideoCompositorSettings!

Public functions

Size!
getOutputSize(inputSizes: (Mutable)List<Size!>!)

Returns an output texture Size, based on inputSizes.

OverlaySettings!
getOverlaySettings(inputId: Int, presentationTimeUs: Long)

Returns OverlaySettings for inputId at time presentationTimeUs.

Constants

DEFAULT

const val DEFAULTVideoCompositorSettings!

Public functions

getOutputSize

fun getOutputSize(inputSizes: (Mutable)List<Size!>!): Size!

Returns an output texture Size, based on inputSizes.

Parameters
inputSizes: (Mutable)List<Size!>!

The Size of each input frame, ordered by inputId.

getOverlaySettings

fun getOverlaySettings(inputId: Int, presentationTimeUs: Long): OverlaySettings!

Returns OverlaySettings for inputId at time presentationTimeUs.