Skip to content
Discussion options

You must be logged in to vote

Hi.

Update from 2025

Since v2 scrcpy supports audio. See pcm-player by yume-chan for a client implementation.

Android (sndcpy)

  1. Examine https://github.com/rom1v/sndcpy (or maybe there are other similar project)
  2. Find out what audio format it produces: compare it with https://en.wikipedia.org/wiki/HTML5_audio, to confirm that it is supported by your targer browser (also this could be helpful)
  3. If you want to send audio data over Web Socket (as video data sent here), you may want to integrate WebSocket server into sndcpy jar (as I did with scrcpy: https://github.com/NetrisTV/scrcpy/tree/feature/websocket-server) or write a standalone WS server yourself (for example on node.js)
  4. Read about Medi…

Replies: 5 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by drauggres
Comment options

You must be logged in to vote
1 reply
@denizkoele
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@yl12053
Comment options

Comment options

You must be logged in to vote
3 replies
@Raghavendra617
Comment options

@Raghavendra617
Comment options

@drauggres
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
5 participants