SDK reference / Models / Media
MediaPreset
Kind: class
Namespace: Egulu.Sdk.Models.Media
A transcoding preset: one of the platform's (plat-…, read-only) or the project's own.
Properties
| Name | Type | JSON name | Description |
|---|---|---|---|
Available | bool? | available | Whether this cell can run the preset now (false when it needs patented codecs the cell has not enabled). |
CreateTime | DateTimeOffset? | createTime | The createTime property |
Description | string? | description | The description property |
DisplayName | string? | displayName | The displayName property |
Etag | string? | etag | The etag property |
Kind | string? | kind | `VIDEO`, `AUDIO` or `IMAGE`. |
Meters | List<string>? | meters | The meters the preset bills, one per rendition class: `media-sd-minutes`, `media-hd-minutes`, `media-audio-minutes`; empty for image presets. |
Name | string? | name | projects/{project}/locations/{location}/mediaPresets/{mediaPreset}. |
RequiresPatentedCodecs | bool? | requiresPatentedCodecs | Whether the preset needs H.264 or AAC, which a cell enables explicitly (ADR-0787 item 7). |
Source | string? | source | `PLATFORM` or `CUSTOM`. |
Spec | Models.Media.MediaPreset_spec? | spec | The spec property |
UpdateTime | DateTimeOffset? | updateTime | The updateTime property |