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

    Actually, I've not seen it appear in the mobile app - I'm wondering if it tries to reach out to ping the rtmp endpoint or something and hides if fail?

    HLS_LIVE=true
    HLS_LIVE_BROADCAST_SOURCE_APP=true
    HLS_LIVE_BROADCAST_MAX_ACTIVE=10
    HLS_LIVE_BROADCAST_MAX_DURATION=60
    HLS_LIVE_BROADCAST_SOURCE_WEB=true

    Going to try to watch the logs to see if it throws anything like missing RTMP or something.

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

      Logs don't appear to generate anything interesting regarding it. I did a code search (https://github.com/pixelfed/pixelfed/search?q=live) and it looks pretty straightforward. I wonder if there's a composer or laraval thing that needs to be done.

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

        We have just published a new app package which has livestreaming support (the previous didn't have that), however this is still for testing, so please let us know if there is any difference now.

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

          Hey there @nebulon - great work on the bump. I still don't see a change - I peaked at the nginx config and see a websocket port opened, but I think we're still missing something. From https://docs.pixelfed.org/running-pixelfed/optional-features/livestreaming/ it looks like we need an HLS port open as well?

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

            @doodlemania2 It's in the manifest :

              "tcpPorts": {
                "HLS_LIVE_PORT": {
                  "title": "Live streaming port",
                  "description": "Live streaming port (only default works)", 
                  "containerPort": 1935,
                  "defaultValue": 1935
                }
              },
            

            Can you check the Location section of the app?

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

              Ah - doink, sorry about that. Okay, I ticked the box to turn that on. Still not seeing any changes in the app despite the configs being set. We're still missing something, but not sure what it is. Could be my upstream proxy, will try to route around it to test.

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

                @doodlemania2 Spent some time with the android app yesterday but there is no option to enable Live Streaming as such. Are you on iOS or the Android app?

                1 Reply Last reply
                0
                • jdaviescoatesJ Offline
                  jdaviescoatesJ Offline
                  jdaviescoates
                  wrote on last edited by
                  #15

                  Sounds like the official apps will be in the apps stores in a month of so.

                  https://mastodon.social/@pixelfed/110312061392315948

                  Perhaps those are what is needed to use this? 🤷

                  Presumably everything mentioned in the docs here are now included in the package?

                  https://docs.pixelfed.org/running-pixelfed/optional-features/livestreaming/

                  I use Cloudron with Gandi & Hetzner

                  girishG 1 Reply Last reply
                  0
                  • jdaviescoatesJ jdaviescoates

                    Sounds like the official apps will be in the apps stores in a month of so.

                    https://mastodon.social/@pixelfed/110312061392315948

                    Perhaps those are what is needed to use this? 🤷

                    Presumably everything mentioned in the docs here are now included in the package?

                    https://docs.pixelfed.org/running-pixelfed/optional-features/livestreaming/

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

                    @jdaviescoates ah, that's great news. Yes, we have integrated all that's possible. Now, we need something to test it with.

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

                      I was hoping the testflight (ios) app just started working when the app is configured. I also set the web app to be a broadcaster (it was an option in the configs) but that didn't change anything either. Perhaps he's holding the code back for the next release or something 🙂

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