UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    rec works remotely, but not in local terminal

    Scheduled Pinned Locked Moved OS
    2 Posts 2 Posters 332 Views 1 Watching
    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 Offline
        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 (dual-boot of VollaOS and UT 20.04 OTA-5), Pocophone F1 (pmOS, edge)

        1 Reply Last reply Reply Quote 0
        • K Offline
          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