[Flutter] How can I get the call time in “jitsi meet” and store it in FireStore?

I’m building a calling app in Flutter using the jitsi meet package. jitsi_meet | Flutter Package

I want to get the call time.

I want to get the call duration at the end of the call and save it in FireStore.

To get the duration you need to load the conference_duration module in prosody…

Write a custom code in Lua in prosody to get the conference duration and then send it to firestore.

Or use jicofo-analyzer

Both solutions are server based… Sadly you cant acess this info through an event or command in the widget