On our custom Android app we want to notify some informations when the confercence ends.
The purpose is to pass a value when the USER_LEFT event occurs.
Our Activity override the method public void onConferenceTerminated(Map<String, Object> data)
inherited from JitsiMeetActivity
Currently the ‘data’ parameter is a Map which contains only the “url” key. What we need is to add a new custom key to it.
How can I achieve it? Which files must I modify in Jitsi?
Thanks for any hint.
PS: my question concerns Android, but I assume the change inside Jitsi will affect iOS also in the method - (void)conferenceTerminated:(NSDictionary *)data
I managed to find in the file mobile / external-api / middleare.js the _sendConferenceEvent method where I can add the data that interest me and these end up in the onConferenceTerminated Map. Tested and it works.
What is the ultimate goal?
The answer is simple: I want to know when the moderator leaves room to throw the participant out.
also contains the role of the user who has abandoned?
Unfortunately I can’t check right away because we are behind with the code and we still have to align.