Login

video.media.failed

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_atintegerTimestamp for when the media was created.
- data.durationnumberThe duration of the media in seconds (max duration for a single media is 12 hours).
- data.maxresolutionstringMaximum resolution tier for the media. Omitting this will set the default resolution to 1080p.
- data.availableresolutionstringMaximum resolution tier determines the highest quality your media will be available in. Omitting this will set the default resolution to 1080p.
- data.encoding_tierstringThe encoding tier informs the cost, quality, and available platform features for the media. By default, the smart encoding tier is used.
- 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[].accessPolicystringPublic playback IDs are accessible by constructing an HLS URL like https://stream.fastpix.io/${PLAYBACK_ID}. Possible values: "public, private, drm".
- data.tracksobject
-- data.tracks[].idstringUnique identifier for the track. Max 255 characters (e.g., "9oa85f64-5717-4562-b3fc-2c963f66afa6").
-- data.tracks[].typestringThe individual media tracks that make up the media. Possible values: "video, audio, text".
-- data.tracks[].widthnumberMaximum width in pixels available for the track (only set for video type).
-- data.tracks[].heightnumberMaximum height in pixels available for the track (only set 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 where type is subtitles.
- data.testbooleanTrue means 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", "on_demand_clip", "live_rtmp", "live_srt".
created_atintegerUnique identifier for the webhook (e.g., "9oa85f64-5717-4562-b3fc-2c963f66afa6").
attemptsarray
accessor_sourcestring
accessorstring