Login

video.media.ready

NameTypeDescription
typestringType for the webhook event
idstringUnique identifier for the event
environmentobject
- environment.namestringUnique identifier for the environment (e.g., "fastpix")
- environment.idstringName for the environment (e.g., "9oa85f64-5717-4562-b3fc-2c963f66afa6")
dataobject
- data.idstringUnique identifier for the media. Max 255 characters.
- data.created_atinteger
- data.durationnumberThe duration of the media in seconds (max duration for a single media is 12 hours).
- data.maxresolutionstringThe maximum resolution tier for the media. Default is 1080p if omitted.
- data.availableresolutionstringThe maximum resolution tier for the media. Default is 1080p if omitted.
- data.encoding_tierstringThe encoding tier informs the cost, quality, and available platform features for the media. Default is smart encoding tier.
- data.aspect_ratiostringThe aspect ratio of the media in the form of width:height (e.g., 16:9).
- data.playback_idsobject
-- data.playback_ids.idstringUnique identifier for the PlaybackID (e.g., "public")
-- data.playback_ids[].accessPolicystringAccess policy for playback IDs. Possible values: "public", "private", "drm".
- data.tracksobject
-- data.tracks[].idstringUniversal unique identifier for the track. Max 255 characters.
-- data.tracks[].typestringIndividual media tracks that make up the media. Possible values: "video", "audio", "text".
-- data.tracks[].widthnumberMaximum width in pixels available for the track (only for video type).
-- data.tracks[].heightnumberMaximum height in pixels available for the track (only for video type).
-- data.tracks[].frameRatenumberMaximum frame rate available for the track (may return -1 if undetermined).
-- data.tracks[].closed_captionsstringIndicates if the track provides Subtitles for the Deaf or Hard-of-hearing (SDH). Only for text tracks with type "subtitles".
- data.testbooleanTrue if this live stream is a test media. Test media is watermarked, limited to 10 seconds, and deleted after 24 hours.
- data.statusstringThe status of the media. Possible values: "created", "waiting", "preparing", "ready", "failed".
- data.ingest_typestringPossible values: "on_demand_url", "on_demand_direct_upload".
created_atintegerUnique identifier for the webhook.
attemptsarray
accessor_sourcestring
accessorstring