Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Navigation

    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Nextcloud Talk high-performance back-end

    App Wishlist
    nextcloud nextcloud talk video
    7
    30
    750
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • doodlemania2
      doodlemania2 App Dev last edited by

      So, good news, I've got this working in the Cloudron Base image (I think?) using the signaling test client. My next step will be to wrap things up and start testing against live NextClouds. Currently, I'm thinking I'll disable ALL security since it will only be reachable by a local, on box Nextcloud. Open to suggestions on that.

      mario 1 Reply Last reply Reply Quote 3
      • mario
        mario App Dev @doodlemania2 last edited by

        @doodlemania2 hm what do you mean by that? High performance backend needs to be accessible externally as the clients communicate with it via websocket.

        1 Reply Last reply Reply Quote 0
        • doodlemania2
          doodlemania2 App Dev last edited by doodlemania2

          Yeah, sorry, I meant that signaling would be externally accessible, but it appears nats and janus do not as signaling just calls them. Does that sound about right or am I WAY off?

          1 Reply Last reply Reply Quote 0
          • doodlemania2
            doodlemania2 App Dev last edited by

            Continuing to play with this. I think it's working, but I think more than just the signaling app needs access to the internet. I think the Janus bits need to be accessible as well. Currently, it's behind the docker net.

            1 Reply Last reply Reply Quote 2
            • doodlemania2
              doodlemania2 App Dev last edited by

              Going to build Janus and dependencies from source (which will take some time) as the backports are old. While doing this, @nebulon is working on an update to TURN/STUN to enable API access in CR itself! See: https://git.cloudron.io/cloudron/box/-/issues/710

              jdaviescoates 1 Reply Last reply Reply Quote 1
              • jdaviescoates
                jdaviescoates @doodlemania2 last edited by

                @doodlemania2 have you managed to make any further progress with getting this packaged? Thanks! 🙂

                1 Reply Last reply Reply Quote 1
                • doodlemania2
                  doodlemania2 App Dev last edited by

                  Hi @jdaviescoates - yep - we need to wait for an update to Box to support Auth API things on the Turn server. cc: @girish

                  1 Reply Last reply Reply Quote 2
                  • girish
                    girish Staff last edited by

                    Yup, we will add it in Cloudron 6

                    jdaviescoates 1 Reply Last reply Reply Quote 5
                    • jdaviescoates
                      jdaviescoates @girish last edited by

                      Sounds tantalisingly close, thanks @doodlemania2 @girish ! 😄

                      jdaviescoates 1 Reply Last reply Reply Quote 0
                      • jdaviescoates
                        jdaviescoates @jdaviescoates last edited by

                        @jdaviescoates said in Nextcloud Talk high-performance back-end:

                        Sounds tantalisingly close, thanks @doodlemania2 @girish ! 😄

                        In the meantime, Nextcloud 20 is going to make it easy to sign-up to a hosted Nextcloud High Performance Backend

                        See:
                        https://nextcloud.com/press/pr20201003-6/
                        https://help.nextcloud.com/t/nextcloud-hub-20-debuts-dashboard-unifies-search-and-notifications-integrates-with-other-technologies/93838
                        https://www.spreed.eu/contact-nextcloud-talk-high-performance-backend/

                        1 Reply Last reply Reply Quote 2
                        • doodlemania2
                          doodlemania2 App Dev last edited by

                          I've got a very early prototype of this working - it just needs some API fun from the Cloudron TURN feature sets. https://git.cloudron.io/doodlemania2/nthpbe

                          jdaviescoates O 2 Replies Last reply Reply Quote 5
                          • jdaviescoates
                            jdaviescoates @doodlemania2 last edited by

                            Exciting, thanks @doodlemania2!

                            1 Reply Last reply Reply Quote 0
                            • O
                              oj @doodlemania2 last edited by

                              @doodlemania2 You might be interested in this: Nextcloud Talk High Performance Backend with Stun/Turnserver on Ubuntu with docker-compose

                              1 Reply Last reply Reply Quote 4
                              • girish
                                girish Staff last edited by

                                @doodlemania2 To continue the discussion from the other thread about the TURN server requirements.

                                Per https://markus-blog.de/index.php/2020/07/30/how-to-install-nextcloud-talk-high-performance-backend-with-stun-turnserver-on-ubuntu/, the turnserver only requires a static-auth-secret and that is already set in existing turn server. I guess you are referring to the turn_rest_api_key in the janus configs? That secret is generated and shared between janus and nextcloud-spreed-signaling server from what I can understand. I think the existing turn service should work as-is.

                                doodlemania2 1 Reply Last reply Reply Quote 3
                                • doodlemania2
                                  doodlemania2 App Dev @girish last edited by

                                  @girish oh no! i'm so sorry to have held us all up so long 😞
                                  okay - let me re-start my efforts and will study it more closely in addition to @oj 's and others suggestions to look at a prebuilt docker for inspiration.

                                  1 Reply Last reply Reply Quote 2
                                  • First post
                                    Last post