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

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

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

UNIONS

AudioChannelLayout strict

Defined in fuchsia.mediastreams/audio_format.fidl

OrdinalVariantTypeDescription
placeholder uint8

CONSTANTS

NameValueTypeDescription
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.

ALIASES

NameValueDescription
EncryptionInitVector vector[MAX_INIT_VECTOR_SIZE]
EncryptionKeyId vector[MAX_KEY_ID_SIZE]
EncryptionScheme string[MAX_ENCRYPTION_SCHEME_SIZE]

Identifies an encryption scheme.