Macros

Pattern that matches an unknown AacTransport member.
Pattern that matches an unknown AudioCompressedFormat member.
Pattern that matches an unknown CryptoFormat member.
Pattern that matches an unknown EncoderSettings member.
Pattern that matches an unknown UsageState member.

Structs

AAC inside ADTS
AAC inside LATM
Raw AAC access units.
A Stream of incoming requests for ActivityReporter
A Stream of incoming requests for AudioCapturer
AudioCompressedFormatCvsd contains no fields for now since we will be using the parameter values recommended by Bluetooth Core Spec v5.3 section 9.2.
A Stream of incoming requests for AudioConsumer
Flags passed to AudioConsumer.Start.
Represents the status of the consumer. In the initial status, error and presentation_timeline are absent. The lead time fields are always present.
A Stream of incoming requests for AudioCore
A Stream of incoming requests for AudioDeviceEnumerator
A Stream of incoming requests for AudioRenderer
A Stream of incoming requests for Audio
Describes the type of an audio elementary stream.
Describes the compression applied to a stream. This type can be used in conjunction with AudioStreamType or VideoStreamType to represent a medium-specific compressed type.
Settings for CVSD Encoders. It contains no fields for now since we will be using the parameter values recommended by Bluetooth Core Spec v5.3 section 9.2.
DecryptedFormat
EncryptedFormat
EncryptionPattern
FormatDetails
Settings for H264 Encoders.
Customization of h264 encoder parameters for macroblock quantization. The values can range from 0 to 51, with lower numbers indicating higher quality/bitrate. While encoders should support these fields if feasible, some encoders may ignore these fields. It’s ok to not set this table, or not set some of the fields in this table, as encoders can determine their own defaults. If the targeted bitrate can’t be achieved with the specified values, then the user should expect the resulting encoded stream bitrate to differ from the requested bitrate.
Settings for HEVC/H265 Encoders.
Configuration for a capturer which will receive a stream from an input device.
Configuration for a capturer which will receive a loopback stream a system output.
A Packet represents a chunk of input or output data to or from a stream processor.
PacketHeader
Parameter
PcmFormat
A Stream of incoming requests for ProfileProvider
Settings for an SBC Encoder.
A Stream of incoming requests for SessionAudioConsumerFactory
A Stream of incoming requests for SimpleStreamSink
This struct conveys the buffer_constraints_version_ordinal.
A Stream of incoming requests for StreamBufferSet
Deprecated. Use SetStreamBufferPartialSettings() and StreamBufferPartialSettings instead.
The stream-processor-controlled output configuration, including both StreamBufferConstraints for the output and FormatDetails for the output.
Describes a packet consumed by StreamSink or produced by StreamSource.
A Stream of incoming requests for StreamProcessor
A Stream of incoming requests for StreamSink
A Stream of incoming requests for StreamSource
Describes the type of an elementary stream.
Describes the type of a subpicture elementary stream.
SubsampleEntry
Describes the type of a text elementary stream.
A TimelineFunction represents a relationship between a subject timeline and a reference timeline with a linear relation.
A Stream of incoming requests for UsageAudioConsumerFactory
A Stream of incoming requests for UsageGainListener
A Stream of incoming requests for UsageGainReporter
A Stream of incoming requests for UsageReporter
A state of audio usages in which a policy decision has been made to temporarily lower the volume of all streams with this usage.
A state of audio usages in which a policy decision has been made to temporarily mute the volume of all streams with this usage.
A state of audio usages in which no policy actions are taken on any streams with the usage.
A Stream of incoming requests for UsageWatcher
Describes the type of a video elementary stream.
VideoUncompressedFormat

Enums

Variable bit rate modes. The actual resulting bitrate varies based on input signal and other encoding settings.
A protocol for monitoring the usage activity of the AudioRenderers and AudioCapturers.
Usages annotating the purpose of the stream being used to capture audio. The AudioCaptureUsage is used by audio policy to dictate how audio streams interact with each other.
Configuration for an audio Capturer.
AudioChannelId
Represents a AudioConsumer error condition.
Interface for playing and controlling audio.
AudioFormat
AudioPcmMode
Usage annotating the purpose of the stream being used to render audio. An AudioRenderer’s usage cannot be changed after creation. The AudioRenderUsage is used by audio policy to dictate how audio streams interact with each other.
AudioRenderers can be in one of two states at any time: configurable or operational. A renderer is considered operational whenever it has packets queued to be rendered; otherwise it is configurable. Once an AudioRenderer enters the operational state, calls to “configuring” methods are disallowed and will cause the audio service to disconnect the client’s connection. The following are considered configuring methods: AddPayloadBuffer, SetPcmStreamType, SetStreamType, SetPtsUnits, SetPtsContinuityThreshold.
Enumerates the supported audio sample formats.
AudioUncompressedFormat
The behaviors applied to streams when multiple are active.
CryptoFormat
DomainFormat
Settings for encoders that tell them how to encode raw formats.
A union of all medium-specific stream type structs.
Interface for creating audio consumers bound to a session.
A StreamSink that uses StreamBufferSet for buffer management.
Manages a set of payload buffers for a stream. This interface is typically inherited along with StreamSink or StreamSource to enable the transport of elementary streams between clients and services.
StreamError
Overview of operation:
Consumes a stream of packets. This interface is typically inherited along with StreamBufferSet to enable the transport of elementary streams from clients to services.
Produces a stream of packets. This interface is typically inherited along with StreamBufferSet to enable the transport of elementary streams from services to clients.
Interface for creating audio consumers for local rendering.
A protocol for watching changes to usage gain settings.
A protocol for setting up watchers of usage gain.
A protocol for setting up watchers of audio usages.
The state of audio policy enforcement on a stream or set of streams.
A protocol for listening to changes to the policy state of an audio usage.
Value
VideoCompressedFormat
VideoFormat

Constants

Audio encodings.
The maximum number of frames that may be contained within a single StreamPacket.
The title of the source of the media, e.g. a player, streaming service, or website.
Permitted ranges for AudioRenderer and AudioCapturer
When used as a StreamPacket.pts value, indicates that the packet has no specific presentation timestamp. The effective presentation time of such a packet depends on the context in which the StreamPacket is used.
Indicates a discontinuity in an otherwise continuous-in-time sequence of packets. The precise semantics of this flag depend on the context in which the StreamPacket is used.
Indicates that all other packets in the stream can be understood without reference to this packet. This is typically used in compressed streams to identify packets containing frames that may be discarded without affecting other frames.
Indicates that the packet can be understood without reference to other packets in the stream. This is typically used in compressed streams to identify packets that contain key frames.
Video encodings.

Traits