I was trying to implement moderator can unmute/mute participants by changing Jicofo uncommenting : these lines in JitsiMeetConferenceImpl.java
// do not allow unmuting other participants even for the moderator
// if (!doMute && !fromJid.equals(toBeMutedJid))
// {
// logger.warn("Blocking an unmute request (jid not the same).");
// return false;
// }
I successfully build jicofo.jar and copied to usr/share/jicofo
But after restarting jicofo , prosdy am not able to connect jitsi conference.
am getting this error in Js console :
[conference.js] <ne._onConferenceFailed>: CONFERENCE FAILED: conference.focusDisconnected focus mydomain in 4
2021-04-19T07:51:55.126Z [modules/xmpp/moderator.js] <l._allocateConferenceFocusError>: Focus error, retry after 1000
<Object.getGlobalOnErrorHandler>: UnhandledError: Focus error, retry after 1000 Script: null Line: null Column: null StackTrace: Error: Focus error, retry after 1000
<Object.getGlobalOnErrorHandler>: UnhandledError: Focus error, retry after 2000 Script: null Line: null Column: null StackTrace: Error: Focus error, retry after 2000
Whenever i change Jicofo.jar this is happening . And my domain link is also changing without any configuration. Means only joining with audio/video disabled. I hope the error is happening in JICOFO side …something happened in media access handling.
Jicofo log :
at java.lang.Class.getMethod(Class.java:1784)
at sun.launcher.LauncherHelper.validateMainClass(LauncherHelper.java:650)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:632)
Caused by: java.lang.ClassNotFoundException: org.jitsi.metaconfig.MetaconfigLogger
at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
Pls help me this feature is really needed for our new project.
Or pls explain how to Build jicofo from source and configure for existing self hosted jitsi. i didn’t find a good note on this. I followed this
I read the dev team is not considering this feature related to Privacy issues, But this kind of customization should really helpful to compete with other conference apps. And thanks Jitsi team and community for the immense support