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


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. App Wishlist
  3. Nextcloud Talk high-performance back-end

Nextcloud Talk high-performance back-end

Scheduled Pinned Locked Moved App Wishlist
nextcloudnextcloud talkvideo
53 Posts 13 Posters 12.6k Views 19 Watching
  • 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.
  • doodlemania2D Offline
    doodlemania2D Offline
    doodlemania2
    App Dev
    wrote on last edited by
    #13

    I've been playing with this. Most of it is pretty straight forward, but Janus is kicking my butt. I can't get it to install due to wild wacky dependencies flying every which way. Continuing to work on it, but if you have an easy Janus setup script, let me know 🙂

    jdaviescoatesJ 1 Reply Last reply
    1
    • doodlemania2D doodlemania2

      I've been playing with this. Most of it is pretty straight forward, but Janus is kicking my butt. I can't get it to install due to wild wacky dependencies flying every which way. Continuing to work on it, but if you have an easy Janus setup script, let me know 🙂

      jdaviescoatesJ Offline
      jdaviescoatesJ Offline
      jdaviescoates
      wrote on last edited by
      #14

      Many thanks for your efforts @doodlemania2! 🙂

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

      if you have an easy Janus setup script, let me know

      I've no idea, but I've asked on the CoTech and Meet.coop forums:

      https://community.coops.tech/t/anyone-got-an-ansible-scripts-for-janus-webrtc-server/2150

      https://forum.meet.coop/t/anyone-got-an-ansible-scripts-for-janus-webrtc-server/131

      Guess you'll have also seen e.g. https://github.com/andycoates/janus-cluster - anything in there that could be reused?

      Will be so awesome once this available on Cloudron!

      I use Cloudron with Gandi & Hetzner

      1 Reply Last reply
      0
      • doodlemania2D Offline
        doodlemania2D Offline
        doodlemania2
        App Dev
        wrote on last edited by
        #15

        Was pointed to this backport: https://gitlab.com/packaging/janus/ going to try it this evening to see if that helps speed things along!

        1 Reply Last reply
        1
        • doodlemania2D Offline
          doodlemania2D Offline
          doodlemania2
          App Dev
          wrote on last edited by
          #16

          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.

          marioM 1 Reply Last reply
          3
          • doodlemania2D doodlemania2

            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.

            marioM Offline
            marioM Offline
            mario
            App Dev
            wrote on last edited by
            #17

            @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
            0
            • doodlemania2D Offline
              doodlemania2D Offline
              doodlemania2
              App Dev
              wrote on last edited by doodlemania2
              #18

              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
              0
              • doodlemania2D Offline
                doodlemania2D Offline
                doodlemania2
                App Dev
                wrote on last edited by
                #19

                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
                2
                • doodlemania2D Offline
                  doodlemania2D Offline
                  doodlemania2
                  App Dev
                  wrote on last edited by
                  #20

                  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

                  jdaviescoatesJ 1 Reply Last reply
                  1
                  • doodlemania2D doodlemania2

                    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

                    jdaviescoatesJ Offline
                    jdaviescoatesJ Offline
                    jdaviescoates
                    wrote on last edited by
                    #21

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

                    I use Cloudron with Gandi & Hetzner

                    1 Reply Last reply
                    1
                    • doodlemania2D Offline
                      doodlemania2D Offline
                      doodlemania2
                      App Dev
                      wrote on last edited by
                      #22

                      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
                      2
                      • girishG Do not disturb
                        girishG Do not disturb
                        girish
                        Staff
                        wrote on last edited by
                        #23

                        Yup, we will add it in Cloudron 6

                        jdaviescoatesJ 1 Reply Last reply
                        5
                        • girishG girish

                          Yup, we will add it in Cloudron 6

                          jdaviescoatesJ Offline
                          jdaviescoatesJ Offline
                          jdaviescoates
                          wrote on last edited by
                          #24

                          Sounds tantalisingly close, thanks @doodlemania2 @girish ! 😄

                          I use Cloudron with Gandi & Hetzner

                          jdaviescoatesJ 1 Reply Last reply
                          0
                          • jdaviescoatesJ jdaviescoates

                            Sounds tantalisingly close, thanks @doodlemania2 @girish ! 😄

                            jdaviescoatesJ Offline
                            jdaviescoatesJ Offline
                            jdaviescoates
                            wrote on last edited by
                            #25

                            @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/

                            I use Cloudron with Gandi & Hetzner

                            1 Reply Last reply
                            2
                            • doodlemania2D Offline
                              doodlemania2D Offline
                              doodlemania2
                              App Dev
                              wrote on last edited by
                              #26

                              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

                              jdaviescoatesJ O 2 Replies Last reply
                              5
                              • doodlemania2D doodlemania2

                                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

                                jdaviescoatesJ Offline
                                jdaviescoatesJ Offline
                                jdaviescoates
                                wrote on last edited by
                                #27

                                Exciting, thanks @doodlemania2!

                                I use Cloudron with Gandi & Hetzner

                                1 Reply Last reply
                                0
                                • doodlemania2D doodlemania2

                                  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

                                  O Offline
                                  O Offline
                                  oj
                                  wrote on last edited by
                                  #28

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

                                  1 Reply Last reply
                                  4
                                  • girishG Do not disturb
                                    girishG Do not disturb
                                    girish
                                    Staff
                                    wrote on last edited by
                                    #29

                                    @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.

                                    doodlemania2D 1 Reply Last reply
                                    3
                                    • girishG girish

                                      @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.

                                      doodlemania2D Offline
                                      doodlemania2D Offline
                                      doodlemania2
                                      App Dev
                                      wrote on last edited by
                                      #30

                                      @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.

                                      jdaviescoatesJ 1 Reply Last reply
                                      2
                                      • doodlemania2D doodlemania2

                                        @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.

                                        jdaviescoatesJ Offline
                                        jdaviescoatesJ Offline
                                        jdaviescoates
                                        wrote on last edited by
                                        #31

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

                                        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.

                                        Did you manage to have another look? Would be so great to have this! 🙂

                                        I use Cloudron with Gandi & Hetzner

                                        doodlemania2D 1 Reply Last reply
                                        0
                                        • jdaviescoatesJ jdaviescoates

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

                                          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.

                                          Did you manage to have another look? Would be so great to have this! 🙂

                                          doodlemania2D Offline
                                          doodlemania2D Offline
                                          doodlemania2
                                          App Dev
                                          wrote on last edited by
                                          #32

                                          @jdaviescoates 😞 I haven't yet and I feel really bad about it - work has been all consuming of late. It's literally at the top of my list, just haven't had a chance! I promise more soon fast as I can!

                                          jdaviescoatesJ 1 Reply Last reply
                                          5
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • Bookmarks
                                          • Search