No internet connection
  1. Home
  2. Technical Support

Installing H264 issues

By John Rocha @JohnR
    2022-09-22 21:47:45.954Z

    Hello
    When I try to install the H264 video, I do get an error. Please see the error below

    TASK [ansible-role-janus-gateway : Clone janus-gateway] ****************************************************************
    fatal: [localhost]: FAILED! => {"changed": false, "cmd": "/usr/bin/git ls-remote origin -h refs/heads/v1.0.0", "msg": "fatal: unable to access 'https://github.com/meetecho/janus-gateway.git/': GnuTLS recv error (-54): Error in the pull function.", "rc": 128, "stderr": "fatal: unable to access 'https://github.com/meetecho/janus-gateway.git/': GnuTLS recv error (-54): Error in the pull function.\n", "stderr_lines": ["fatal: unable to access 'https://github.com/meetecho/janus-gateway.git/': GnuTLS recv error (-54): Error in the pull function."], "stdout": "", "stdout_lines": []}

    RUNNING HANDLER [ansible-role-janus-gateway : reindex shared libraries] ************************************************

    PLAY RECAP *************************************************************************************************************
    localhost : ok=21 changed=10 unreachable=0 failed=1 skipped=3 rescued=0 ignored=0

    pilot@tinypilot:~ $

    • 11 replies
    1. David @david2022-09-23 18:36:50.834Z

      Hi @JohnR, sorry about your issues with enabling H264.

      Are you able to successfully clone the janus git repository manually, or do you get the same error?

      git clone https://github.com/meetecho/janus-gateway.git
      
      1. J
        In reply toJohnR:
        John Rocha @JohnR
          2022-09-23 18:51:21.950Z

          Hi David,

          I am not sure I understand what you are asking me to do. If you would like to connect to my computer, I can send an invite for a meeting where I can share the screen. Thanks

          1. David @david2022-09-23 19:04:58.556Z

            My apologies, I should have been more clear.

            Can you ssh into the TinyPilot (like you did to run the commands for enabling H264)? Here's our guide on how to do that.

            Once you've logged in, you should see pilot@tinypilot:~ $. After that, can you copy & paste the following command onto the command line:

            git clone https://github.com/meetecho/janus-gateway.git
            

            That will run the command that failed in your original error message. I'd like to see whether it fails again, or if it succeeds, so if you could copy the text that is output and paste it as part of your reply, that would be great.

            Please let me know if you need any more clarification or if you have questions.

          2. J
            In reply toJohnR:
            John Rocha @JohnR
              2022-09-23 19:09:54.453Z

              Looks like that compiled ok
              pilot@tinypilot:~ $ git clone https://github.com/meetecho/janus-gateway.git
              Cloning into 'janus-gateway'...
              remote: Enumerating objects: 27182, done.
              remote: Counting objects: 100% (93/93), done.
              remote: Compressing objects: 100% (52/52), done.
              remote: Total 27182 (delta 52), reused 75 (delta 41), pack-reused 27089
              Receiving objects: 100% (27182/27182), 41.42 MiB | 9.95 MiB/s, done.
              Resolving deltas: 100% (20285/20285), done.
              pilot@tinypilot:~ $

              1. David @david2022-09-23 19:16:22.484Z

                Ok great! In that case I think that the network may have dropped out and caused the error the first time.

                Can you try and run the command to enable H264 video again and see how that goes?

              2. J
                In reply toJohnR:
                John Rocha @JohnR
                  2022-09-23 20:00:49.997Z

                  That seem to work fine all the way to the end. How do I know it is using it?. Where can I check that it is on?

                  1. David @david2022-09-26 08:37:45.791Z

                    Awesome! If you can share a link to your logs, I'll take a look and confirm whether your TinyPilot is using H264.
                    On the TinyPilot web interface, navigate to System > Logs and then click Get Shareable URL. This will generate a link to your logs that you can paste in your response.

                  2. J
                    In reply toJohnR:
                    John Rocha @JohnR
                      2022-09-26 14:01:37.846Z

                      Ok. So there are no new menus under the Video Settings. Nothing else to configure, other than the documented speed settings in the instructions. The Pilot is wired to the network and the calling computer is on a 5.0G wireless network. Is there anything else I should be adjusting?

                      1. David @david2022-09-26 14:30:03.758Z

                        So there are no new menus under the Video Settings. Nothing else to configure, other than the documented speed settings in the instructions.

                        That's correct. TinyPIlot's H264 support is still an early feature so there's no way to configure it using the web interface right now. The only adjustments to make would be with the bitrate like you mentioned.

                        Is there anything else I should be adjusting?

                        Are you running into issues? Otherwise, if your TinyPilot is working as expected, you're good to go!

                      2. Progress
                        with handling this problem
                      3. David @david2022-09-26 13:50:26.610Zreplies toJohnR:

                        Thanks! Yes, your TinyPilot is now using H264. It looks like it's all set up correctly.