video.upload.created
Name | Type | Description |
---|---|---|
type | string | Type for the webhook event |
id | string | Unique identifier for the event |
environment | object | |
- environment.name | string | Unique identifier for the environment (e.g., "fastpix") |
- environment.id | string | Name for the environment (e.g., "9oa85f64-5717-4562-b3fc-2c963f66afa6") |
data | object | |
- data.id | string | Unique identifier for the media. Max 255 characters (e.g., "9oa85f64-5717-4562-b3fc-2c963f66afa6"). |
- data.timeout | number | Max time in seconds for the signed upload URL to be valid. |
- data.corsOrigin | string | URL name or put for allowing all (e.g., ""). |
- data.pushmediaSettings | object | |
-- data.pushmediaSettings.metadata | object | Videos can be associated with metadata tags in "key" : "value" pairs. Max: 255 characters. Up to 10 entries allowed. |
-- data.pushmediaSettings.generateSubtitle | boolean | Indicates if subtitles or captions are to be generated. Possible values: "true", "false". |
-- data.pushmediaSettings.normalizeAudio | boolean | Levels the audio track's overall volume for pre-recorded content. Possible values: "true", "false". |
-- data.pushmediaSettings.maxResolution | string | Max resolution for encoding, storing, and streaming media. Defaults to 1080p if not set. Possible values: "2160p", "1440p", "1080p", "720p", "480p", "360p". |
-- data.pushmediaSettings.playback_ids | object | |
--- data.playback_ids.id | string | Unique identifier for the PlaybackID (e.g., "public"). |
--- data.playback_ids[].accessPolicy | string | Access policy for playback IDs. Possible values: "public", "private", "drm". |
-- data.pushmediaSettings.tracks | object | |
--- data.pushmediaSettings.tracks[].id | string | Universal unique identifier for the track. Max 255 characters (e.g., "9oa85f64-5717-4562-b3fc-2c963f66afa6"). |
--- data.pushmediaSettings.tracks[].type | string | Individual media tracks that make up the media. Possible values: "video", "audio", "text". |
--- data.pushmediaSettings.tracks[].width | number | Maximum width in pixels available for the track (only for video type). |
--- data.pushmediaSettings.tracks[].height | number | Maximum height in pixels available for the track (only for video type). |
--- data.pushmediaSettings.tracks[].frameRate | number | Maximum frame rate available for the track (may return -1 if undetermined). |
--- data.pushmediaSettings.tracks[].closed_captions | string | Indicates if the track provides Subtitles for the Deaf or Hard-of-hearing (SDH). Only for text tracks with type "subtitles". |
- data.pushmediaSettings.test | boolean | True if this live stream is a test media. Test media is watermarked, limited to 10 seconds, and deleted after 24 hours. |
- data.pushmediaSettings.status | string | The status of the media. Possible values: "created", "waiting", "preparing", "ready", "failed". |
- data.pushmediaSettings.ingest_type | string | Possible values: "on_demand_url", "on_demand_direct_upload", "on_demand_clip", "live_rtmp", "live_srt". |
created_at | integer | Unique identifier for the webhook (e.g., "9oa85f64-5717-4562-b3fc-2c963f66afa6"). |
attempts | array | |
accessor_source | string | |
accessor | string |
Updated 20 days ago