I have set up a jitsi server from packages and now I'm trying to log some connection stats to a database. For example, PUT some little blobs of data about significant bitrate changes.
I feel familiar with JavaScript and somewhat familiar with WebRTC, but I don't understand the jitsi codebase that well. And it seems that the quick installation only gave me the minimized JavaScript files.
Where could I get the WebRTC stats of a jitsi call and where am I supposed to hook up my logging calls? What files and how should I edit?
For future readers: I have described how I accomplished this on the jitsi forums: https://community.jitsi.org/t/how-to-add-a-listener-for-conference-joined/42241/2