Navigation

    UBports Robot Logo

    UBports Forum

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

    rec works remotely, but not in local terminal

    OS
    2
    2
    190
    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.
    • S
      sven last edited by

      The recording tool rec works perfectly if I ssh into my cosmo:

      rec a.wav rate 16k channels 1
      

      But when I run this in UBports' terminal app, I see:

      ALSA lib pcm_pulse.c:752:(pulse_prepare) Pulseaudio: Unable to create stream: Access denied
      rec FAIL formats: can't open input    'default': snd_pcm_hw_params error: Input/output error
      

      (Similar problems with parec.)

      VollaPhone22 (UT, OTA-24), Pocophone F1 (pmOS, edge)

      1 Reply Last reply Reply Quote 0
      • K
        kugiigi last edited by

        There are still limitations in the terminal app. Not sure what reasons behind it though. You can work around this by connecting to itself via ssh.

        1 Reply Last reply Reply Quote 1
        • First post
          Last post