AudioEncoderSettings


@UnstableApi
public final class AudioEncoderSettings


Represents the audio encoder settings.

Summary

Nested types

public final class AudioEncoderSettings.Builder

Builds AudioEncoderSettings instances.

Constants

static final AudioEncoderSettings

A default AudioEncoderSettings.

static final int

A value for various fields to indicate that the field's value is unknown or not applicable.

Public fields

final int

The encoding bitrate in bits per second.

final int

The encoding profile.

Constants

DEFAULT

public static final AudioEncoderSettings DEFAULT

A default AudioEncoderSettings.

NO_VALUE

public static final int NO_VALUE = -1

A value for various fields to indicate that the field's value is unknown or not applicable.

Public fields

bitrate

public final int bitrate

The encoding bitrate in bits per second.

profile

public final int profile

The encoding profile.