]> git.proxmox.com Git - mirror_qemu.git/commit
ui/vnc: Require audiodev= to enable audio
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 25 Sep 2023 11:08:27 +0000 (13:08 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 3 Oct 2023 08:29:39 +0000 (10:29 +0200)
commit9e58d7a7561ace2e4ed62049f9d0ff488e1bb7f1
treed2495c0f611f12375f0ae148c16a9c9f117f23cb
parent0c1a5299ab1d04ade6e6ff0fa2bc98e33cecaa80
ui/vnc: Require audiodev= to enable audio

If there is no audiodev do not send the audio ack in response to
VNC_ENCODING_AUDIO, so that clients aren't told audio exists, and
immediately drop the client if they try to send any audio control messages
when audio is not advertised.

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
docs/about/deprecated.rst
docs/about/removed-features.rst
ui/vnc.c
ui/vnc.h