Skip to content

Do not connect recording stream unless recording is enabled #9999

@marmarek

Description

@marmarek

The problem you're addressing (if any)

Currently recording stream is always connected and then depending on recording being allowed it is muted. This results in a confusing long list of recording applications in the volume control, but also uses some resources on the pulseaudio/pipewire server side. This confusion results also in the "recording" icon being always shown in the pulseaudio panel applet in xfce.

The solution you'd like

Connect recording stream only when user allows recording for a VM. Or even only when VM actually records?

The value to a user and who that user might be

Clearer info when/what VM has access to the microphone.

Completion criteria checklist

  • separate rec_stdio_event registration from rec_stream (even if recording is not enabled, the return channel of the recording vchan is used for sending commands, and that must work)
  • do not connect recording stream initially, but only after recording gets enabled (or even only after VM sends request for recording)
  • handle multiple connecting/disconnecting of the stream
  • test if xfce recording icon doesn't show up all the time anymore

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions