I’ve setup webhooks on meeting start and meeting end.
Meeting start is received exactly when I enter the created meeting as a host.
Meeting end is received after 2-3 minutes.
I’m mentioning that the webhook is used with the web SDK.
I’m ending a meeting by simply joining first(so it starts) and then I refresh the page/close tab → meeting ends.
Here are some logs:
Meeting start (instant)
stdClass Object
(
[event] => meeting.started
[payload] => stdClass Object
(
[account_id] => xxx
[object] => stdClass Object
(
[duration] => 60
[start_time] => 2021-02-01T17:40:40Z
[timezone] => Europe/London
[topic] => Meeting #1
[id] => xxxx
[type] => 1
[uuid] => xxx
[host_id] => xxx
)
)
[event_ts] => 1612201240869
)
While meeting end:
stdClass Object
(
[event] => meeting.ended
[payload] => stdClass Object
(
[account_id] => xxx
[object] => stdClass Object
(
[duration] => 60
[start_time] => 2021-02-01T17:40:40Z
[timezone] => Europe/London
[end_time] => 2021-02-01T17:40:47Z
[topic] => Meeting #1
[id] => xxx
[type] => 1
[uuid] => xxx
[host_id] => xxx
)
)
[event_ts] => 1612201247628
)
You can clearly see in the second webhook request that the meeting had ended at (2021-02-01T17:40:47Z) but the request itself had been sent and received at 17:42:38 (2 mins and 30 seconds later)