erich.wanker Posted December 8, 2020 Share Posted December 8, 2020 Hello, it is not a real UniGui-Question - but: I need a just-voice-only (no video) Chat with different "rooms" for 1000+ Users ??? the "rooms" are given - no user can create or delete rooms a user should connect to a room - leave a room ..and listen/talk in a room i searched a lot of WebRTC and other things - but didnt found a usefull cost-free solution what i can include in my UniGui-app Has someone an idea? .. a example .. a demo..? ThanX Erich Link to comment Share on other sites More sharing options...
andyhill Posted December 8, 2020 Share Posted December 8, 2020 +1 Link to comment Share on other sites More sharing options...
Mehmet Emin Posted December 10, 2020 Share Posted December 10, 2020 I have been using https://jitsi.org/ for some months with success. I installed on my server so that I can configure to my needs. There is documentation https://jitsi.github.io/handbook/docs/intro there you can find self hosting help. It is free and open source based on WebRTC. This is how I use it inside uniGUI you can configure usage based on your needs: I only did not try to disable video (I use it for video conferancing) but should be possible with the configuration. UniSession.AddJS( 'if (typeof window.jitsi_api !== "undefined") {'+ ' window.jitsi_api.dispose();'+ '}'+ 'const jitsi_domain = "xxxxxxxxxxxxxxxxx";'+ 'const jitsi_options = {'+ ' roomName: "'+THashMD5.GetHashString(FTicket.ticketId)+'",'+ ' parentNode: document.querySelector("#'+tsJitsiAPI.JSId+'"),'+ ' userInfo: {'+ ' email: "'+GetUserEmail+'",'+ ' displayName: "'+GetUserDisplayName+'"'+ ' },'+ ' configOverwrite:{'+ ' disableDeepLinking :true'+ ' }'+ '};'+ 'window.jitsi_api = new JitsiMeetExternalAPI(jitsi_domain, jitsi_options);'+ 'window.jitsi_api.executeCommand("subject", "'+UniMainModule.Config.Shop.Name + ' ' + UniMainModule.Config.Category.Name +'");'+ 'window.jitsi_api.on("readyToClose", () => {'+ ' console.log("window.jitsi_api.dispose()");'+ ' window.jitsi_api.dispose();'+ ' '+tpMeeting.JSName+'.setActiveItemIndex(0);'+ '});' ); Link to comment Share on other sites More sharing options...
Mehmet Emin Posted December 10, 2020 Share Posted December 10, 2020 Also I did not load it with 1000 users but it is possible and there is a documentation for scaling. Link to comment Share on other sites More sharing options...
andyhill Posted December 10, 2020 Share Posted December 10, 2020 Mehmet, do you have a StandAlone Desktop / Mobile example ? Link to comment Share on other sites More sharing options...
Mehmet Emin Posted December 11, 2020 Share Posted December 11, 2020 13 hours ago, andyhill said: Mehmet, do you have a StandAlone Desktop / Mobile example ? Sorry I don't have an example, it's inside my web app. Actually there is not much code other then including Jitsi JS files to your servermodule and the above AddJS function on a form. The more important thing is to have Jitsi installed in correct way to your server and configure it. And this is documented well on their website. Just one note that it will not function (it will try to redirect to mobile app) on mobile phones unless you have this JS config. ' configOverwrite:{'+ ' disableDeepLinking :true'+ ' }'+ 1 Link to comment Share on other sites More sharing options...
Stemon63 Posted December 15, 2020 Share Posted December 15, 2020 HI, have you a demo of your conference system? It's very interesting! Thanks Link to comment Share on other sites More sharing options...
Fred Montier Posted November 13, 2021 Share Posted November 13, 2021 Hi... I will make a simple example and post in Code Samples Thanks for the tip Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now