Navigation

    MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    MMM-iFrame-Ping - revisited

    Utilities
    3
    8
    127
    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.
    • ebolisa
      ebolisa last edited by

      Hi,

      I’m streaming video/music from a web but, for some reason, the audio doesn’t go through on a P0 it does on a P4 using the same config, however,

      Youtube and audio tests pass on both pies.

      Is there any reason for that?
      TIA

      S 1 Reply Last reply Reply Quote 0
      • S
        sdetweil @ebolisa last edited by sdetweil

        @ebolisa on a pi0 you are running chromium-browser, on a pi4, u are using electron js browser

        i suspect u have to do some setup on chromium

        see the 4th post here
        https://www.raspberrypi.org/forums/viewtopic.php?t=291066

        add the parm to the invocation of chromium in ~/MagicMirror/run-start.sh

        ebolisa 1 Reply Last reply Reply Quote 0
        • ebolisa
          ebolisa @sdetweil last edited by

          @sdetweil you mean in line 78?

          chromium-browser -noerrdialogs -kiosk -start_maximized  --disable-features=AudioServiceSandbox --disable-infobars --app=...
          

          the other way I get an error:

          pi@magicmirror:~/MagicMirror $ chromium-browser --disable-features=AudioServiceSandbox
          [1974:1974:0216/221501.872136:ERROR:browser_main_loop.cc(1432)] Unable to open X display.
          
          S 1 Reply Last reply Reply Quote 0
          • S
            sdetweil @ebolisa last edited by

            @ebolisa correct.

            the second way probably fails because u are on an ssh session, and need to define the DISPLAY to use

            export DISPLAY=:0

            KamiSchami ebolisa 2 Replies Last reply Reply Quote 0
            • KamiSchami
              KamiSchami @sdetweil last edited by

              I also stream YouTube videos but I don’t !!! want to hear any sound. Does the module regularly play no sound?

              S 1 Reply Last reply Reply Quote 0
              • S
                sdetweil @KamiSchami last edited by

                @kamischami according to this,

                https://peter.sh/experiments/chromium-command-line-switches/

                the

                –mute-audio

                parm should mute any audio

                1 Reply Last reply Reply Quote 0
                • ebolisa
                  ebolisa @sdetweil last edited by

                  @sdetweil making progress by tweaking a bit the line shown above to

                  chromium-browser --autoplay-policy=no-user-gesture-required --noerrdialogs --incognito --kiosk -start_maximized  --disable-features=AudioServiceSandbox --disable-infobars --app=...
                  

                  However, streaming video on a P0 is not the best way to go so, I decided to just stream audio with this link http://stream-uk1.radioparadise.com/mp3-192. It’s much easer on buffering 😉

                  S 1 Reply Last reply Reply Quote 0
                  • S
                    sdetweil @ebolisa last edited by

                    @ebolisa pi 0 is tough to of a lot different things at once

                    1 Reply Last reply Reply Quote 0
                    • 1 / 1
                    • First post
                      Last post
                    Enjoying MagicMirror? Please consider a donation!
                    MagicMirror created by Michael Teeuw.
                    Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                    This forum is using NodeBB as its core | Contributors
                    Contact | Privacy Policy