From bfbe25fae82150c8fd9891d20f17ec9c469f22e5 Mon Sep 17 00:00:00 2001 From: Sushruti Nihale Date: Thu, 14 Mar 2024 15:59:47 +0530 Subject: [PATCH] fix: webhooks docs missing fields & tabs --- .../capabilities/webhooks/webhook-events.mdx | 20 +++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/docs/guides/capabilities/webhooks/webhook-events.mdx b/docs/guides/capabilities/webhooks/webhook-events.mdx index 967e80af1..48e7807ab 100644 --- a/docs/guides/capabilities/webhooks/webhook-events.mdx +++ b/docs/guides/capabilities/webhooks/webhook-events.mdx @@ -275,6 +275,8 @@ values={[ "event": "recording.statusUpdate", "recording": { "id": "6c81b7c4-4465-4e16-a36f-21b501d619bc", + "organizationId": "c94c437b-592a-4a39-b9e2-47ef1451e43b", + "roomUUID": "56b81d16-5d4e-45ed-85b4-056587b00aa0", "recordingId": "6c81b7c4-4465-4e16-a36f-21b501d619bc", "startedTime": "2022-12-13 07:08:39.051621Z", "stoppedTime": "2022-12-13 07:09:45.865627Z", @@ -316,7 +318,9 @@ values={[ "organizedBy": { "id": "c94c437b-592a-4a39-b9e2-47ef1451e43c", "name": "test" - } + }, + "stopReason": "{'reason':'ALL_PEERS_LEFT','caller':{'type':'INTERNAL'}}", + "recordingDuration": 0 }, "recording": { "id": "ab920f84-2d19-4013-99c7-5b80291d0188", @@ -343,7 +347,7 @@ values={[ ### `livestreaming.statusUpdate` This event is triggered when a livestream's status changes. Possible values for -`status` are `LIVE` and `OFFLINE`. +`status` are `LIVE`, `OFFLINE` and `IDLE`. @@ -371,6 +375,18 @@ This event is triggered when a livestream's status changes. Possible values for + + +```json +{ + "event": "livestreaming.statusUpdate", + "streamId": "d231d346-c422-43a6-a324-c0d65b79c8a7", + "status": "IDLE" +} +``` + + +