fix(audio): separate --no-audio-playback from audio capture#6883
fix(audio): separate --no-audio-playback from audio capture#6883mfolofy wants to merge 1 commit into
Conversation
In scrcpy, if there is no audio sink at all (no playback, no record), then audio capture is disabled on purpose (otherwise nothing will consume the audio packets, and they will accumulate)
Sure, but scrcpy has no AI processing feature. If someone modifies scrcpy to add another audio sink, then it must not disable audio when that sink is enabled. But this change alone has no reason to be merged in scrcpy. |
|
Understood — closing per maintainer guidance. The change doesn't make sense for scrcpy's scope. Thanks for the explanation. |
|
Revisiting this with a sharper argument. You're right that scrcpy has no built-in audio sink beyond playback and file recording today. But the architectural issue is that
The user already has A concrete example: The fix is clean: separate This matches how the feature request #6846 was filed: the flag name says "no playback" not "no capture." |
No, Only when it sees that nothing can consume the audio (or the video), it disables it. It's like
How? There's no way to do that without changing the code. |
Fixes #6846. When --no-audio-playback is specified, only local playback should be disabled - audio capture must still function for use cases like AI processing.