Live Video Webhooks
live.video.created
- Event for when a livestreaming video is created.
- Event payload:
{
"eventTime": "2024-07-17T11:40:06.0787423Z",
"eventType": "live.video.created",
"data": {
"PublicId": "{PublicId}",
"Id": "{Id}",
"Title": "{Title}",
"Description": "",
"PlaybackUrl": "{PlaybackUrl}",
"Thumbnail": "{Thumbnail}",
"ChannelPublicId": "{ChannelPublicId}",
"ChannelName": "{ChannelName}",
"ChannelTitle": "{ChannelTitle}",
"Author": "{Author}",
"HasCustomDate": false,
"CountdownEnabled": false,
"CountdownSeconds": 0,
"CanCutAndPublish": true,
"CanStopAndCut": true
},
"projectId": "{projectId}"
}
live.video.updated
- Event for when a livestreaming video is updated.
- Event payload:
{
"eventTime": "2024-07-17T11:43:14.0521444Z",
"eventType": "live.video.updated",
"data": {
"PublicId": "{PublicId}",
"Id": "{Id}",
"Title": "{Title}",
"PlaybackUrl": "",
"Thumbnail": "",
"ChannelPublicId": "{ChannelPublicId}",
"Author": "{Author}",
"HasCustomDate": false,
"StartDateUTC": "2024-07-17T11:41:34.1770878",
"CountdownEnabled": false,
"CountdownSeconds": 0,
"CanCutAndPublish": false,
"CanStopAndCut": false
},
"projectId": "{projectId}"
}
live.video.deleted
- Event for when a livestreaming video has been deleted.
- Event payload:
{
"eventTime": "2024-07-17T11:47:06.760549Z",
"eventType": "live.video.deleted",
"data": {
"Id": "{Id}",
"Title": "{Title}"
},
"projectId": "{projectId}"
}
live.video.status.changed
- Event for when a livestreaming video’s status changes.
- Live video’s statuses that can be sent are:
- Live
- Offline
- Interrupted
- Event payload:
{
"eventTime": "2024-07-17T11:37:44.5317666Z",
"eventType": "live.video.status.changed",
"data": {
"Id": "{Id}",
"StatusId": 1,
"Status": "Live",
"HealthStatusId": 1,
"HealthStatus": "Healthy",
"PlaybackUrl": "{PlaybackUrl}",
"ActiveChannelId": "{ActiveChannelId}"
},
"projectId": "{projectId}"
}
live.video.started
- Event for when a livestreaming video starts streaming.
- Event payload:
{
"eventTime": "2024-07-17T11:41:34.7307497Z",
"eventType": "live.video.started",
"data": {
"Id": "{Id}",
"LiveStartDateUTC": "2024-07-17T11:41:34.1770878Z"
},
"projectId": "{projectId}"
}
live.video.stopped
- Event for when a livestreaming video stops streaming.
- Event payload:
{
"eventTime": "2024-07-17T11:46:04.9906651Z",
"eventType": "live.video.stopped",
"data": {
"Id": "{Id}",
"LiveCutStartDate": "2024-07-17T11:41:34.1770878",
"LiveCutEndDate": "2024-07-17T11:46:00.7171556Z"
},
"projectId": "{projectId}"
}
live.video.thumbnail.changed
- Event for when a livestreaming video thumbnail changed.
- Event payload:
{
"eventTime": "2024-07-17T11:44:45.1171789Z",
"eventType": "live.video.thumbnail.changed",
"data": {
"Id": "{Id}",
"Path": "{Path}"
},
"projectId": "{projectId}"
}