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. Pixelfed
  3. Could there be a second package with Live-streaming configured?

Could there be a second package with Live-streaming configured?

Scheduled Pinned Locked Moved Pixelfed
38 Posts 9 Posters 5.0k Views 9 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.
  • nebulonN Offline
    nebulonN Offline
    nebulon
    Staff
    wrote on last edited by
    #18

    Maybe you could ask upstream what the status is and how it is supposed to work? Otherwise we might look into the entirely wrong corner.

    1 Reply Last reply
    2
    • jaschaezraJ Offline
      jaschaezraJ Offline
      jaschaezra
      wrote on last edited by
      #19

      Sorry for my absence - I will go through this thread tomorrow and see what needs to be done because so already was able to stream (on another instance)

      1 Reply Last reply
      2
      • girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by
        #20

        @jaschaezra Is that instance public for us to test/understand how this feature works ? Also, does one need to enable any option in the mobile app? Where in the mobile app can one stream? Any screenshots will help.

        1 Reply Last reply
        2
        • jaschaezraJ Offline
          jaschaezraJ Offline
          jaschaezra
          wrote on last edited by
          #21

          @girish At the moment you need the Pixelfed Live App to stream. Get the apk here: https://dl.apps.pixelcdn.net/pixelfed-live/android/pixelfed-live-v1.0.1-release.apk

          As far as I know it should be merged into the iOS and Android App but I do not know the status at the moment. I asked upstream to provide some more info.

          doodlemania2D 1 Reply Last reply
          2
          • jaschaezraJ jaschaezra

            @girish At the moment you need the Pixelfed Live App to stream. Get the apk here: https://dl.apps.pixelcdn.net/pixelfed-live/android/pixelfed-live-v1.0.1-release.apk

            As far as I know it should be merged into the iOS and Android App but I do not know the status at the moment. I asked upstream to provide some more info.

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

            @jaschaezra OH! Booooooooo.....

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

              Update:
              image.png

              1 Reply Last reply
              3
              • L Offline
                L Offline
                LoudLemur
                wrote on last edited by LoudLemur
                #24

                Port 1935 is the question for me.

                Pixelfed wants to use this port by default for livestreaming, and there is a notification saying that only the default works.

                However, a couple of other Cloudron packages want Port 1935, too:

                PeerTube (and apparently port 1935 is/was hardcoded into it, so you can't/couldn't change it.)
                OwnCast (which will work on port 1936 to allow PeerTube to keep port 1935)

                So, would Pixelfed livestreams work if you had PeerTube on 1935?

                brave_2lWAPpzifZ.png

                1 Reply Last reply
                2
                • mhgcicM Offline
                  mhgcicM Offline
                  mhgcic
                  wrote on last edited by
                  #25

                  Why is it the Pixel App can't just all use the same port, surely the server recognises by URL or similar.

                  Mersey Hub Group CIC
                  Non-profit Charitable Organisation
                  https://www.mhgcic.org.uk

                  1 Reply Last reply
                  0
                  • nebulonN Offline
                    nebulonN Offline
                    nebulon
                    Staff
                    wrote on last edited by
                    #26

                    URL and hostnames are only available depending on the used protocol. Since we are talking about TCP ports here, this usually does not apply. On Linux only one process can listen on a TCP port.

                    In the more common HTTP case, a reverse proxy will listen on the port and since it understands the protocol, which has a concept of for example hostnames, it can then proxy the traffic accordingly, but that is rather special to HTTP and thus does not apply to other use-cases, which are not HTTP.

                    1 Reply Last reply
                    0
                    • mhgcicM Offline
                      mhgcicM Offline
                      mhgcic
                      wrote on last edited by
                      #27

                      So am I right in thinking that for the moment I should host pixelfed apps on their own server as only one install of the app can use the default port at a time?

                      Mersey Hub Group CIC
                      Non-profit Charitable Organisation
                      https://www.mhgcic.org.uk

                      girishG 1 Reply Last reply
                      0
                      • mhgcicM mhgcic

                        So am I right in thinking that for the moment I should host pixelfed apps on their own server as only one install of the app can use the default port at a time?

                        girishG Offline
                        girishG Offline
                        girish
                        Staff
                        wrote on last edited by
                        #28

                        @mhgcic What do you mean by "Pixelfed Apps" ? You want to host multiple instances of pixelfed on the server?

                        mhgcicM 1 Reply Last reply
                        0
                        • girishG girish

                          @mhgcic What do you mean by "Pixelfed Apps" ? You want to host multiple instances of pixelfed on the server?

                          mhgcicM Offline
                          mhgcicM Offline
                          mhgcic
                          wrote on last edited by
                          #29

                          @girish We asked for more licenses because we wanted to separate our services on separate servers, but when we asked for this we got asked why? And to explain how this would be a benefit to us?

                          For example, we have a server for our websites like this https://www.mhgresource.directory/

                          But we have websites like this https://www.landingstrip.social that we would like to keep this websites apps on one server to keep them running at all times, and so that it is not interfered with by other apps or server issues.

                          We wanted to separate mastodons, discourse etc on servers only for that type of app, to help better manage them and so that not all apps are affected by a server issue.

                          Also got told to upscale servers to compensate by adding more apps, never getting a reply to my answers to the questions I was asked, so we did not chase it up.

                          But to answer your question no not really, I want to be able to host multiple Pixelfed apps on one Cloudron server.

                          But if Pixelfed is locked to using the default port only like in the setup instructions,

                          screenshot-my.mhgcic.org.uk-2023.07.31-11_25_17.png

                          I don't understand why it says "only default works" and then shows a port range "1024-65535" when Pixelfed says the default port is 1935. It says to the novice that you can use any port between 1024-65535 even though it says about the default being the only one to work.

                          And can not use other ports or the same port for all Pixlefed apps then it seems like we would have to host each Pixelfed app on a separate server.

                          Hope this all make sense.

                          Mersey Hub Group CIC
                          Non-profit Charitable Organisation
                          https://www.mhgcic.org.uk

                          1 Reply Last reply
                          1
                          • nebulonN Offline
                            nebulonN Offline
                            nebulon
                            Staff
                            wrote on last edited by
                            #30

                            I guess the issue here is, that the Cloudron dashboard UI for the port configuration is too generic for this. In theory all ports from that range can be used and this works for many apps, but in reality pixelfed can only use one specific port. There is not really much we can do from the platform side to support multiple pixelfed instances on the same server (not really a Cloudron limitation though).

                            mhgcicM 1 Reply Last reply
                            2
                            • P Offline
                              P Offline
                              plusone-nick
                              wrote on last edited by
                              #31

                              I ran into the same/similar issue recently but with peertube* and pixlefed both wanting the 1935 port, i think i ended up switching peertube to 1936 but have yet to test that it works....

                              Seems like we should make an upstream request to pixlefed to make the port variable?

                              ✌💙+1

                              mhgcicM 1 Reply Last reply
                              2
                              • nebulonN nebulon

                                I guess the issue here is, that the Cloudron dashboard UI for the port configuration is too generic for this. In theory all ports from that range can be used and this works for many apps, but in reality pixelfed can only use one specific port. There is not really much we can do from the platform side to support multiple pixelfed instances on the same server (not really a Cloudron limitation though).

                                mhgcicM Offline
                                mhgcicM Offline
                                mhgcic
                                wrote on last edited by
                                #32

                                @nebulon thanks for clearing that up, but for us that is a limitation, we were told that we can run any number of the same app on one server. In reality this is not possible, due to port limitations.

                                I have used different ports but yet to test them on pixlefed, I need to get around to that.

                                It's fine if it's mastodon, we have multiple masto instances on one server without issues. But now I do wonder what if mastodon or other apps that might update adding streaming services and let's face it it would not be hard to see it happen or that they would not add simular as streaming is becoming more popular, that it would become a major issue in the future, this would mean that we would have to move all instances to their own server.

                                This is why I say multiple apps should be able to share a port like RTMP or simular streaming services by using domain/url to direct the stream to the right app on cloudron.

                                Hope it makes sense, it maybe unrealistic as I don't know much about ports and deeper workings of software etc.. I can just see using some apps for our services are going to be an issue either now a d for some in the future.

                                This is one of the many reasons for the need of more then one license.

                                I suppose it is lucky the for the moment cloudron has a free plan allowing two apps, we will take advantage of this.

                                Mersey Hub Group CIC
                                Non-profit Charitable Organisation
                                https://www.mhgcic.org.uk

                                1 Reply Last reply
                                0
                                • robiR Offline
                                  robiR Offline
                                  robi
                                  wrote on last edited by
                                  #33

                                  The port issue is an upstream limitation and you can ask/encourage them to upgrade their code to be more flexible or even port share.

                                  Conscious tech

                                  mhgcicM 1 Reply Last reply
                                  2
                                  • robiR robi

                                    The port issue is an upstream limitation and you can ask/encourage them to upgrade their code to be more flexible or even port share.

                                    mhgcicM Offline
                                    mhgcicM Offline
                                    mhgcic
                                    wrote on last edited by
                                    #34

                                    @robi I would have thought port share must be a must when allowing for more than one of the same app on a server.

                                    Mersey Hub Group CIC
                                    Non-profit Charitable Organisation
                                    https://www.mhgcic.org.uk

                                    1 Reply Last reply
                                    0
                                    • P plusone-nick

                                      I ran into the same/similar issue recently but with peertube* and pixlefed both wanting the 1935 port, i think i ended up switching peertube to 1936 but have yet to test that it works....

                                      Seems like we should make an upstream request to pixlefed to make the port variable?

                                      mhgcicM Offline
                                      mhgcicM Offline
                                      mhgcic
                                      wrote on last edited by
                                      #35

                                      @plusone-nick I will keep that in mind for when we play with peertube.

                                      Mersey Hub Group CIC
                                      Non-profit Charitable Organisation
                                      https://www.mhgcic.org.uk

                                      1 Reply Last reply
                                      0
                                      • nebulonN Offline
                                        nebulonN Offline
                                        nebulon
                                        Staff
                                        wrote on last edited by
                                        #36

                                        Unfortunately there is nothing we can do from a platform side to enable portsharing of custom protocols if those do not support this. But I understand this is a rather low-level limitation of how technology works here and I can see how this is not at all obvious 😕

                                        1 Reply Last reply
                                        2
                                        • jdaviescoatesJ Offline
                                          jdaviescoatesJ Offline
                                          jdaviescoates
                                          wrote on last edited by
                                          #37

                                          I've created an issue upstream about this here:

                                          https://github.com/pixelfed/pixelfed/issues/4671

                                          I use Cloudron with Gandi & Hetzner

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