Skip to content

[BUG] No Audio streaming. #19

Description

@pretubedongit

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Build the Docker image
  2. Run the container
  3. Play youtube video on any browsers

Expected behavior
Audio should be streamed just like video

Screenshots
If applicable, add screenshots to help explain your problem.

Environment:

  • OS: [e.g., Ubuntu 20.04]
  • Docker Version: [e.g., Docker version 20.10.7, build f0df350]

Additional context
Add any other context about the problem here.

Activity

  1. Shmayro commented on Nov 20, 2025

    @Shmayro
    Owner

    I'm planning a big update about the web access capabilities. It's possible to have better performance on the web, including sound output.

    My main goal before was to have Android on Docker running, which consumes less CPU when in idle mode. But it should also have a snappy experience during usage.

  2. Shmayro commented on Oct 5, 2026

    @Shmayro
    Owner

    Status update on audio:

    • Android side works. I tested shmayro/dockerify-android:1.0.0 with scrcpy-server v5.0, and it captures the device audio (a ringtone played in the emulator came through as real PCM), even with the emulator's default -no-audio flag.
    • The web UI (shmayro/scrcpy-web) cannot play it. It is built on NetrisTV/ws-scrcpy, which has no audio support, and the upstream maintainer has said they don't plan to add it (NetrisTV/ws-scrcpy#380).

    Workaround: use the native scrcpy client (v2.0+), which forwards audio over ADB:

    adb connect localhost:5555
    scrcpy -s localhost:5555

    The emulator runs Android 11, so the screen must be unlocked when scrcpy starts, otherwise audio capture fails.

    Audio in the web UI would need a different web client. I'm keeping this issue open for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions