Jitsi Integration in Nextcloud Talk

well you could use ldap as authentication with jitsi. it’s already built-in… so this could work pretty easy for nc, i think

I’m not afraid :scream: of the auth/login method, i know that it can be modded to fit the user base of Nextcloud.

I just think of the « how Jitsi work » that is a little awkward if you want secure room creation.

But i’m not a dev so finally i don’t know if those mods are easy to dev or not.

In Matrix the original Jitsi UI is shown in a widget (like a small browser window) and the client sets a random room name. It’s not a deep integration at all (at least not yet).
The newest Riot (Web) Client has a config option to set your own jitsi server. Tried that just yesterday, it’s very simple to set up.
If your Jitsi server is password secured you have to click inside the tiny widget and enter your credentials.

2 Likes

Riot is really nice too

I think other systems only use session-ids and thereby a hidden room name. Perhaps the jitsi-room-name can put from url to post-parameter and do not show in the browser and app. I think the jitsi devs can easy program a second authentication with (hidden) session ids.

Personally, I prefer jitsi.
The vicol example here Nextcloud App for BigBlueButton integration is a very good example.
Jitsi also uses APIs.
Jitsi can be integrated into RocketChat:
https://github.com/jitsi/lib-jitsi-meet/blob/master/doc/tokens.md
https://rocket.chat/docs/administrator-guides/setting-up-video-conferencing/

Maybe take example on rocket chat, and use this token authentication method for nextcloud?

I just wrote a complete streaming Nextcloud Talk API proxy and now pretty advanced Jitsi chatbot with full password/authentication support:


I created a short introduction video to the streaming API/bot framework here:

If you know German, take a look at the following usage example video:

I now use this setup on a 300+ concurrent user Nextcloud instance and have received very positive UX & performance feedback (people are used to Chatbots from Slack and Discord), so this might be a pretty good solution until an actual integration has been created.

10 Likes

@pojntfx
Is it possible to release the talk-bot as an nextcloud app so it is easy to install?
Thanks for your great work!

Looks like it is installed by Docker, etc. currently. See discussion of chatbot support below… nice idea to install as an app.

@jakob1 Theoretically yes, but because of Nextcloud’s IMHO “retro” approach of how they do apps (which is really not compatible with most modern/“cloud native” extension ideas like i.e. Kubernetes does it with APIs/gRPC) it isn’t that simple. If one where up to the task though, it would of course be possible to simply call Docker using an app and then controlling the chatbot with it, although I made an oath to never tough PHP again :wink:

Hello Guys,

i am also not impressed from Talk. If i have more than 3 or 4 Participants it is extrem laggy and the Bandwith needed on each client ist high. And i see only 5 to 6 … everone else is out of the Window ? So for self hosting it is not usable at all for me.

I played also around jitsi and setup my own Jitsi Server Instance … well performed with 10 Participants without any problems and by the way i see all Participants without problem, can choose which one should be in big or spreed all over the Window - great. Video and Sound quality was good.

So i am also interessted in an nextcloud integration as an optional Videosystem to Nextcloud Talk. If jitis is still working in the next days without problems i drop nextcloud talk because it makes no benefit for me.

Best regards Mario

6 Likes

All you need to get Jitsi like performance is to write an open source HPB signaling server, been working on one in my spare time. Basically just a web api and a Janus server put together.

1 Like

great - is there a gthub or gitlab repo? Are yu aware of this ongoing effort to create such an open source HPB alternative?

https://gitlab.com/powerpaul17/nc_talk_backend maybe you can join forces or at least share expriences or code

Have you seen this? Maybe you can team up:

hi pojnfx,

sorry before, i’m new in linux world , is it different between " Nextcloud Talk Bot Framework" and " Nextcloud Talk Jitsi Bot" ?
i have nextcloud, cause the current COVID-19 crisis here in my country , i thought it’s really helpfull if our own nextcloud server can integratation to own jitsi server.

i’ve just have ubuntu 18.04 with docker installed ( this is the firstime i’m installing docker ) still dunno much about docker.

please advice how can i integrate between nextcloud and jitsi, step by step if u don’t mind.

Thank You Verymuch .

Regards,

Jitsi Talk Bot is for handling Jitsi calls via commands in Talk app.
Framework is for others to write their own bots, to work with videoconferencing tools and such.

It seems someone has coded the storage of Jibri (Jitsi Video calls) in Nextcloud rather than Dropbox.
Here is their script for installing Nextcloud specifically on Ubuntu LTS and here is the overall project github for setting up Nextcloud / Jibri / Google Cloud (for transcriptions).

It would be great to make this information more generically available.

1 Like

Now transcriptions just need to be moved to Mozilla’s DeepSpeech :wink:

Looks do-able based on these examples. Also found these use case examples on their forum.

I like the idea of Jitsi integration because I found it very easy to set up when I was trying it out. They provide a docker-compose file, and I already run Nextcloud, Collabora, MariaDB, Redis, and CoTURN in Docker. Would be easy to set the whole thing up together.

1 Like