We are running a custom external server application, that needs to monitor the status of individual video conferences and their participants in real-time (who is participating for how long etc). Therefore we came up with the approach to grab the events from the JS iFrame API and have the client send them to our custom REST API. This has the downside, that no events are sent when users join via mobile app because our custom event forwarding logic is not implemented there.
Thus we are looking for a clean, maintainable way (ideally no forking of Jitsi components) to grab those events server-side and have the responsible jitsi server component directly send it to our custom REST API. However we are not quite sure which component we can actually grab those events from. We are running prosody with JWT authentication and it would be great if those events could be combined with some custom claims from the JWT.
I would really appreciate some comments about the general feasibility of this idea as well as some pointers in the right direction.