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
  • Brite
  • 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. MiroTalk
  3. Mirotalk - Participants can't see each other 2

Mirotalk - Participants can't see each other 2

Scheduled Pinned Locked Moved MiroTalk
16 Posts 5 Posters 639 Views 5 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.
  • E ekevu123

    If I am not mistaken, a new Mirotalk installation on Cloudron sets the port automatically to 25000. I have verified that I have that set up once more.

    Oddly, I have just tried it once more, and now it works. Maybe because of a recent app update, I am not sure.

    MiroTalkM Offline
    MiroTalkM Offline
    MiroTalk
    wrote on last edited by
    #6

    @ekevu123 said in Mirotalk - Participants can't see each other 2:

    If I am not mistaken, a new Mirotalk installation on Cloudron sets the port automatically to 25000. I have verified that I have that set up once more.

    Not sure why, but in the Cloudron setup, it only works when the port range starts from 25000. 🤷

    In theory, it should work with any port range, as long as the selected ports are not already in use by another application and are not blocked by your firewall or ISP.

    1 Reply Last reply
    0
    • E Offline
      E Offline
      ekevu123
      wrote on last edited by
      #7

      Thank you for explaining! If it happens next time again, I will look through port usage on the server.

      1 Reply Last reply
      0
      • jamesJ Offline
        jamesJ Offline
        james
        Staff
        wrote on last edited by
        #8

        Hello @ekevu123 and @mirotalk-57bab571
        I have figured out what the issue is with changing ports.
        An app update will be available soon that fixes this issue.

        MiroTalkM 1 Reply Last reply
        2
        • jamesJ james

          Hello @ekevu123 and @mirotalk-57bab571
          I have figured out what the issue is with changing ports.
          An app update will be available soon that fixes this issue.

          MiroTalkM Offline
          MiroTalkM Offline
          MiroTalk
          wrote on last edited by
          #9

          @james said in Mirotalk - Participants can't see each other 2:

          I have figured out what the issue is with changing ports.
          An app update will be available soon that fixes this issue.

          Good! 👍

          1 Reply Last reply
          2
          • E Offline
            E Offline
            ekevu123
            wrote last edited by
            #10

            @james This issue is back

            1 Reply Last reply
            0
            • jamesJ Offline
              jamesJ Offline
              james
              Staff
              wrote last edited by
              #11

              Hello @avatar1024
              I was unable to reproduce this issue.
              Changed the ports from 25000 to 30000 and tested with my desktop and mobile phone with no issues.

              1 Reply Last reply
              0
              • E Offline
                E Offline
                ekevu123
                wrote last edited by
                #12

                It has worked again now after changing the port and restarting the app. Does it need to be any port between 25000 and 30000?

                jamesJ 1 Reply Last reply
                0
                • E ekevu123

                  It has worked again now after changing the port and restarting the app. Does it need to be any port between 25000 and 30000?

                  jamesJ Offline
                  jamesJ Offline
                  james
                  Staff
                  wrote last edited by
                  #13

                  Hello @ekevu123
                  No. I've also just tested with port 5000.
                  But the ports need to be free since 100 ports will be used.
                  So if you set the port to 5000, from port 5000 to port 5100 will be used.
                  If a port in that range is used by another application, the mirotalk application will have issues.

                  MiroTalkM 1 Reply Last reply
                  1
                  • jamesJ james

                    Hello @ekevu123
                    No. I've also just tested with port 5000.
                    But the ports need to be free since 100 ports will be used.
                    So if you set the port to 5000, from port 5000 to port 5100 will be used.
                    If a port in that range is used by another application, the mirotalk application will have issues.

                    MiroTalkM Offline
                    MiroTalkM Offline
                    MiroTalk
                    wrote last edited by MiroTalk
                    #14

                    @james said in Mirotalk - Participants can't see each other 2:

                    If a port in that range is used by another application, the mirotalk application will have issues.

                    You can try to enable the WebRtcServer feature by adding the following to your env file:

                    SFU_SERVER=true
                    

                    Then, restart your instance.

                    How it works:

                    • MiroTalk spawns one Worker per CPU core by default.
                    • Each Worker runs its own WebRtcServer on a dedicated port.
                    • Ports are assigned sequentially starting from a base port (eg: 25000).
                    • This approach keeps port management simple: you only need to open as many ports as you have Workers.

                    Optional: You can manually set the number of Workers using:

                    SFU_NUM_WORKERS=4
                    

                    Example:
                    A server with 4 CPU cores (or 4 Workers) and a base port of 25000 will use the following ports:

                    25000, 25001, 25002, 25003
                    

                    You only need to open these 4 ports on your firewall.

                    More about 👉 here

                    1 Reply Last reply
                    2
                    • E Offline
                      E Offline
                      ekevu123
                      wrote last edited by
                      #15

                      Thank you, I will try that!

                      Since I faced the issue temporarily yesterday, but didn't when I tried to reproduce it with my phone, is the explanation that the port I was trying to use for the conversation was temporarily blocked, and restarting the app later re-assigned the port, so it worked again when starting a new conversation?

                      1 Reply Last reply
                      0
                      • MiroTalkM Offline
                        MiroTalkM Offline
                        MiroTalk
                        wrote last edited by
                        #16

                        You're welcome.
                        It could also be that another app was using a port within the specified range, maybe not constantly, but whenever it needed it, causing a temporary conflict. 👍

                        1 Reply Last reply
                        0
                        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