Live stream events

Learn about the events used to create, connect, and manage live streams effectively.

FastPix emits a series of events throughout the lifecycle of a live stream, providing real-time insights into the status and activity of your streams. These events allow you to track when a stream is created, when an encoder connects, when recording starts, and when the stream goes live or ends. By subscribing to these events, you can build responsive applications that react to changes in your live streaming environment effectively.

video.live_stream.created

Triggered when a new live stream is provisioned on the platform. This means your application has successfully created a stream resource, and a streamKey is now available for broadcasters to start pushing live video using an encoder.


NameTypeDescription
typestringType for the webhook event (e.g., video.live_stream.created).
objectobject
- object.typestringType of the object (e.g., live).
- object.idstringUnique identifier for the livestream (e.g., 9oa85f64-5717-4562-b3fc-2c963f66afa6).
idstringUnique identifier for the webhook event.
workspaceobject
- workspace.namestringName for the environment (e.g., Development).
- workspace.idstringUnique identifier for the environment (e.g., 9oa85f64-5717-4562-b3fc-2c963f66afa6).
dataobject
- data.streamIdstringUnique identifier for the stream. Max 255 characters (e.g., a0ba2bf6-fe6b-441c-a9be-bf910d223218).
- data.streamKeystringUnique key used for streaming to a Fastpix RTMP endpoint; treat it as sensitive as credentials.
- data.srtSecretstringUnique key used for streaming to a FastPix endpoint; treat it as sensitive as credentials.
- data.trialbooleanIndicates if the stream is a trial stream (e.g., true/false).
- data.statusstringCurrent live stream status: idle (no broadcast), disabled (no RTMP streams), active (broadcast in progress).
- data.maxResolutionstringMaximum resolution for the live broadcast (e.g., 1080p).
- data.maxDurationintegerDuration (in seconds) that a live stream can last before disconnecting (e.g., 28800).
- data.createdAtstringTimestamp for when the stream was created (e.g., 2023-12-06T09:12:28.808Z).
- data.reconnectWindowintegerTime (in seconds) Fastpix will wait before declaring the stream over after disconnection. Default is 60 seconds for Standard Latency.
- data.enableRecordingbooleanIndicates if recording is enabled (e.g., true/false).
- data.enableDvrModebooleanIndicates if DVR mode is enabled for the stream (e.g., true/false).
- data.mediaPolicystringAccess policy for the media (e.g., public, private).
- data.metadataobjectUser-supplied metadata included in the stream details (e.g., {key1:value1}).
- data.lowLatencybooleanIndicates if low latency is enabled for the stream (e.g., true/false).
- data.closedCaptionsbooleanIndicates if closed captions are enabled for the stream (e.g., true/false).
- data.playbackIdsarray
— data.playbackIds[].idstringUnique identifier for the PlaybackID (e.g., 937d2668-6898-4b64-b044-aae4f7dedd5d).
— data.playbackIds[].accessPolicystringAccess policy for playback IDs; can be public or private.
- data.srtPlaybackResponseobject
— data.srtPlaybackResponse.srtPlaybackStreamIdstringUnique identifier id for the stream with initial play and max of 255 characters (e.g., playf21f7c0b45108a04f051692e83af2943).
— data.srtPlaybackResponse.srtPlaybackSecretstringUnique identifier key for the stream, max of 255 characters.
createdAtstringTimestamp for when the webhook was created (e.g., 2023-12-06T09:12:28.808Z).
attemptsarrayList of attempts created.

video.live_stream.preparing

NameTypeDescription
typestringType for the webhook event (e.g., video.live_stream.preparing).
objectobject
- object.typestringType of the object (e.g., live).
- object.idstringUnique identifier for the livestream (e.g., 9oa85f64-5717-4562-b3fc-2c963f66afa6).
idstringUnique identifier for the webhook event.
workspaceobject
- workspace.namestringName for the environment (e.g., Development).
- workspace.idstringUnique identifier for the environment (e.g., 9oa85f64-5717-4562-b3fc-2c963f66afa6).
dataobject
- data.streamIdstringUnique identifier for the stream. Max 255 characters (e.g., a0ba2bf6-fe6b-441c-a9be-bf910d223218).
- data.streamKeystringUnique key used for streaming to a Fastpix RTMP endpoint; treat it as sensitive as credentials.
- data.srtSecretstringUnique key used for streaming to a FastPix endpoint; treat it as sensitive as credentials.
- data.trialbooleanIndicates if the stream is a trial stream (e.g., true/false).
- data.statusstringCurrent live stream status: idle (no broadcast), disabled (no RTMP streams), active (broadcast in progress), preparing (checking broadcast).
- data.maxResolutionstringMaximum resolution for the live broadcast (e.g., 1080p).
- data.maxDurationintegerDuration (in seconds) that a live stream can last before disconnecting (e.g., 28800).
- data.createdAtstringTimestamp for when the stream was created (e.g., 2023-12-06T09:12:28.808Z).
- data.reconnectWindowintegerTime (in seconds) Fastpix will wait before declaring the stream over after disconnection. Default is 60 seconds for Standard Latency.
- data.enableRecordingbooleanIndicates if recording is enabled (e.g., true/false).
- data.enableDvrModebooleanIndicates if DVR mode is enabled for the stream (e.g., true/false).
- data.mediaPolicystringAccess policy for the media (e.g., public, private).
- data.metadataobjectUser-supplied metadata included in the stream details (e.g., {key1:value1}).
- data.lowLatencybooleanIndicates if low latency is enabled for the stream (e.g., true/false).
- data.closedCaptionsbooleanIndicates if closed captions are enabled for the stream (e.g., true/false).
- data.playbackIdsarray
— data.playbackIds[].idstringUnique identifier for the PlaybackID (e.g., 937d2668-6898-4b64-b044-aae4f7dedd5d).
— data.playbackIds[].accessPolicystringAccess policy for playback IDs; can be public or private.
- data.srtPlaybackResponseobject
— data.srtPlaybackResponse.srtPlaybackStreamIdstringUnique identifier id for the stream with initial play and max of 255 characters (e.g., playf21f7c0b45108a04f051692e83af2943).
— data.srtPlaybackResponse.srtPlaybackSecretstringUnique identifier key for the stream, max of 255 characters.
createdAtstringTimestamp for when the webhook was created (e.g., 2023-12-06T09:12:28.808Z).
attemptsarrayList of attempts created.

