|
YAACC - UPNP Client and Server
|
Captures system audio using AudioPlaybackCapture (Android 10+). More...

Public Member Functions | |
| boolean | startCapture (MediaProjection mediaProjection) |
| Start capturing system audio. | |
| void | stopCapture () |
| Stop capturing audio. | |
| InputStream | createInputStream () throws IOException |
| Create a new input stream for a client. | |
| InputStream | getInputStream () throws IOException |
| Get InputStream wrapped with WAV header. | |
| boolean | isCapturing () |
| Check if currently capturing. | |
Captures system audio using AudioPlaybackCapture (Android 10+).
Provides PCM audio data via InputStream.
| InputStream de.yaacc.upnp.server.media.SystemAudioCaptureService.createInputStream | ( | ) | throws IOException |
Create a new input stream for a client.
Each client gets its own stream for concurrent playback.