| <link rel="stylesheet" href="../style.css" /> |
| |
| [TOC] |
| # fuchsia.mediastreams |
| |
| <div class="fidl-version-div"><span class="fidl-attribute fidl-version">Added: 7</span></div> |
| |
| |
| ## **STRUCTS** |
| |
| ### AudioFormat {#AudioFormat data-text="AudioFormat"} |
| *Defined in [fuchsia.mediastreams/audio_format.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.mediastreams/audio_format.fidl;l=9)* |
| <p>Describes a format used for audio elementary streams without |
| reference to compression. Where compression is supported, this |
| type should be combined with a <code>Compression</code> struct.</p> |
| |
| <table> |
| <tr><th>Field</th><th>Type</th><th>Description</th><th>Default</th></tr> |
| <tr id="AudioFormat.sample_format"> |
| <td><code>sample_format</code></td> |
| <td> |
| <code><a class='link' href='#AudioSampleFormat'>AudioSampleFormat</a></code> |
| </td> |
| <td><p>The type of individual samples.</p> |
| </td> |
| <td>No default</td> |
| </tr> |
| <tr id="AudioFormat.channel_count"> |
| <td><code>channel_count</code></td> |
| <td> |
| <code>uint32</code> |
| </td> |
| <td><p>The number of samples per frame.</p> |
| </td> |
| <td>No default</td> |
| </tr> |
| <tr id="AudioFormat.frames_per_second"> |
| <td><code>frames_per_second</code></td> |
| <td> |
| <code>uint32</code> |
| </td> |
| <td><p>The number of frames per second.</p> |
| </td> |
| <td>No default</td> |
| </tr> |
| <tr id="AudioFormat.channel_layout"> |
| <td><code>channel_layout</code></td> |
| <td> |
| <code><a class='link' href='#AudioChannelLayout'>AudioChannelLayout</a></code> |
| </td> |
| <td><p>The spatial assignment of each channel.</p> |
| </td> |
| <td>No default</td> |
| </tr> |
| </table> |
| |
| ### Compression {#Compression data-text="Compression"} |
| *Defined in [fuchsia.mediastreams/compression.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.mediastreams/compression.fidl;l=10)* |
| <p>Describes the compression applied to a stream.</p> |
| |
| <table> |
| <tr><th>Field</th><th>Type</th><th>Description</th><th>Default</th></tr> |
| <tr id="Compression.type"> |
| <td><code>type</code></td> |
| <td> |
| <code><a class='link' href='#CompressionType'>CompressionType</a></code> |
| </td> |
| <td><p>The type of compression applied to the stream.</p> |
| </td> |
| <td>No default</td> |
| </tr> |
| <tr id="Compression.parameters"> |
| <td><code>parameters</code></td> |
| <td> |
| <code>vector<uint8>?</code> |
| </td> |
| <td><p>Opaque ‘out-of-band’ parameters describing the compression |
| of the stream.</p> |
| </td> |
| <td>No default</td> |
| </tr> |
| </table> |
| |
| ### Encryption {#Encryption data-text="Encryption"} |
| *Defined in [fuchsia.mediastreams/encryption.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.mediastreams/encryption.fidl;l=34)* |
| |
| <table> |
| <tr><th>Field</th><th>Type</th><th>Description</th><th>Default</th></tr> |
| <tr id="Encryption.scheme"> |
| <td><code>scheme</code></td> |
| <td> |
| <code><a class='link' href='#EncryptionScheme'>EncryptionScheme</a></code> |
| </td> |
| <td></td> |
| <td>No default</td> |
| </tr> |
| <tr id="Encryption.default_key_id"> |
| <td><code>default_key_id</code></td> |
| <td> |
| <code><a class='link' href='#EncryptionKeyId'>EncryptionKeyId</a></code> |
| </td> |
| <td></td> |
| <td>No default</td> |
| </tr> |
| <tr id="Encryption.default_init_vector"> |
| <td><code>default_init_vector</code></td> |
| <td> |
| <code><a class='link' href='#EncryptionInitVector'>EncryptionInitVector</a></code> |
| </td> |
| <td></td> |
| <td>No default</td> |
| </tr> |
| <tr id="Encryption.default_pattern"> |
| <td><code>default_pattern</code></td> |
| <td> |
| <code><a class='link' href='#EncryptionPattern'>EncryptionPattern</a>?</code> |
| </td> |
| <td></td> |
| <td>No default</td> |
| </tr> |
| </table> |
| |
| ### EncryptionPattern {#EncryptionPattern data-text="EncryptionPattern"} |
| *Defined in [fuchsia.mediastreams/encryption.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.mediastreams/encryption.fidl;l=29)* |
| |
| <table> |
| <tr><th>Field</th><th>Type</th><th>Description</th><th>Default</th></tr> |
| <tr id="EncryptionPattern.clear_blocks"> |
| <td><code>clear_blocks</code></td> |
| <td> |
| <code>uint32</code> |
| </td> |
| <td></td> |
| <td>No default</td> |
| </tr> |
| <tr id="EncryptionPattern.encrypted_blocks"> |
| <td><code>encrypted_blocks</code></td> |
| <td> |
| <code>uint32</code> |
| </td> |
| <td></td> |
| <td>No default</td> |
| </tr> |
| </table> |
| |
| ### EncryptionSubsampleEntry {#EncryptionSubsampleEntry data-text="EncryptionSubsampleEntry"} |
| *Defined in [fuchsia.mediastreams/encryption.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.mediastreams/encryption.fidl;l=24)* |
| |
| <table> |
| <tr><th>Field</th><th>Type</th><th>Description</th><th>Default</th></tr> |
| <tr id="EncryptionSubsampleEntry.clear_bytes"> |
| <td><code>clear_bytes</code></td> |
| <td> |
| <code>uint32</code> |
| </td> |
| <td></td> |
| <td>No default</td> |
| </tr> |
| <tr id="EncryptionSubsampleEntry.encrypted_bytes"> |
| <td><code>encrypted_bytes</code></td> |
| <td> |
| <code>uint32</code> |
| </td> |
| <td></td> |
| <td>No default</td> |
| </tr> |
| </table> |
| |
| ### VideoFormat {#VideoFormat data-text="VideoFormat"} |
| *Defined in [fuchsia.mediastreams/video_format.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.mediastreams/video_format.fidl;l=11)* |
| <p>Describes a format used for video elementary streams without |
| reference to compression. Where compression is supported, this |
| type should be combined with a <code>Compression</code> struct.</p> |
| |
| <table> |
| <tr><th>Field</th><th>Type</th><th>Description</th><th>Default</th></tr> |
| <tr id="VideoFormat.pixel_format"> |
| <td><code>pixel_format</code></td> |
| <td> |
| <code><a class='link' href='#PixelFormat'>PixelFormat</a></code> |
| </td> |
| <td><p>Describes the manner in which pixels are encoded.</p> |
| </td> |
| <td>No default</td> |
| </tr> |
| <tr id="VideoFormat.pixel_format_modifier"> |
| <td><code>pixel_format_modifier</code></td> |
| <td> |
| <code>uint64</code> |
| </td> |
| <td><p>Vendor-specific pixel format modifier.</p> |
| </td> |
| <td>No default</td> |
| </tr> |
| <tr id="VideoFormat.color_space"> |
| <td><code>color_space</code></td> |
| <td> |
| <code><a class='link' href='#ColorSpace'>ColorSpace</a></code> |
| </td> |
| <td><p>Indicates the color space used to interpret pixel values.</p> |
| </td> |
| <td>No default</td> |
| </tr> |
| <tr id="VideoFormat.coded_size"> |
| <td><code>coded_size</code></td> |
| <td> |
| <code><a class='link' href='../fuchsia.math/'>fuchsia.math</a>/<a class='link' href='../fuchsia.math/#Size'>Size</a></code> |
| </td> |
| <td><p>The size of a frame in terms of the number of pixels that |
| are represented in a frame payload.</p> |
| </td> |
| <td>No default</td> |
| </tr> |
| <tr id="VideoFormat.display_size"> |
| <td><code>display_size</code></td> |
| <td> |
| <code><a class='link' href='../fuchsia.math/'>fuchsia.math</a>/<a class='link' href='../fuchsia.math/#Size'>Size</a></code> |
| </td> |
| <td><p>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 <code>coded_size</code> values.</p> |
| </td> |
| <td>No default</td> |
| </tr> |
| <tr id="VideoFormat.aspect_ratio"> |
| <td><code>aspect_ratio</code></td> |
| <td> |
| <code><a class='link' href='../fuchsia.math/'>fuchsia.math</a>/<a class='link' href='../fuchsia.math/#Size'>Size</a>?</code> |
| </td> |
| <td><p>Aspect ratio of a single pixel as the video is intended to |
| be displayed.</p> |
| </td> |
| <td>No default</td> |
| </tr> |
| </table> |
| |
| |
| ## **ENUMS** |
| |
| ### AudioSampleFormat [strict](/fuchsia-src/reference/fidl/language/language.md#strict-vs-flexible){:.fidl-attribute} {#AudioSampleFormat data-text="AudioSampleFormat"} |
| Type: <code>uint32</code> |
| |
| *Defined in [fuchsia.mediastreams/audio_format.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.mediastreams/audio_format.fidl;l=27)* |
| <p>Expresses the format of individual audio samples.</p> |
| |
| <table> |
| <tr><th>Name</th><th>Value</th><th>Description</th></tr> |
| <tr id="AudioSampleFormat.UNSIGNED_8"> |
| <td><h3 id="AudioSampleFormat.UNSIGNED_8" class="add-link hide-from-toc">UNSIGNED_8</h3></td> |
| <td><code>1</code></td> |
| <td></td> |
| </tr> |
| <tr id="AudioSampleFormat.SIGNED_16"> |
| <td><h3 id="AudioSampleFormat.SIGNED_16" class="add-link hide-from-toc">SIGNED_16</h3></td> |
| <td><code>2</code></td> |
| <td></td> |
| </tr> |
| <tr id="AudioSampleFormat.SIGNED_24_IN_32"> |
| <td><h3 id="AudioSampleFormat.SIGNED_24_IN_32" class="add-link hide-from-toc">SIGNED_24_IN_32</h3></td> |
| <td><code>3</code></td> |
| <td></td> |
| </tr> |
| <tr id="AudioSampleFormat.SIGNED_32"> |
| <td><h3 id="AudioSampleFormat.SIGNED_32" class="add-link hide-from-toc">SIGNED_32</h3></td> |
| <td><code>4</code></td> |
| <td></td> |
| </tr> |
| <tr id="AudioSampleFormat.FLOAT"> |
| <td><h3 id="AudioSampleFormat.FLOAT" class="add-link hide-from-toc">FLOAT</h3></td> |
| <td><code>5</code></td> |
| <td></td> |
| </tr> |
| </table> |
| |
| ### ColorSpace [strict](/fuchsia-src/reference/fidl/language/language.md#strict-vs-flexible){:.fidl-attribute} {#ColorSpace data-text="ColorSpace"} |
| Type: <code>uint32</code> |
| |
| *Defined in [fuchsia.mediastreams/video_format.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.mediastreams/video_format.fidl;l=60)* |
| <p>Expresses the color space used to interpret video pixel values.</p> |
| |
| <table> |
| <tr><th>Name</th><th>Value</th><th>Description</th></tr> |
| <tr id="ColorSpace.INVALID"> |
| <td><h3 id="ColorSpace.INVALID" class="add-link hide-from-toc">INVALID</h3></td> |
| <td><code>0</code></td> |
| <td></td> |
| </tr> |
| <tr id="ColorSpace.SRGB"> |
| <td><h3 id="ColorSpace.SRGB" class="add-link hide-from-toc">SRGB</h3></td> |
| <td><code>1</code></td> |
| <td></td> |
| </tr> |
| <tr id="ColorSpace.REC601_NTSC"> |
| <td><h3 id="ColorSpace.REC601_NTSC" class="add-link hide-from-toc">REC601_NTSC</h3></td> |
| <td><code>2</code></td> |
| <td></td> |
| </tr> |
| <tr id="ColorSpace.REC601_NTSC_FULL_RANGE"> |
| <td><h3 id="ColorSpace.REC601_NTSC_FULL_RANGE" class="add-link hide-from-toc">REC601_NTSC_FULL_RANGE</h3></td> |
| <td><code>3</code></td> |
| <td></td> |
| </tr> |
| <tr id="ColorSpace.REC601_PAL"> |
| <td><h3 id="ColorSpace.REC601_PAL" class="add-link hide-from-toc">REC601_PAL</h3></td> |
| <td><code>4</code></td> |
| <td></td> |
| </tr> |
| <tr id="ColorSpace.REC601_PAL_FULL_RANGE"> |
| <td><h3 id="ColorSpace.REC601_PAL_FULL_RANGE" class="add-link hide-from-toc">REC601_PAL_FULL_RANGE</h3></td> |
| <td><code>5</code></td> |
| <td></td> |
| </tr> |
| <tr id="ColorSpace.REC709"> |
| <td><h3 id="ColorSpace.REC709" class="add-link hide-from-toc">REC709</h3></td> |
| <td><code>6</code></td> |
| <td></td> |
| </tr> |
| <tr id="ColorSpace.REC2020"> |
| <td><h3 id="ColorSpace.REC2020" class="add-link hide-from-toc">REC2020</h3></td> |
| <td><code>7</code></td> |
| <td></td> |
| </tr> |
| <tr id="ColorSpace.REC2100"> |
| <td><h3 id="ColorSpace.REC2100" class="add-link hide-from-toc">REC2100</h3></td> |
| <td><code>8</code></td> |
| <td></td> |
| </tr> |
| </table> |
| |
| ### PixelFormat [strict](/fuchsia-src/reference/fidl/language/language.md#strict-vs-flexible){:.fidl-attribute} {#PixelFormat data-text="PixelFormat"} |
| Type: <code>uint32</code> |
| |
| *Defined in [fuchsia.mediastreams/video_format.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.mediastreams/video_format.fidl;l=40)* |
| <p>Expresses the manner in which video pixels are encoded.</p> |
| |
| <table> |
| <tr><th>Name</th><th>Value</th><th>Description</th></tr> |
| <tr id="PixelFormat.INVALID"> |
| <td><h3 id="PixelFormat.INVALID" class="add-link hide-from-toc">INVALID</h3></td> |
| <td><code>0</code></td> |
| <td></td> |
| </tr> |
| <tr id="PixelFormat.R8G8B8A8"> |
| <td><h3 id="PixelFormat.R8G8B8A8" class="add-link hide-from-toc">R8G8B8A8</h3></td> |
| <td><code>1</code></td> |
| <td></td> |
| </tr> |
| <tr id="PixelFormat.BGRA32"> |
| <td><h3 id="PixelFormat.BGRA32" class="add-link hide-from-toc">BGRA32</h3></td> |
| <td><code>101</code></td> |
| <td></td> |
| </tr> |
| <tr id="PixelFormat.I420"> |
| <td><h3 id="PixelFormat.I420" class="add-link hide-from-toc">I420</h3></td> |
| <td><code>102</code></td> |
| <td></td> |
| </tr> |
| <tr id="PixelFormat.M420"> |
| <td><h3 id="PixelFormat.M420" class="add-link hide-from-toc">M420</h3></td> |
| <td><code>103</code></td> |
| <td></td> |
| </tr> |
| <tr id="PixelFormat.NV12"> |
| <td><h3 id="PixelFormat.NV12" class="add-link hide-from-toc">NV12</h3></td> |
| <td><code>104</code></td> |
| <td></td> |
| </tr> |
| <tr id="PixelFormat.YUY2"> |
| <td><h3 id="PixelFormat.YUY2" class="add-link hide-from-toc">YUY2</h3></td> |
| <td><code>105</code></td> |
| <td></td> |
| </tr> |
| <tr id="PixelFormat.MJPEG"> |
| <td><h3 id="PixelFormat.MJPEG" class="add-link hide-from-toc">MJPEG</h3></td> |
| <td><code>106</code></td> |
| <td></td> |
| </tr> |
| <tr id="PixelFormat.YV12"> |
| <td><h3 id="PixelFormat.YV12" class="add-link hide-from-toc">YV12</h3></td> |
| <td><code>107</code></td> |
| <td></td> |
| </tr> |
| <tr id="PixelFormat.BGR24"> |
| <td><h3 id="PixelFormat.BGR24" class="add-link hide-from-toc">BGR24</h3></td> |
| <td><code>108</code></td> |
| <td></td> |
| </tr> |
| <tr id="PixelFormat.RGB565"> |
| <td><h3 id="PixelFormat.RGB565" class="add-link hide-from-toc">RGB565</h3></td> |
| <td><code>109</code></td> |
| <td></td> |
| </tr> |
| <tr id="PixelFormat.RGB332"> |
| <td><h3 id="PixelFormat.RGB332" class="add-link hide-from-toc">RGB332</h3></td> |
| <td><code>110</code></td> |
| <td></td> |
| </tr> |
| <tr id="PixelFormat.RGB2220"> |
| <td><h3 id="PixelFormat.RGB2220" class="add-link hide-from-toc">RGB2220</h3></td> |
| <td><code>111</code></td> |
| <td></td> |
| </tr> |
| <tr id="PixelFormat.L8"> |
| <td><h3 id="PixelFormat.L8" class="add-link hide-from-toc">L8</h3></td> |
| <td><code>112</code></td> |
| <td></td> |
| </tr> |
| <tr id="PixelFormat.R8"> |
| <td><h3 id="PixelFormat.R8" class="add-link hide-from-toc">R8</h3></td> |
| <td><code>113</code></td> |
| <td></td> |
| </tr> |
| <tr id="PixelFormat.R8G8"> |
| <td><h3 id="PixelFormat.R8G8" class="add-link hide-from-toc">R8G8</h3></td> |
| <td><code>114</code></td> |
| <td></td> |
| </tr> |
| </table> |
| |
| |
| |
| ## **UNIONS** |
| |
| ### AudioChannelLayout [strict](/fuchsia-src/reference/fidl/language/language.md#strict-vs-flexible){:.fidl-attribute} {#AudioChannelLayout data-text="AudioChannelLayout"} |
| *Defined in [fuchsia.mediastreams/audio_format.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.mediastreams/audio_format.fidl;l=35)* |
| <table> |
| <tr><th>Ordinal</th><th>Variant</th><th>Type</th><th>Description</th></tr> |
| <tr id="AudioChannelLayout.placeholder"> |
| <td><h3 id="AudioChannelLayout.placeholder" class="add-link hide-from-toc">1</h3></td> |
| <td><code>placeholder</code></td> |
| <td> |
| <code>uint8</code> |
| </td> |
| <td></td> |
| </tr> |
| </table> |
| |
| ### MediaFormat [flexible](/fuchsia-src/reference/fidl/language/language.md#strict-vs-flexible){:.fidl-attribute} {#MediaFormat data-text="MediaFormat"} |
| *Defined in [fuchsia.mediastreams/media_format.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.mediastreams/media_format.fidl;l=8)* |
| <p>Describes a format used for elementary streams</p> |
| <table> |
| <tr><th>Ordinal</th><th>Variant</th><th>Type</th><th>Description</th></tr> |
| <tr id="MediaFormat.audio"> |
| <td><h3 id="MediaFormat.audio" class="add-link hide-from-toc">1</h3></td> |
| <td><code>audio</code></td> |
| <td> |
| <code><a class='link' href='#AudioFormat'>AudioFormat</a></code> |
| </td> |
| <td><p>Format for audio streams.</p> |
| </td> |
| </tr> |
| <tr id="MediaFormat.video"> |
| <td><h3 id="MediaFormat.video" class="add-link hide-from-toc">2</h3></td> |
| <td><code>video</code></td> |
| <td> |
| <code><a class='link' href='#VideoFormat'>VideoFormat</a></code> |
| </td> |
| <td><p>Format for video streams.</p> |
| </td> |
| </tr> |
| </table> |
| |
| |
| |
| ## **CONSTANTS** |
| |
| <table> |
| <tr><th>Name</th><th>Value</th><th>Type</th><th>Description</th></tr> |
| <tr id="AUDIO_COMPRESSION_AAC"> |
| <td><a href="https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.mediastreams/compression.fidl;l=20">AUDIO_COMPRESSION_AAC</a></td> |
| <td><code>fuchsia.streams.aac</code></td> |
| <td><code>String</code></td> |
| <td></td> |
| </tr> |
| <tr id="AUDIO_COMPRESSION_AACLATM"> |
| <td><a href="https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.mediastreams/compression.fidl;l=21">AUDIO_COMPRESSION_AACLATM</a></td> |
| <td><code>fuchsia.streams.aaclatm</code></td> |
| <td><code>String</code></td> |
| <td></td> |
| </tr> |
| <tr id="AUDIO_COMPRESSION_AMRNB"> |
| <td><a href="https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.mediastreams/compression.fidl;l=22">AUDIO_COMPRESSION_AMRNB</a></td> |
| <td><code>fuchsia.streams.amrnb</code></td> |
| <td><code>String</code></td> |
| <td></td> |
| </tr> |
| <tr id="AUDIO_COMPRESSION_AMRWB"> |
| <td><a href="https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.mediastreams/compression.fidl;l=23">AUDIO_COMPRESSION_AMRWB</a></td> |
| <td><code>fuchsia.streams.amrwb</code></td> |
| <td><code>String</code></td> |
| <td></td> |
| </tr> |
| <tr id="AUDIO_COMPRESSION_APTX"> |
| <td><a href="https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.mediastreams/compression.fidl;l=24">AUDIO_COMPRESSION_APTX</a></td> |
| <td><code>fuchsia.streams.aptx</code></td> |
| <td><code>String</code></td> |
| <td></td> |
| </tr> |
| <tr id="AUDIO_COMPRESSION_FLAC"> |
| <td><a href="https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.mediastreams/compression.fidl;l=25">AUDIO_COMPRESSION_FLAC</a></td> |
| <td><code>fuchsia.streams.flac</code></td> |
| <td><code>String</code></td> |
| <td></td> |
| </tr> |
| <tr id="AUDIO_COMPRESSION_GSMMS"> |
| <td><a href="https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.mediastreams/compression.fidl;l=26">AUDIO_COMPRESSION_GSMMS</a></td> |
| <td><code>fuchsia.streams.gsmms</code></td> |
| <td><code>String</code></td> |
| <td></td> |
| </tr> |
| <tr id="AUDIO_COMPRESSION_MP3"> |
| <td><a href="https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.mediastreams/compression.fidl;l=27">AUDIO_COMPRESSION_MP3</a></td> |
| <td><code>fuchsia.streams.mp3</code></td> |
| <td><code>String</code></td> |
| <td></td> |
| </tr> |
| <tr id="AUDIO_COMPRESSION_OPUS"> |
| <td><a href="https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.mediastreams/compression.fidl;l=32">AUDIO_COMPRESSION_OPUS</a></td> |
| <td><code>fuchsia.streams.opus</code></td> |
| <td><code>String</code></td> |
| <td></td> |
| </tr> |
| <tr id="AUDIO_COMPRESSION_PCMALAW"> |
| <td><a href="https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.mediastreams/compression.fidl;l=28">AUDIO_COMPRESSION_PCMALAW</a></td> |
| <td><code>fuchsia.streams.pcmalaw</code></td> |
| <td><code>String</code></td> |
| <td></td> |
| </tr> |
| <tr id="AUDIO_COMPRESSION_PCMMULAW"> |
| <td><a href="https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.mediastreams/compression.fidl;l=29">AUDIO_COMPRESSION_PCMMULAW</a></td> |
| <td><code>fuchsia.streams.pcmmulaw</code></td> |
| <td><code>String</code></td> |
| <td></td> |
| </tr> |
| <tr id="AUDIO_COMPRESSION_SBC"> |
| <td><a href="https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.mediastreams/compression.fidl;l=30">AUDIO_COMPRESSION_SBC</a></td> |
| <td><code>fuchsia.streams.sbc</code></td> |
| <td><code>String</code></td> |
| <td></td> |
| </tr> |
| <tr id="AUDIO_COMPRESSION_VORBIS"> |
| <td><a href="https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.mediastreams/compression.fidl;l=31">AUDIO_COMPRESSION_VORBIS</a></td> |
| <td><code>fuchsia.streams.vorbis</code></td> |
| <td><code>String</code></td> |
| <td></td> |
| </tr> |
| <tr id="ENCRYPTION_SCHEME_CBC1"> |
| <td><a href="https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.mediastreams/encryption.fidl;l=18">ENCRYPTION_SCHEME_CBC1</a></td> |
| <td><code>cbc1</code></td> |
| <td><code>String</code></td> |
| <td></td> |
| </tr> |
| <tr id="ENCRYPTION_SCHEME_CBCS"> |
| <td><a href="https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.mediastreams/encryption.fidl;l=20">ENCRYPTION_SCHEME_CBCS</a></td> |
| <td><code>cbcs</code></td> |
| <td><code>String</code></td> |
| <td></td> |
| </tr> |
| <tr id="ENCRYPTION_SCHEME_CENC"> |
| <td><a href="https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.mediastreams/encryption.fidl;l=17">ENCRYPTION_SCHEME_CENC</a></td> |
| <td><code>cenc</code></td> |
| <td><code>String</code></td> |
| <td></td> |
| </tr> |
| <tr id="ENCRYPTION_SCHEME_CENS"> |
| <td><a href="https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.mediastreams/encryption.fidl;l=19">ENCRYPTION_SCHEME_CENS</a></td> |
| <td><code>cens</code></td> |
| <td><code>String</code></td> |
| <td></td> |
| </tr> |
| <tr id="MAX_ENCRYPTION_SCHEME_SIZE"> |
| <td><a href="https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.mediastreams/encryption.fidl;l=7">MAX_ENCRYPTION_SCHEME_SIZE</a></td> |
| <td> |
| <code>4</code> |
| </td> |
| <td><code>int64</code></td> |
| <td><p>The maximum size of an <code>EncryptionScheme</code> string.</p> |
| </td> |
| </tr> |
| <tr id="MAX_INIT_VECTOR_SIZE"> |
| <td><a href="https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.mediastreams/encryption.fidl;l=13">MAX_INIT_VECTOR_SIZE</a></td> |
| <td> |
| <code>16</code> |
| </td> |
| <td><code>int64</code></td> |
| <td><p>The maximum size of a <code>EncryptionInitVector</code> blob.</p> |
| </td> |
| </tr> |
| <tr id="MAX_KEY_ID_SIZE"> |
| <td><a href="https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.mediastreams/encryption.fidl;l=10">MAX_KEY_ID_SIZE</a></td> |
| <td> |
| <code>16</code> |
| </td> |
| <td><code>int64</code></td> |
| <td><p>The maximum size of a <code>EncryptionKeyId</code> blob.</p> |
| </td> |
| </tr> |
| <tr id="VIDEO_COMPRESSION_H263"> |
| <td><a href="https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.mediastreams/compression.fidl;l=34">VIDEO_COMPRESSION_H263</a></td> |
| <td><code>fuchsia.streams.h263</code></td> |
| <td><code>String</code></td> |
| <td></td> |
| </tr> |
| <tr id="VIDEO_COMPRESSION_H264"> |
| <td><a href="https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.mediastreams/compression.fidl;l=35">VIDEO_COMPRESSION_H264</a></td> |
| <td><code>fuchsia.streams.h264</code></td> |
| <td><code>String</code></td> |
| <td></td> |
| </tr> |
| <tr id="VIDEO_COMPRESSION_MPEG4"> |
| <td><a href="https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.mediastreams/compression.fidl;l=36">VIDEO_COMPRESSION_MPEG4</a></td> |
| <td><code>fuchsia.streams.mpeg4</code></td> |
| <td><code>String</code></td> |
| <td></td> |
| </tr> |
| <tr id="VIDEO_COMPRESSION_THEORA"> |
| <td><a href="https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.mediastreams/compression.fidl;l=37">VIDEO_COMPRESSION_THEORA</a></td> |
| <td><code>fuchsia.streams.theora</code></td> |
| <td><code>String</code></td> |
| <td></td> |
| </tr> |
| <tr id="VIDEO_COMPRESSION_VP3"> |
| <td><a href="https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.mediastreams/compression.fidl;l=38">VIDEO_COMPRESSION_VP3</a></td> |
| <td><code>fuchsia.streams.vp3</code></td> |
| <td><code>String</code></td> |
| <td></td> |
| </tr> |
| <tr id="VIDEO_COMPRESSION_VP8"> |
| <td><a href="https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.mediastreams/compression.fidl;l=39">VIDEO_COMPRESSION_VP8</a></td> |
| <td><code>fuchsia.streams.vp8</code></td> |
| <td><code>String</code></td> |
| <td></td> |
| </tr> |
| <tr id="VIDEO_COMPRESSION_VP9"> |
| <td><a href="https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.mediastreams/compression.fidl;l=40">VIDEO_COMPRESSION_VP9</a></td> |
| <td><code>fuchsia.streams.vp9</code></td> |
| <td><code>String</code></td> |
| <td></td> |
| </tr> |
| </table> |
| |
| ## **TYPE ALIASES** |
| |
| <table> |
| <tr><th>Name</th><th>Value</th><th>Description</th></tr> |
| <tr id="CompressionType"> |
| <td><a href="https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.mediastreams/compression.fidl;l=7">CompressionType</a></td> |
| <td> |
| <code>string</code>[<code>256</code>]</td> |
| <td><p>An identifier for compression types.</p> |
| </td> |
| </tr> |
| <tr id="EncryptionInitVector"> |
| <td><a href="https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.mediastreams/encryption.fidl;l=22">EncryptionInitVector</a></td> |
| <td> |
| <code>vector</code>[<code><a class='link' href='#MAX_INIT_VECTOR_SIZE'>MAX_INIT_VECTOR_SIZE</a></code>]</td> |
| <td></td> |
| </tr> |
| <tr id="EncryptionKeyId"> |
| <td><a href="https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.mediastreams/encryption.fidl;l=21">EncryptionKeyId</a></td> |
| <td> |
| <code>vector</code>[<code><a class='link' href='#MAX_KEY_ID_SIZE'>MAX_KEY_ID_SIZE</a></code>]</td> |
| <td></td> |
| </tr> |
| <tr id="EncryptionScheme"> |
| <td><a href="https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.mediastreams/encryption.fidl;l=16">EncryptionScheme</a></td> |
| <td> |
| <code>string</code>[<code><a class='link' href='#MAX_ENCRYPTION_SCHEME_SIZE'>MAX_ENCRYPTION_SCHEME_SIZE</a></code>]</td> |
| <td><p>Identifies an encryption scheme.</p> |
| </td> |
| </tr> |
| </table> |