video.live_stream.connected

Fired when an encoder successfully connects to the live stream. The system confirms that it is now receiving an input feed, although the stream isn’t yet publicly live. This is useful for monitoring when the encoder handshake is complete.


NameTypeDescription
typestringType for the webhook event (e.g., video.live_stream.connected).
objectobject
- object.typestringType of the object (e.g., live).
- object.idstringUnique identifier for the livestream (e.g., 9oa85f64-5717-4562-b3fc-2c963f66afa6).
idstringUnique identifier for the webhook event.
workspaceobject
- workspace.namestringName for the environment (e.g., Development).
- workspace.idstringUnique identifier for the environment (e.g., 9oa85f64-5717-4562-b3fc-2c963f66afa6).
dataobject
- data.streamIdstringUnique identifier for the stream. Max 255 characters (e.g., a0ba2bf6-fe6b-441c-a9be-bf910d223218).
- data.streamKeystringUnique key used for streaming to a Fastpix RTMP endpoint; treat it as sensitive as credentials.
- data.srtSecretstringUnique key used for streaming to a FastPix endpoint; treat it as sensitive as credentials.
- data.trialbooleanIndicates if the stream is a trial stream (e.g., true/false).
- data.statusstringCurrent live stream status: idle (no broadcast), disabled (no RTMP streams), active (broadcast in progress), preparing (checking broadcast).
- data.maxResolutionstringMaximum resolution for the live broadcast (e.g., 1080p).
- data.maxDurationintegerDuration (in seconds) that a live stream can last before disconnecting (e.g., 28800).
- data.createdAtstringTimestamp for when the stream was created (e.g., 2023-12-06T09:12:28.808Z).
- data.reconnectWindowintegerTime (in seconds) Fastpix will wait before declaring the stream over after disconnection. Default is 60 seconds for Standard Latency.
- data.enableRecordingbooleanIndicates if recording is enabled (e.g., true/false).
- data.enableDvrModebooleanIndicates if DVR mode is enabled for the stream (e.g., true/false).
- data.mediaPolicystringAccess policy for the media (e.g., public, private).
- data.metadataobjectUser-supplied metadata included in the stream details (e.g., {key1:value1}).
- data.lowLatencybooleanIndicates if low latency is enabled for the stream (e.g., true/false).
- data.closedCaptionsbooleanIndicates if closed captions are enabled for the stream (e.g., true/false).
- data.playbackIdsarray
— data.playbackIds[].idstringUnique identifier for the PlaybackID (e.g., 937d2668-6898-4b64-b044-aae4f7dedd5d).
— data.playbackIds[].accessPolicystringAccess policy for playback IDs; can be public or private.
- data.srtPlaybackResponseobject
— data.srtPlaybackResponse.srtPlaybackStreamIdstringUnique identifier id for the stream with initial play and max of 255 characters (e.g., playf21f7c0b45108a04f051692e83af2943).
— data.srtPlaybackResponse.srtPlaybackSecretstringUnique identifier key for the stream, max of 255 characters.
createdAtstringTimestamp for when the webhook was created (e.g., 2023-12-06T09:12:28.808Z).
attemptsarrayList of attempts created.

video.live_stream.active

Indicates that the live stream is officially live and being broadcast to viewers. This is the moment when your audience can start watching the stream in real-time. You can use this webhook to trigger “Go Live” notifications or UI changes.


