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


    Cloudron Forum

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

    What RTMP Ports to use if I want to use both PeerTube and Owncast?

    PeerTube
    rtmp peertube owncast
    5
    15
    314
    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.
    • jdaviescoates
      jdaviescoates last edited by jdaviescoates

      I've got an instance of Owncast installed. Love it.

      Thought I'd give PeerTube a go too. But when I tried to install it I got and error telling me RTMP Port 1935 is already in use (by Owncast).

      Can I just use a different port number? I know nothing about such things.

      I use Cloudron with Gandi & Hetzner

      robi girish L 3 Replies Last reply Reply Quote 0
      • robi
        robi @jdaviescoates last edited by

        @jdaviescoates try it!

        Life of Advanced Technology

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

          @jdaviescoates said in What RTMP Ports to use if I want to use both PeerTube and Owncast?:

          Can I just use a different port number? I know nothing about such things.

          Yes, you can use any port.

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

            @girish OK thanks, but I'm guessing there is some reason why they both default to Port 1935? is that the standard expected port for such things? I wonder if I'll hit any issues if I don't use that port...

            I use Cloudron with Gandi & Hetzner

            girish micmc 2 Replies Last reply Reply Quote 0
            • girish
              girish Staff @jdaviescoates last edited by

              @jdaviescoates Most protocols have a default port. The default RTMP port is 1935 - https://en.wikipedia.org/wiki/Real-Time_Messaging_Protocol . If you only have one IP, there is no other way other than to run multiple apps which have same protocol other than using different ports. (And of course, Cloudron itself supports only one IP at the moment).

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

                @jdaviescoates said in What RTMP Ports to use if I want to use both PeerTube and Owncast?:

                @girish OK thanks, but I'm guessing there is some reason why they both default to Port 1935? is that the standard expected port for such things? I wonder if I'll hit any issues if I don't use that port...

                The only issue would be if your streaming software cannot stream on any other ports, which is very unlikely. Simply set an entry for Owncast and one for PeerTube using the two different ports you set on your Cloudron.


                https://marketingtechnology.agency
                For cutting edge web technologies

                1 Reply Last reply Reply Quote 1
                • L
                  LoudLemur @jdaviescoates last edited by LoudLemur

                  @jdaviescoates EDIT! By default, both applications want port 1935~~. If you installed Owncast first, leave its port as it is as 1935.~~ During the Cloudron installation process for PeerTube,
                  set PeerTubes port to 1936. That lets both of the applications work ok together.

                  Wrong!

                  Peertube is pretty fixed on using Port 1935, if you want to use it for livestreaming. Setup Peertube as port 1935. Don't change Peertube from any other Port to 1935, as Peertube won't work properly. It is better to just completely reinstall Peertube and start again with Port 1935.

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

                    @LoudLemur can't remember exactly, but I think that's basically what I did 🙂

                    I use Cloudron with Gandi & Hetzner

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

                      @jdaviescoates said in What RTMP Ports to use if I want to use both PeerTube and Owncast?:

                      @LoudLemur can't remember exactly, but I think that's basically what I did 🙂

                      I have a feeling you would have done things the proper way, the way that makes things work, and that would have been to have Peertube on Port 1935 and Owncast on Port 1936.

                      brave_2Wixzjyk5W.jpg

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

                        @LoudLemur said in What RTMP Ports to use if I want to use both PeerTube and Owncast?:

                        Peertube on Port 1935 and Owncast on Port 1936.

                        Yeah, or any two different ports would work too, I think.

                        I use Cloudron with Gandi & Hetzner

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

                          @jdaviescoates said in What RTMP Ports to use if I want to use both PeerTube and Owncast?:

                          @LoudLemur said in What RTMP Ports to use if I want to use both PeerTube and Owncast?:

                          Peertube on Port 1935 and Owncast on Port 1936.

                          Yeah, or any two different ports would work too, I think.

                          That is what I used to think too, but in the screenshot above, you can see that, for livestreaming, PeerTube requires 1935. I tried changing that, and then couldn't enable Livestreaming. I think it might be hardcoded or something.

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

                            @LoudLemur I guess the point I was making is that I don't think Owncast needs to be 1936?

                            I use Cloudron with Gandi & Hetzner

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

                              @jdaviescoates said in What RTMP Ports to use if I want to use both PeerTube and Owncast?:

                              @LoudLemur I guess the point I was making is that I don't think Owncast needs to be 1936?

                              I think that is right. I changed Owncasts Port around and it kept going well. Peertube seems to be the particular one.

                              1 Reply Last reply Reply Quote 0
                              • robi
                                robi last edited by

                                Then it may be time to ask for a message to not change the peertube port during install/config just like with jitsi, if you do, it won't work.

                                Life of Advanced Technology

                                L 1 Reply Last reply Reply Quote 1
                                • L
                                  LoudLemur @robi last edited by

                                  @robi said in What RTMP Ports to use if I want to use both PeerTube and Owncast?:

                                  Then it may be time to ask for a message to not change the peertube port during install/config just like with jitsi, if you do, it won't work.

                                  I think that is a good thing to suggest. It will work, if the default port is not selected, but not all of its functionality (namely the livestreaming ability) would be available, as far as I understand.

                                  I think it would be worth mentioning upstream to frama too. I don't know why they hardcoded it. Maybe it is a temporary thing.

                                  1 Reply Last reply Reply Quote 1
                                  • First post
                                    Last post
                                  Powered by NodeBB