ExportResult.ProcessedInput


public final class ExportResult.ProcessedInput


An input entirely or partially processed.

Summary

Public fields

final @MonotonicNonNull String

The name of the audio decoder used to process mediaItem.

final MediaItem

The processed MediaItem.

final @MonotonicNonNull String

The name of the video decoder used to process mediaItem.

Public constructors

ProcessedInput(
    MediaItem mediaItem,
    @Nullable String audioDecoderName,
    @Nullable String videoDecoderName
)

Creates an instance.

Public fields

audioDecoderName

@MonotonicNonNull
public final @MonotonicNonNull String audioDecoderName

The name of the audio decoder used to process mediaItem. This field is null if no audio decoder was used.

mediaItem

public final MediaItem mediaItem

The processed MediaItem.

videoDecoderName

@MonotonicNonNull
public final @MonotonicNonNull String videoDecoderName

The name of the video decoder used to process mediaItem. This field is null if no video decoder was used.

Public constructors

ProcessedInput

public ProcessedInput(
    MediaItem mediaItem,
    @Nullable String audioDecoderName,
    @Nullable String videoDecoderName
)

Creates an instance.