NameTypeDescription
typestringType for the webhook event (e.g., video.live_stream.active).
objectobject
- object.typestringType of the object (e.g., live).
- object.idstringUnique identifier for the livestream (e.g., 9oa85f64-5717-4562-b3fc-2c963f66afa6).
idstringUnique identifier for the webhook event.
workspaceobject
- workspace.namestringName for the environment (e.g., Development).
- workspace.idstringUnique identifier for the environment (e.g., 9oa85f64-5717-4562-b3fc-2c963f66afa6).
dataobject
- data.streamIdstringUnique identifier for the stream. Max 255 characters (e.g., a0ba2bf6-fe6b-441c-a9be-bf910d223218).
- data.streamKeystringUnique key used for streaming to a Fastpix RTMP endpoint; treat it as sensitive as credentials.
- data.srtSecretstringUnique key used for streaming to a FastPix endpoint; treat it as sensitive as credentials.
- data.trialbooleanIndicates if the stream is a trial stream (e.g., true/false).
- data.statusstringCurrent live stream status: idle (no broadcast), disabled (no RTMP streams), active (broadcast in progress), preparing (checking broadcast).
- data.maxResolutionstringMaximum resolution for the live broadcast (e.g., 1080p).
- data.maxDurationintegerDuration (in seconds) that a live stream can last before disconnecting (e.g., 28800).
- data.createdAtstringTimestamp for when the stream was created (e.g., 2023-12-06T09:12:28.808Z).
- data.reconnectWindowintegerTime (in seconds) Fastpix will wait before declaring the stream over after disconnection. Default is 60 seconds for Standard Latency.
- data.enableRecordingbooleanIndicates if recording is enabled (e.g., true/false).
- data.enableDvrModebooleanIndicates if DVR mode is enabled for the stream (e.g., true/false).
- data.mediaPolicystringAccess policy for the media (e.g., public, private).
- data.metadataobjectUser-supplied metadata included in the stream details (e.g., {key1:value1}).
- data.lowLatencybooleanIndicates if low latency is enabled for the stream (e.g., true/false).
- data.closedCaptionsbooleanIndicates if closed captions are enabled for the stream (e.g., true/false).
- data.playbackIdsarray
— data.playbackIds[].idstringUnique identifier for the PlaybackID (e.g., 937d2668-6898-4b64-b044-aae4f7dedd5d).
— data.playbackIds[].accessPolicystringAccess policy for playback IDs; can be public or private.
- data.srtPlaybackResponseobject
— data.srtPlaybackResponse.srtPlaybackStreamIdstringUnique identifier id for the stream with initial play and max of 255 characters (e.g., playf21f7c0b45108a04f051692e83af2943).
— data.srtPlaybackResponse.srtPlaybackSecretstringUnique identifier key for the stream, max of 255 characters.
createdAtstringTimestamp for when the webhook was created (e.g., 2023-12-06T09:12:28.808Z).
attemptsarrayList of attempts created.

video.live_stream.recording

Triggered when the platform starts recording the live stream. This allows the live session to be preserved for playback later as on-demand content. Use this event to update your system UI to show that recording is in progress.


NameTypeDescription
typestringType for the webhook event (e.g., video.live_stream.recording).
objectobject
- object.typestringType of the object (e.g., live).
- object.idstringUnique identifier for the livestream (e.g., 9oa85f64-5717-4562-b3fc-2c963f66afa6).
idstringUnique identifier for the webhook event.
workspaceobject
- workspace.namestringName for the environment (e.g., Development).
- workspace.idstringUnique identifier for the environment (e.g., 9oa85f64-5717-4562-b3fc-2c963f66afa6).
dataobject
- data.streamIdstringUnique identifier for the stream. Max 255 characters (e.g., a0ba2bf6-fe6b-441c-a9be-bf910d223218).
- data.streamKeystringUnique key used for streaming to a Fastpix RTMP endpoint; treat it as sensitive as credentials.
- data.srtSecretstringUnique key used for streaming to a FastPix endpoint; treat it as sensitive as credentials.
- data.trialbooleanIndicates if the stream is a trial stream (e.g., true/false).
- data.statusstringCurrent live stream status: idle (no broadcast), disabled (no RTMP streams), active (broadcast in progress), preparing (checking broadcast).
- data.maxResolutionstringMaximum resolution for the live broadcast (e.g., 1080p).
- data.maxDurationintegerDuration (in seconds) that a live stream can last before disconnecting (e.g., 28800).
- data.createdAtstringTimestamp for when the stream was created (e.g., 2023-12-06T09:12:28.808Z).
- data.reconnectWindowintegerTime (in seconds) Fastpix will wait before declaring the stream over after disconnection. Default is 60 seconds for Standard Latency.
- data.enableRecordingbooleanIndicates if recording is enabled (e.g., true/false).
- data.enableDvrModebooleanIndicates if DVR mode is enabled for the stream (e.g., true/false).
- data.mediaPolicystringAccess policy for the media (e.g., public, private).
- data.metadataobjectUser-supplied metadata included in the stream details (e.g., {key1:value1}).
- data.lowLatencybooleanIndicates if low latency is enabled for the stream (e.g., true/false).
- data.closedCaptionsbooleanIndicates if closed captions are enabled for the stream (e.g., true/false).
- data.playbackIdsarray
— data.playbackIds[].idstringUnique identifier for the PlaybackID (e.g., 937d2668-6898-4b64-b044-aae4f7dedd5d).
— data.playbackIds[].accessPolicystringAccess policy for playback IDs; can be public or private.
- data.srtPlaybackResponseobject
— data.srtPlaybackResponse.srtPlaybackStreamIdstringUnique identifier id for the stream with initial play and max of 255 characters (e.g., playf21f7c0b45108a04f051692e83af2943).
— data.srtPlaybackResponse.srtPlaybackSecretstringUnique identifier key for the stream, max of 255 characters.
createdAtstringTimestamp for when the webhook was created (e.g., 2023-12-06T09:12:28.808Z).
attemptsarrayList of attempts created.

video.live_stream.disconnected

Fired when the connection between the encoder and the platform is interrupted — for example, if the broadcaster stops their stream or there’s a network issue. This event signals a dropped stream and can be used to prompt reconnection flows.


