fuchsia.mediastreams

Added: 7

STRUCTS

AudioFormat

Defined in fuchsia.mediastreams/audio_format.fidl

Describes a format used for audio elementary streams without reference to compression. Where compression is supported, this type should be combined with a Compression struct.

FieldTypeDescriptionDefault
sample_format AudioSampleFormat

The type of individual samples.

No default
channel_count uint32

The number of samples per frame.

No default
frames_per_second uint32

The number of frames per second.

No default
channel_layout AudioChannelLayout

The spatial assignment of each channel.

No default

Compression

Defined in fuchsia.mediastreams/compression.fidl

Describes the compression applied to a stream.

Removed: HEAD

FieldTypeDescriptionDefault
type CompressionType

The type of compression applied to the stream.

No default
parameters vector<uint8>?

Opaque ‘out-of-band’ parameters describing the compression of the stream.

No default

Encryption

Defined in fuchsia.mediastreams/encryption.fidl

FieldTypeDescriptionDefault
scheme EncryptionScheme No default
default_key_id EncryptionKeyId No default
default_init_vector EncryptionInitVector No default
default_pattern EncryptionPattern? No default

EncryptionPattern

Defined in fuchsia.mediastreams/encryption.fidl

FieldTypeDescriptionDefault
clear_blocks uint32 No default
encrypted_blocks uint32 No default

EncryptionSubsampleEntry

Defined in fuchsia.mediastreams/encryption.fidl

FieldTypeDescriptionDefault
clear_bytes uint32 No default
encrypted_bytes uint32 No default

VideoFormat

Defined in fuchsia.mediastreams/video_format.fidl

Describes a format used for video elementary streams without reference to compression. Where compression is supported, this type should be combined with a Compression struct.

Removed: HEAD

FieldTypeDescriptionDefault
pixel_format PixelFormat

Describes the manner in which pixels are encoded.

No default
pixel_format_modifier uint64

Vendor-specific pixel format modifier.

No default
color_space ColorSpace

Indicates the color space used to interpret pixel values.

No default
coded_size fuchsia.math/Size

The size of a frame in terms of the number of pixels that are represented in a frame payload.

No default
display_size fuchsia.math/Size

The size of a frame in terms of the number of pixels that should be displayed. These values will always be less than or equal to the corresponding coded_size values.

No default
aspect_ratio fuchsia.math/Size?

Aspect ratio of a single pixel as the video is intended to be displayed.

No default

ENUMS

AudioSampleFormat strict

Type: uint32

Defined in fuchsia.mediastreams/audio_format.fidl

Expresses the format of individual audio samples.

NameValueDescription
1
2
3
4
5

ColorSpace strict

Type: uint32

Defined in fuchsia.mediastreams/video_format.fidl

Expresses the color space used to interpret video pixel values.

Removed: HEAD

NameValueDescription
0
1
2
3
4
5
6
7
8

PixelFormat strict

Type: uint32

Defined in fuchsia.mediastreams/video_format.fidl

Expresses the manner in which video pixels are encoded.

Removed: HEAD

NameValueDescription
0
1
101
102
103
104
105
106
107
108
109
110
111
112
113
114

UNIONS

AudioChannelLayout strict

Defined in fuchsia.mediastreams/audio_format.fidl

OrdinalVariantTypeDescription
placeholder uint8

MediaFormat flexible

Defined in fuchsia.mediastreams/media_format.fidl

Describes a format used for elementary streams

Removed: HEAD
OrdinalVariantTypeDescription
audio AudioFormat

Format for audio streams.

video VideoFormat

Format for video streams.

CONSTANTS

NameValueTypeDescription
AUDIO_COMPRESSION_AAC fuchsia.streams.aac String
Removed: HEAD
AUDIO_COMPRESSION_AACLATM fuchsia.streams.aaclatm String
Removed: HEAD
AUDIO_COMPRESSION_AMRNB fuchsia.streams.amrnb String
Removed: HEAD
AUDIO_COMPRESSION_AMRWB fuchsia.streams.amrwb String
Removed: HEAD
AUDIO_COMPRESSION_APTX fuchsia.streams.aptx String
Removed: HEAD
AUDIO_COMPRESSION_FLAC fuchsia.streams.flac String
Removed: HEAD
AUDIO_COMPRESSION_GSMMS fuchsia.streams.gsmms String
Removed: HEAD
AUDIO_COMPRESSION_MP3 fuchsia.streams.mp3 String
Removed: HEAD
AUDIO_COMPRESSION_OPUS fuchsia.streams.opus String
Removed: HEAD
AUDIO_COMPRESSION_PCMALAW fuchsia.streams.pcmalaw String
Removed: HEAD
AUDIO_COMPRESSION_PCMMULAW fuchsia.streams.pcmmulaw String
Removed: HEAD
AUDIO_COMPRESSION_SBC fuchsia.streams.sbc String
Removed: HEAD
AUDIO_COMPRESSION_VORBIS fuchsia.streams.vorbis String
Removed: HEAD
ENCRYPTION_SCHEME_CBC1 cbc1 String
ENCRYPTION_SCHEME_CBCS cbcs String
ENCRYPTION_SCHEME_CENC cenc String
ENCRYPTION_SCHEME_CENS cens String
MAX_ENCRYPTION_SCHEME_SIZE 4 int64

The maximum size of an EncryptionScheme string.

MAX_INIT_VECTOR_SIZE 16 int64

The maximum size of a EncryptionInitVector blob.

MAX_KEY_ID_SIZE 16 int64

The maximum size of a EncryptionKeyId blob.

VIDEO_COMPRESSION_H263 fuchsia.streams.h263 String
Removed: HEAD
VIDEO_COMPRESSION_H264 fuchsia.streams.h264 String
Removed: HEAD
VIDEO_COMPRESSION_MPEG4 fuchsia.streams.mpeg4 String
Removed: HEAD
VIDEO_COMPRESSION_THEORA fuchsia.streams.theora String
Removed: HEAD
VIDEO_COMPRESSION_VP3 fuchsia.streams.vp3 String
Removed: HEAD
VIDEO_COMPRESSION_VP8 fuchsia.streams.vp8 String
Removed: HEAD
VIDEO_COMPRESSION_VP9 fuchsia.streams.vp9 String
Removed: HEAD

ALIASES

NameValueDescription
CompressionType string[256]

An identifier for compression types.

Removed: HEAD
EncryptionInitVector vector[MAX_INIT_VECTOR_SIZE]
EncryptionKeyId vector[MAX_KEY_ID_SIZE]
EncryptionScheme string[MAX_ENCRYPTION_SCHEME_SIZE]

Identifies an encryption scheme.