This message was deleted.
# helpdesk
s
This message was deleted.
e
It's delayed. I was trying to start an egress on the
tack_published
webhook, but the participants tracks that
listParticipants()
returns doesn't include the recently published tracks. It's not an issue, but unexpected. I think this should be mentioned somewhere in the docs.
m
cc @acoustic-engineer-41666 @able-gigabyte-21598
d
Hey @echoing-toothbrush-47971 are you using Cloud or self-hosted?
e
Self hosted. I think it's caused by a network delay between livekit and redis, because delaying
listParticiapants()
by 2 seconds(just to be safe) on a
track_published
webhook solved the issue. So livekit doesn't wait until the data is persisted in redis and sends the webhook.
d
Got it, you are right.. the order of operation is incorrect here.
filed https://github.com/livekit/livekit/issues/1339 to track. we'll fix this one in the next release
🙌 1