NameTypeDescription
typestringType for the webhook event (e.g., video.live_stream.disconnected).
objectobject
- object.typestringType of the object (e.g., live).
- object.idstringUnique identifier for the livestream (e.g., 9oa85f64-5717-4562-b3fc-2c963f66afa6).
idstringUnique identifier for the webhook event.
workspaceobject
- workspace.namestringName for the environment (e.g., Development).
- workspace.idstringUnique identifier for the environment (e.g., 9oa85f64-5717-4562-b3fc-2c963f66afa6).
dataobject
- data.streamIdstringUnique identifier for the stream. Max 255 characters (e.g., a0ba2bf6-fe6b-441c-a9be-bf910d223218).
- data.streamKeystringUnique key used for streaming to a Fastpix RTMP endpoint; treat it as sensitive as credentials.
- data.srtSecretstringUnique key used for streaming to a FastPix endpoint; treat it as sensitive as credentials.
- data.trialbooleanIndicates if the stream is a trial stream (e.g., true/false).
- data.statusstringCurrent live stream status: idle (no broadcast), disabled (no RTMP streams), active (broadcast in progress), preparing (checking broadcast).
- data.maxResolutionstringMaximum resolution for the live broadcast (e.g., 1080p).
- data.maxDurationintegerDuration (in seconds) that a live stream can last before disconnecting (e.g., 28800).
- data.createdAtstringTimestamp for when the stream was created (e.g., 2023-12-06T09:12:28.808Z).
- data.reconnectWindowintegerTime (in seconds) Fastpix will wait before declaring the stream over after disconnection. Default is 60 seconds for Standard Latency.
- data.enableRecordingbooleanIndicates if recording is enabled (e.g., true/false).
- data.enableDvrModebooleanIndicates if DVR mode is enabled for the stream (e.g., true/false).
- data.mediaPolicystringAccess policy for the media (e.g., public, private).
- data.metadataobjectUser-supplied metadata included in the stream details (e.g., {key1:value1}).
- data.lowLatencybooleanIndicates if low latency is enabled for the stream (e.g., true/false).
- data.closedCaptionsbooleanIndicates if closed captions are enabled for the stream (e.g., true/false).
- data.playbackIdsarray
— data.playbackIds[].idstringUnique identifier for the PlaybackID (e.g., 937d2668-6898-4b64-b044-aae4f7dedd5d).
— data.playbackIds[].accessPolicystringAccess policy for playback IDs; can be public or private.
- data.srtPlaybackResponseobject
— data.srtPlaybackResponse.srtPlaybackStreamIdstringUnique identifier id for the stream with initial play and max of 255 characters (e.g., playf21f7c0b45108a04f051692e83af2943).
— data.srtPlaybackResponse.srtPlaybackSecretstringUnique identifier key for the stream, max of 255 characters.
createdAtstringTimestamp for when the webhook was created (e.g., 2023-12-06T09:12:28.808Z).
attemptsarrayList of attempts created.

video.live_stream.idle

This event occurs when the stream is no longer active, and there’s no encoder connected. It represents an idle or dormant state where the live stream is technically available but not in use. Use this to reset your UI or monitoring tools.


NameTypeDescription
typestringType for the webhook event (e.g., video.live_stream.idle).
objectobject
- object.typestringType of the object (e.g., live).
- object.idstringUnique identifier for the livestream (e.g., 9oa85f64-5717-4562-b3fc-2c963f66afa6).
idstringUnique identifier for the webhook event.
workspaceobject
- workspace.namestringName for the environment (e.g., Development).
- workspace.idstringUnique identifier for the environment (e.g., 9oa85f64-5717-4562-b3fc-2c963f66afa6).
dataobject
- data.streamIdstringUnique identifier for the stream. Max 255 characters (e.g., a0ba2bf6-fe6b-441c-a9be-bf910d223218).
- data.streamKeystringUnique key used for streaming to a Fastpix RTMP endpoint; treat it as sensitive as credentials.
- data.srtSecretstringUnique key used for streaming to a FastPix endpoint; treat it as sensitive as credentials.
- data.trialbooleanIndicates if the stream is a trial stream (e.g., true/false).
- data.statusstringCurrent live stream status: idle (no broadcast), disabled (no RTMP streams), active (broadcast in progress), preparing (checking broadcast).
- data.maxResolutionstringMaximum resolution for the live broadcast (e.g., 1080p).
- data.maxDurationintegerDuration (in seconds) that a live stream can last before disconnecting (e.g., 28800).
- data.createdAtstringTimestamp for when the stream was created (e.g., 2023-12-06T09:12:28.808Z).
- data.reconnectWindowintegerTime (in seconds) Fastpix will wait before declaring the stream over after disconnection. Default is 60 seconds for Standard Latency.
- data.enableRecordingbooleanIndicates if recording is enabled (e.g., true/false).
- data.enableDvrModebooleanIndicates if DVR mode is enabled for the stream (e.g., true/false).
- data.mediaPolicystringAccess policy for the media (e.g., public, private).
- data.metadataobjectUser-supplied metadata included in the stream details (e.g., {key1:value1}).
- data.lowLatencybooleanIndicates if low latency is enabled for the stream (e.g., true/false).
- data.closedCaptionsbooleanIndicates if closed captions are enabled for the stream (e.g., true/false).
- data.playbackIdsarray
— data.playbackIds[].idstringUnique identifier for the PlaybackID (e.g., 937d2668-6898-4b64-b044-aae4f7dedd5d).
— data.playbackIds[].accessPolicystringAccess policy for playback IDs; can be public or private.
- data.srtPlaybackResponseobject
— data.srtPlaybackResponse.srtPlaybackStreamIdstringUnique identifier id for the stream with initial play and max of 255 characters (e.g., playf21f7c0b45108a04f051692e83af2943).
— data.srtPlaybackResponse.srtPlaybackSecretstringUnique identifier key for the stream, max of 255 characters.
createdAtstringTimestamp for when the webhook was created (e.g., 2023-12-06T09:12:28.808Z).
attemptsarrayList of attempts created.

video.live_stream.disabled

Triggered when a live stream is disabled and can no longer accept RTMP streams. This typically happens when a trial stream ends or the stream is deactivated. Use this event to update your UI or halt any dependent workflows for the stream.


