Gotipath Docs
Stream
Stream
  • Documention
  • API Reference
CDN
CDN
  • Documention
  • API Reference
Stream
Stream
  • Documention
  • API Reference
CDN
CDN
  • Documention
  • API Reference
  1. Webhook
  • Overview
  • Video
  • Live Streaming
  • Video Security
    • CDN Token Authentication
  • Webhook
    • Video Webhooks
    • Live Stream Webhooks
Stream
Stream
  • Documention
  • API Reference
CDN
CDN
  • Documention
  • API Reference
Stream
Stream
  • Documention
  • API Reference
CDN
CDN
  • Documention
  • API Reference
  1. Webhook

Live Stream Webhooks

Gotipath Stream Live supports webhooks that notify your service when an Input connects or disconnects to Stream Live.

When the live stream start#

{
   "event": "livestream_published",
   "event_type": "livestream",
   "notification_time": "13323104240",
   "payload": {
      "client_id": "b1bef3d5-a2dd-4fec-9bf3-061038ce2c41",
      "libraryId": "34f4dcc3-a5f0-48dd-8c62-b467929d2ec6",
      "live_distribution_url": "kkcfcbdc.gpcdn.net",
      "live_stream_id": "5b9a6852-4b55-42bd-8b62-fe5ea82aa868",
      "status": "streaming",
      "stream_name": "newlibe",
      "stream_type": "event"
   }
}

When the live stream stopped#

{
   "event": "livestream_unpublished",
   "event_type": "livestream",
   "notification_time": "",
   "payload": {
      "client_id": "b1bef3d5-a2dd-4fec-9bf3-061038ce2c41",
      "libraryId": "34f4dcc3-a5f0-48dd-8c62-b467929d2ec6",
      "live_distribution_url": "kkcfcbdc.gpcdn.net",
      "live_stream_id": "caeef8c9-463d-4cc5-9484-317f0af924d6",
      "status": "ended",
      "stream_name": "mystream",
      "stream_type": "event"
   }
}

When livestream recording failed to create a video#

{
   "event": "livestream_recording_failed",
   "event_type": "livestream",
   "notification_time": "",
   "payload": {
      "client_id": "b1bef3d5-a2dd-4fec-9bf3-061038ce2c41",
      "libraryId": "34f4dcc3-a5f0-48dd-8c62-b467929d2ec6",
      "live_distribution_url": "kkcfcbdc.gpcdn.net",
      "live_stream_id": "caeef8c9-463d-4cc5-9484-317f0af924d6",
      "status": "failed",
      "stream_name": "recodinglive",
      "stream_type": "event",
      "video_id": "e5c953e9-f4a5-4d4d-9f25-dfd4da654f1d"
   }
}

When livestream recording failed to create a video#

{
   "event": "livestream_recording_failed",
   "event_type": "livestream",
   "notification_time": "",
   "payload": {
      "client_id": "b1bef3d5-a2dd-4fec-9bf3-061038ce2c41",
      "libraryId": "34f4dcc3-a5f0-48dd-8c62-b467929d2ec6",
      "live_distribution_url": "kkcfcbdc.gpcdn.net",
      "live_stream_id": "caeef8c9-463d-4cc5-9484-317f0af924d6",
      "status": "failed",
      "stream_name": "recodinglive",
      "stream_type": "event",
      "video_id": "e5c953e9-f4a5-4d4d-9f25-dfd4da654f1d"
   }
}

Modified at 2023-07-22 12:57:07
Previous
Video Webhooks
Built with