HI All, is there a way to set livekit webhooks to ...
# server-api
b
HI All, is there a way to set livekit webhooks to only post to my endpoint for specific events. For example, I'd like to a webhook for just the event:
egress_ended
without having all the other posts like;
participant_left
,
track_unpublished
,
track_published
,
room_created
, etc...making requests my Django app. The django app is a
sync
client dashboard to get recordings.
r
No, there is no way to limit to just specific events. You can drop the onese you are not interested in and just return 200OK immediatly. Generally you want to queue webhooks events you receive them and return 200OK immediatly. Use another thread to process them.
b
Got it. Thanks!