NameTypeDescription
typestringType for the webhook event (e.g., video.live_stream.disabled).
objectobject
- object.typestringType of the object (e.g., live).
- object.idstringUnique identifier for the livestream (e.g., 9oa85f64-5717-4562-b3fc-2c963f66afa6).
idstringUnique identifier for the webhook event.
workspaceobject
- workspace.namestringName for the environment (e.g., Development).
- workspace.idstringUnique identifier for the environment (e.g., 9oa85f64-5717-4562-b3fc-2c963f66afa6).
dataobject
- data.streamIdstringUnique identifier for the stream. Max 255 characters (e.g., a0ba2bf6-fe6b-441c-a9be-bf910d223218).
- data.streamKeystringUnique key used for streaming to a Fastpix RTMP endpoint; treat it as sensitive as credentials.
- data.srtSecretstringUnique key used for streaming to a FastPix endpoint; treat it as sensitive as credentials.
- data.trialbooleanIndicates if the stream is a trial stream (e.g., true/false).
- data.statusstringCurrent live stream status: idle (no broadcast), disabled (no RTMP streams), active (broadcast in progress), preparing (checking broadcast).
- data.maxResolutionstringMaximum resolution for the live broadcast (e.g., 1080p).
- data.createdAtstringTimestamp for when the stream was created (e.g., 2023-12-06T09:12:28.808Z).
- data.reconnectWindowintegerTime (in seconds) Fastpix will wait before declaring the stream over after disconnection. Default is 60 seconds for Standard Latency.
- data.enableRecordingbooleanIndicates if recording is enabled (e.g., true/false).
- data.enableDvrModebooleanIndicates if DVR mode is enabled for the stream (e.g., true/false).
- data.mediaPolicystringAccess policy for the media (e.g., public, private).
- data.metadataobjectUser-supplied metadata included in the stream details (e.g., {key1:value1}).
- data.lowLatencybooleanIndicates if low latency is enabled for the stream (e.g., true/false).
- data.closedCaptionsbooleanIndicates if closed captions are enabled for the stream (e.g., true/false).
- data.playbackIdsarray
— data.playbackIds[].idstringUnique identifier for the PlaybackID (e.g., 937d2668-6898-4b64-b044-aae4f7dedd5d).
— data.playbackIds[].accessPolicystringAccess policy for playback IDs; can be public or private.
- data.srtPlaybackResponseobject
— data.srtPlaybackResponse.srtPlaybackStreamIdstringUnique identifier id for the stream with initial play and max of 255 characters (e.g., playf21f7c0b45108a04f051692e83af2943).
— data.srtPlaybackResponse.srtPlaybackSecretstringUnique identifier key for the stream, max of 255 characters.
createdAtstringTimestamp for when the webhook was created (e.g., 2023-12-06T09:12:28.808Z).
attemptsarrayList of attempts created.

video.live_stream.updated

Triggered when there are changes to the live stream configuration, such as updates to metadata or when the streamKey is regenerated. Your system should use this event to sync live stream data with the latest version from the platform.


NameTypeDescription
typestringType for the webhook event (e.g., video.live_stream.updated).
objectobject
- object.typestringType of the object (e.g., live).
- object.idstringUnique identifier for the livestream (e.g., 9oa85f64-5717-4562-b3fc-2c963f66afa6).
idstringUnique identifier for the webhook event.
workspaceobject
- workspace.namestringName for the environment (e.g., Development).
- workspace.idstringUnique identifier for the environment (e.g., 9oa85f64-5717-4562-b3fc-2c963f66afa6).
dataobject
- data.streamIdstringUnique identifier for the stream. Max 255 characters (e.g., a0ba2bf6-fe6b-441c-a9be-bf910d223218).
- data.streamKeystringUnique key used for streaming to a Fastpix RTMP endpoint; treat it as sensitive as credentials.
- data.srtSecretstringUnique key used for streaming to a FastPix endpoint; treat it as sensitive as credentials.
- data.trialbooleanIndicates if the stream is a trial stream (e.g., true/false).
- data.statusstringCurrent live stream status: idle (no broadcast), disabled (no RTMP streams), active (broadcast in progress), preparing (checking broadcast).
- data.maxResolutionstringMaximum resolution for the live broadcast (e.g., 1080p).
- data.maxDurationintegerDuration (in seconds) that a live stream can last before disconnecting (e.g., 28800).
- data.createdAtstringTimestamp for when the stream was created (e.g., 2023-12-06T09:12:28.808Z).
- data.reconnectWindowintegerTime (in seconds) Fastpix will wait before declaring the stream over after disconnection. Default is 60 seconds for Standard Latency.
- data.enableRecordingbooleanIndicates if recording is enabled (e.g., true/false).
- data.enableDvrModebooleanIndicates if DVR mode is enabled for the stream (e.g., true/false).
- data.mediaPolicystringAccess policy for the media (e.g., public, private).
- data.metadataobjectUser-supplied metadata included in the stream details (e.g., {key1:value1}).
- data.lowLatencybooleanIndicates if low latency is enabled for the stream (e.g., true/false).
- data.closedCaptionsbooleanIndicates if closed captions are enabled for the stream (e.g., true/false).
- data.playbackIdsarray
— data.playbackIds[].idstringUnique identifier for the PlaybackID (e.g., 937d2668-6898-4b64-b044-aae4f7dedd5d).
— data.playbackIds[].accessPolicystringAccess policy for playback IDs; can be public or private.
- data.srtPlaybackResponseobject
— data.srtPlaybackResponse.srtPlaybackStreamIdstringUnique identifier id for the stream with initial play and max of 255 characters (e.g., playf21f7c0b45108a04f051692e83af2943).
— data.srtPlaybackResponse.srtPlaybackSecretstringUnique identifier key for the stream, max of 255 characters.
- data.mediaIdsarrayList of media (VOD) asset IDs generated from the live stream (e.g., 0ebee635-ae85-4183-80c5-19b7cbb3a5bd).
createdAtstringTimestamp for when the webhook was created (e.g., 2023-12-06T09:12:28.808Z).
attemptsarrayList of attempts created.

