Field | Type | Required | Description | Example |
---|---|---|---|---|
Name |
string | ✔️ | The name of the asset. This is not necessarily the filename - it can be a custom name or title. |
filename.mp4 |
StaticMp4 |
*bool | ➖ | Whether to generate MP4s for the asset. | true |
PlaybackPolicy |
*components.PlaybackPolicy | ➖ | Whether the playback policy for an asset or stream is public or signed | |
CreatorID |
*components.InputCreatorID | ➖ | N/A | |
Storage |
*components.NewAssetPayloadStorage | ➖ | N/A | |
Encryption |
*components.NewAssetPayloadEncryption | ➖ | N/A | |
C2pa |
*bool | ➖ | Decides if the output video should include C2PA signature | |
Profiles |
[]components.TranscodeProfile | ➖ | N/A | |
TargetSegmentSizeSecs |
*float64 | ➖ | How many seconds the duration of each output segment should be |