- A live stream has started or finished.
- Recording of a live stream has started or paused.
- Updates on processing of a live stream recording: a recording has started processing, partially processed, or completely processed.
- Updates on broadcast statuses: pending, live, paused, or finished.
- A video is uploaded to the Gcore Customer Portal.
- Updates on video processing: a video has started processing, partially processed, or completely processed.
- Updates to a restream: it was created, is live, or was stopped.
- 12345 is the stream ID in the Gcore Customer Portal,
- true is the indicator that the Video Streaming is receiving your stream,
- false is the indicator that your stream is not being recorded.
What are the video streaming webhooks used for?
Webhooks are used by apps integrated with the Video Streaming. You can configure your app so that it will activate automatic workflows whenever it receives a webhook. For example, users share videos in your app. When a user adds a new video, it is uploaded and processed through our Video Streaming. Then you need to embed the video in your application. You set up the auto-posting: as soon as the video is processed, the Video Streaming will send a webhook, and your app will post the video.Configure the webhook integration
1. Prepare your HTTP server to receive webhooks. 2. Contact us via chat or email support@gcore.com and ask to enable the webhook integration. Specify your ID (personal client ID) and the URL of the server that will receive webhooks. You can find your ID in the Gcore Customer Portal.
Webhook examples of all video streaming events
Below are examples of all the webhooks that you can get from our service. Parameters are explained in round brackets. A live stream has started- 12345 is the stream ID in Gcore Customer Portal,
- true is the indicator that the Video Streaming is receiving your stream,
- false is the indicator that your stream is not being recorded.
- 12345 is the stream ID in the Gcore Customer Portal,
- false is the indicator the Video Streaming is not receiving your stream,
- false is the indicator that your stream is not being recorded.
- 12345 is the stream ID in the Gcore Customer Portal,
- true is the indicator that the Video Streaming is receiving your stream,
- true is the indicator that your stream is being recorded.
- 12345 is the stream ID in the Gcore Customer Portal,
- true is the indicator that the Video Streaming is receiving your stream,
- false is the indicator that your stream is not being recorded.
- 12345 is the recording ID in the Gcore Customer Portal,
- ZeC44gtQQ4E97N9S is the video ID presented as a random set of characters, which prevents a video URL from stealing if the webhook is intercepted,
- test is your stream name,
- 19580 is the recording duration in seconds,
- vod720n, vod480n, vod360n, vod240n are the different qualities of the record.
- processing is indicator that the recording is being processed.
- 12345 is the recording ID in the Gcore Customer Portal,
- ZeC44gtQQ4E97N9S is the video ID presented as a random set of characters, which prevents a video URL from stealing if the webhook is intercepted,
- test is your stream name,
- 19580 is the recording duration in seconds,
- vod720n, vod480n, vod360n, vod240n are the different qualities of the record.
- processing is indicator that the recording is being processed.
- complete is the indicator that the processing is completed.
- 12345 is the recording ID in the Gcore Customer Portal,
- ZeC44gtQQ4E97N9S is the video ID presented as a random set of characters, which prevents a video URL from stealing if the webhook is intercepted,
- test is your stream name,
- 19580 is the recording duration in seconds,
- vod720n, vod480n, vod360n, vod240n are the different qualities of the record.
- complete is the indicator that the processing is completed.
- 12345 is the broadcast ID in your personal account,
- pending is the status which means “Waiting to start”.
- 12345 is the broadcast ID in your personal account,
- live is the status which means “Live”.
- 12345 is the broadcast ID in your personal account,
- finished is the status which means “Finished”.
- 12345 is the broadcast ID in your personal account,
- paused is the status which means “Paused”.
- 54321 is the video ID in the Gcore Customer Portal,
- Lfsq14hKvLkNsExx is the video ID presented as a random set of characters, which prevents a video URL from stealing if the webhook is intercepted,
- SampleVideo is the video name,
- 170859 is the duration of the video in seconds,
- empty is the status which means that the video has not been processed yet
- 784280 is the video ID in the Gcore Customer Portal,
- Lfsq14hKvLkNsExx is the video ID presented as a random set of characters, which prevents a video URL from stealing if the webhook is intercepted,
- SampleVideo is the video name,
- 170859 is the duration of the video in seconds,
- processing, pending are the different statuses of the video processing.
- vod720n, vod480n, vod360n, vod240n are the different qualities of the video.
- 784280 is the video ID in the Gcore Customer Portal,
- Lfsq14hKvLkNsExx is the video ID presented as a random set of characters, which prevents a video URL from stealing if the webhook is intercepted,
- SampleVideo is the video name,
- 170859 is the duration of the video in seconds,
- processing, complete, viewable are the different statuses of the video processing.
- vod720n, vod480n, vod360n, vod240n are the different qualities of the video.
- 784280 is the video ID in the Gcore Customer Portal,
- Lfsq14hKvLkNsExx is the video ID presented as a random set of characters, which prevents a video URL from stealing if the webhook is intercepted,
- SampleVideo is the video name,
- 170859 is the duration of the video in seconds,
- complete, ready is the status which means that the video was processed.
- vod720n, vod480n, vod360n, vod240n are the different qualities of the video.
- 228237 is the restream ID in Gcore Customer Portal
- restream 1 is the name of your restream
- 1665243 is the stream ID in Gcore Customer Portal
- true is the indicator that the Video Streaming is receiving your restream
- false is the indicator that your stream is not being broadcasted
- 228237 is the restream ID in Gcore Customer Portal
- restream 1 is the name of your restream
- 1665243 is the stream ID in Gcore Customer Portal
- true is the indicator that the Video Streaming is receiving your restream
- 228237 is the restream ID in Gcore Customer Portal
- restream 1 is the name of your restream
- 1665243 is the stream ID in Gcore Customer Portal
- false is the indicator that your stream is not being broadcasted