video.live_stream.deleted

Fired when a live stream has been permanently deleted. You should remove any references to this stream in your application, as it will no longer be available for connection or playback.


NameTypeDescription
typestringType for the webhook event (e.g., video.live_stream.deleted).
objectobject
- object.typestringType of the object (e.g., live).
- object.idstringUnique identifier for the livestream (e.g., 9oa85f64-5717-4562-b3fc-2c963f66afa6).
idstringUnique identifier for the webhook event.
workspaceobject
- workspace.namestringName for the environment (e.g., Development).
- workspace.idstringUnique identifier for the environment (e.g., 9oa85f64-5717-4562-b3fc-2c963f66afa6).
dataobject
- data.streamIdstringUnique identifier for the stream. Max 255 characters (e.g., a0ba2bf6-fe6b-441c-a9be-bf910d223218).
- data.streamKeystringUnique key used for streaming to a Fastpix RTMP endpoint; treat it as sensitive as credentials.
- data.srtSecretstringUnique key used for streaming to a FastPix endpoint; treat it as sensitive as credentials.
- data.trialbooleanIndicates if the stream is a trial stream (e.g., true/false).
- data.statusstringCurrent live stream status: idle (no broadcast), disabled (no RTMP streams), active (broadcast in progress), preparing (checking broadcast).
- data.maxResolutionstringMaximum resolution for the live broadcast (e.g., 1080p).
- data.maxDurationintegerDuration (in seconds) that a live stream can last before disconnecting (e.g., 28800).
- data.createdAtstringTimestamp for when the stream was created (e.g., 2023-12-06T09:12:28.808Z).
- data.reconnectWindowintegerTime (in seconds) Fastpix will wait before declaring the stream over after disconnection. Default is 60 seconds for Standard Latency.
- data.enableRecordingbooleanIndicates if recording is enabled (e.g., true/false).
- data.enableDvrModebooleanIndicates if DVR mode is enabled for the stream (e.g., true/false).
- data.mediaPolicystringAccess policy for the media (e.g., public, private).
- data.metadataobjectUser-supplied metadata included in the stream details (e.g., {key1:value1}).
- data.lowLatencybooleanIndicates if low latency is enabled for the stream (e.g., true/false).
- data.closedCaptionsbooleanIndicates if closed captions are enabled for the stream (e.g., true/false).
- data.playbackIdsarray
— data.playbackIds[].idstringUnique identifier for the PlaybackID (e.g., 937d2668-6898-4b64-b044-aae4f7dedd5d).
— data.playbackIds[].accessPolicystringAccess policy for playback IDs; can be public or private.
- data.srtPlaybackResponseobject
— data.srtPlaybackResponse.srtPlaybackStreamIdstringUnique identifier id for the stream with initial play and max of 255 characters (e.g., playf21f7c0b45108a04f051692e83af2943).
— data.srtPlaybackResponse.srtPlaybackSecretstringUnique identifier key for the stream, max of 255 characters.
- data.mediaIdsarrayList of media (VOD) asset IDs generated from the live stream (e.g., 0ebee635-ae85-4183-80c5-19b7cbb3a5bd).
createdAtstringTimestamp for when the webhook was created (e.g., 2023-12-06T09:12:28.808Z).
attemptsarrayList of attempts created.

video.live_stream.playback_id.created

Triggered when a new playback ID is created for a live stream. The event includes the playback ID and its access policy.


NameTypeDescription
typestringType for the webhook event (e.g., video.live_stream.playback_id.created).
objectobject
- object.typestringType of the object (e.g., live).
- object.idstringUnique identifier for the livestream (e.g., 543c515cc2d226548f195c758343254d).
idstringUnique identifier for the webhook event.
workspaceobject
- workspace.namestringName for the environment (e.g., Development).
- workspace.idstringUnique identifier for the environment (e.g., 9oa85f64-5717-4562-b3fc-2c963f66afa6).
dataobject
- data.idstringUnique identifier for the playback ID (e.g., 3608323e-60a9-407c-9293-582f221ed054).
- data.accessPolicystringAccess policy for the playback ID; can be public or private.
createdAtstringTimestamp for when the webhook was created (e.g., 2023-12-06T09:12:28.808Z).
attemptsarrayList of attempts created.

video.live_stream.playback_id.deleted

Triggered when a playback ID is deleted from a live stream. The event includes the playback ID and its access policy.


NameTypeDescription
typestringType for the webhook event (e.g., video.live_stream.playback_id.deleted).
objectobject
- object.typestringType of the object (e.g., live).
- object.idstringUnique identifier for the livestream (e.g., 543c515cc2d226548f195c758343254d).
idstringUnique identifier for the webhook event.
workspaceobject
- workspace.namestringName for the environment (e.g., Development).
- workspace.idstringUnique identifier for the environment (e.g., 9oa85f64-5717-4562-b3fc-2c963f66afa6).
dataobject
- data.idstringUnique identifier for the playback ID (e.g., 3608323e-60a9-407c-9293-582f221ed054).
- data.accessPolicystringAccess policy for the playback ID; can be public or private.
createdAtstringTimestamp for when the webhook was created (e.g., 2023-12-06T09:12:28.808Z).
attemptsarrayList of attempts created.

video.live_stream.simulcast_target.created

Indicates that a new simulcast target has been added to the live stream. This is useful for updating the UI or logs to reflect that the stream will be relayed to another platform.


NameTypeDescription
typestringType for the webhook event (e.g., video.live_stream.simulcast_target.created).
objectobject
- object.typestringType of the object (e.g., simulcast_target).
- object.idstringUnique identifier for the simulcast target (e.g., da39590b0a3e9564e79a1beb0b4144f4).
idstringUnique identifier for the webhook event.
workspaceobject
- workspace.namestringName for the environment (e.g., Development).
- workspace.idstringUnique identifier for the environment (e.g., 9oa85f64-5717-4562-b3fc-2c963f66afa6).
statusstringCurrent status of the simulcast target (e.g., idle).
dataobject
- data.livestreamIdstringUnique identifier for the live stream (max 255 characters, e.g., 211d27fb21191765d52b8e63701dfe0f).
- data.simulcastIdstringUnique identifier for the simulcast (max 255 characters, e.g., da39590b0a3e9564e79a1beb0b4144f4).
- data.urlstringRTMP(S) URL for linking to a third-party live streaming service (e.g., rtmps://static.fastpix.io/fp-sample-video.mp4).
- data.streamKeystringUnique identifier used to transmit the main live stream to a third-party service (e.g., 87wj-ye9u-6dp9-7rmk-6x9a).
- data.isEnabledbooleanIndicates if the simulcast target is enabled (e.g., true/false).
- data.metadataobjectUser-supplied metadata included in the stream details (e.g., {name:fastpix}).
createdAtstringTimestamp for when the webhook was created (e.g., 2023-12-06T09:12:28.808Z).
attemptsarrayList of attempts created.

video.live_stream.simulcast_target.updated


NameTypeDescription
typestringType for the webhook event (e.g., video.live_stream.simulcast_target.updated).
objectobject
- object.typestringType of the object (e.g., simulcast_target).
- object.idstringUnique identifier for the simulcast target (e.g., da39590b0a3e9564e79a1beb0b4144f4).
idstringUnique identifier for the webhook event.
workspaceobject
- workspace.namestringName for the environment (e.g., Development).
- workspace.idstringUnique identifier for the environment (e.g., 9oa85f64-5717-4562-b3fc-2c963f66afa6).
statusstringCurrent status of the simulcast target (e.g., updated).
dataobject
- data.livestreamIdstringUnique identifier for the live stream (max 255 characters, e.g., 211d27fb21191765d52b8e63701dfe0f).
- data.simulcastIdstringUnique identifier for the simulcast (max 255 characters, e.g., da39590b0a3e9564e79a1beb0b4144f4).
- data.urlstringRTMP(S) URL for linking to a third-party live streaming service (e.g., rtmps://static.fastpix.io/fp-sample-video.mp4).
- data.streamKeystringUnique identifier used to transmit the main live stream to a third-party service (e.g., 87wj-ye9u-6dp9-7rmk-6x9a).
- data.isEnabledbooleanIndicates if the simulcast target is enabled (e.g., true/false).
- data.metadataobjectUser-supplied metadata included in the stream details (e.g., {name:fastpix}).
createdAtstringTimestamp for when the webhook was created (e.g., 2023-12-06T09:12:28.808Z).
attemptsarrayList of attempts created.

video.live_stream.simulcast_target.deleted

Triggered when a simulcast target is removed from the live stream. You should update your app UI or backend systems to reflect that the stream is no longer being broadcast to that destination.


NameTypeDescription
typestringType for the webhook event (e.g., video.live_stream.simulcast_target.deleted).
objectobject
- object.typestringType of the object (e.g., simulcast_target).
- object.idstringUnique identifier for the simulcast target (e.g., da39590b0a3e9564e79a1beb0b4144f4).
idstringUnique identifier for the webhook event.
workspaceobject
- workspace.namestringName for the environment (e.g., Development).
- workspace.idstringUnique identifier for the environment (e.g., 9oa85f64-5717-4562-b3fc-2c963f66afa6).
statusstringCurrent status of the simulcast target (e.g., deleted).
dataobject
- data.livestreamIdstringUnique identifier for the live stream (max 255 characters, e.g., 211d27fb21191765d52b8e63701dfe0f).
- data.simulcastIdstringUnique identifier for the simulcast (max 255 characters, e.g., da39590b0a3e9564e79a1beb0b4144f4).
- data.urlstringRTMP(S) URL for linking to a third-party live streaming service (e.g., rtmps://static.fastpix.io/fp-sample-video.mp4).
- data.streamKeystringUnique identifier used to transmit the main live stream to a third-party service (e.g., 87wj-ye9u-6dp9-7rmk-6x9a).
- data.isEnabledbooleanIndicates if the simulcast target is enabled (e.g., true/false).
- data.metadataobjectUser-supplied metadata included in the stream details (e.g., {name:fastpix}).
createdAtstringTimestamp for when the webhook was created (e.g., 2023-12-06T09:12:28.808Z).
attemptsarrayList of attempts created.

video.live_stream.srt_detected


NameTypeDescription
typestringType for the webhook event
webhookIdstringUnique identifier for the webhook
objectobject
- object.namestringType of webhook (e.g., live)
- object.idstringUnique identifier for the livestream (e.g., 9oa85f64-5717-4562-b3fc-2c963f66afa6)
Workspaceobject
- Workspace.namestringName for the environment (e.g., production)
- Workspace.idstringUnique identifier for the environment (e.g., 9oa85f64-5717-4562-b3fc-2c963f66afa6)
dataobject
- data.testbooleanIndicates if the stream is a test stream. Test streams last five minutes and are removed after a day.
- data.streamIdstringUnique identifier for the stream. Max 255 characters (e.g., a0ba2bf6-fe6b-441c-a9be-bf910d223218).
- data.statusstringCurrent live stream status: idle (no broadcast), disabled (no RTMP streams), active (broadcast in progress), preparing (checking broadcast).
- data.audioOnlybooleanIf set to false, the stream processes only the audio track.
- data.streamKeystringUnique key used for streaming to a Fastpix RTMP endpoint; treat it as sensitive as credentials.
- data.srtSecertstringUnique key used for streaming to a FastPix endpoint; treat it as sensitive as credentials.
- dataTrailbooleanChecking the trails for streaming enabled or not (e.g., true, false)
- data.maxResolutionstringMaximum resolution for the live broadcast (e.g., 1080p).
- data.enableRecordingbooleanChecking the recording is enabled or not (e.g., true, false).
- data.mediapolicyStringAccess policy for the data (e.g., public, private ..).
- data.metadataobjectUser-supplied metadata included in the stream details (e.g., {key1:value1}).
- data.createdAtstringTimestamp for when the stream was created (e.g., 2023-12-06T09:12:28.808Z).
- data.reconnectWindowintegerTime (in seconds) Fastpix will wait before declaring the stream over after disconnection. Default is 60 seconds for Standard Latency.
- data.maxDurationintegerDuration (in seconds) that a live stream can last before disconnecting (e.g., 500).
- data.lowLatencybooleanData with lowLatency is enabled for stream (e.g., true, false).
- data.playback_idsobject
— data.playback_ids.idstringUnique identifier for the PlaybackID (e.g., public).
— data.playback_ids[].accessPolicystringAccess policy for playback IDs; can be public or private.
- data.srtPlaybackResponseobject
- data.srtPlaybackResponse.srtPlaybackStreamIdStringUnique identifier id for the stream with initial play and max of 255 characters (e.g., playf21f7c0b45108a04f051692e83af2943)
- data.srtPlaybackResponse.srtPlaybackSecertStringUnique identifier key for the stream, max of 255 characters.
created_atstringTimestamp for when the webhook was created (e.g., 2023-12-06T09:12:28.808Z).
attemptsarrayList of attempts created.

video.live_stream.rtmp_detected


NameTypeDescription
typestringType for the webhook event (e.g., video.live_stream.rtmp_detected).
objectobject
- object.typestringType of the object (e.g., live).
- object.idstringUnique identifier for the livestream (e.g., 9oa85f64-5717-4562-b3fc-2c963f66afa6).
idstringUnique identifier for the webhook event.
workspaceobject
- workspace.namestringName for the environment (e.g., Development).
- workspace.idstringUnique identifier for the environment (e.g., 9oa85f64-5717-4562-b3fc-2c963f66afa6).
dataobject
- data.streamIdstringUnique identifier for the stream. Max 255 characters (e.g., a0ba2bf6-fe6b-441c-a9be-bf910d223218).
- data.streamKeystringUnique key used for streaming to a Fastpix RTMP endpoint; treat it as sensitive as credentials.
- data.srtSecretstringUnique key used for streaming to a FastPix endpoint; treat it as sensitive as credentials.
- data.trialbooleanIndicates if the stream is a trial stream (e.g., true/false).
- data.statusstringCurrent live stream status: idle (no broadcast), disabled (no RTMP streams), active (broadcast in progress), preparing (checking broadcast).
- data.maxResolutionstringMaximum resolution for the live broadcast (e.g., 1080p).
- data.maxDurationintegerDuration (in seconds) that a live stream can last before disconnecting (e.g., 28800).
- data.createdAtstringTimestamp for when the stream was created (e.g., 2023-12-06T09:12:28.808Z).
- data.reconnectWindowintegerTime (in seconds) Fastpix will wait before declaring the stream over after disconnection. Default is 60 seconds for Standard Latency.
- data.enableRecordingbooleanIndicates if recording is enabled (e.g., true/false).
- data.enableDvrModebooleanIndicates if DVR mode is enabled for the stream (e.g., true/false).
- data.mediaPolicystringAccess policy for the media (e.g., public, private).
- data.metadataobjectUser-supplied metadata included in the stream details (e.g., {key1:value1}).
- data.lowLatencybooleanIndicates if low latency is enabled for the stream (e.g., true/false).
- data.closedCaptionsbooleanIndicates if closed captions are enabled for the stream (e.g., true/false).
- data.playbackIdsarray
— data.playbackIds[].idstringUnique identifier for the PlaybackID (e.g., 937d2668-6898-4b64-b044-aae4f7dedd5d).
— data.playbackIds[].accessPolicystringAccess policy for playback IDs; can be public or private.
- data.srtPlaybackResponseobject
— data.srtPlaybackResponse.srtPlaybackStreamIdstringUnique identifier id for the stream with initial play and max of 255 characters (e.g., playf21f7c0b45108a04f051692e83af2943).
— data.srtPlaybackResponse.srtPlaybackSecretstringUnique identifier key for the stream, max of 255 characters.
createdAtstringTimestamp for when the webhook was created (e.g., 2023-12-06T09:12:28.808Z).
attemptsarrayList of attempts created.