Bug 1012535

Summary: remote-viewer doesn't make use of USB microphone (webcam) hotplugged during virt-viewer runtime
Product: Red Hat Enterprise Linux 6 Reporter: David Jaša <djasa>
Component: spice-gtkAssignee: Christophe Fergeau <cfergeau>
Status: CLOSED WORKSFORME QA Contact: Desktop QE <desktop-qa-list>
Severity: low Docs Contact:
Priority: unspecified    
Version: 6.5CC: acathrow, cfergeau, dblechte, djasa, marcandre.lureau
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-03-12 18:41:59 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description David Jaša 2013-09-26 15:22:28 UTC
Description of problem:
remote-viewer doesn't make use of USB microphone (webcam) hotplugged during virt-viewer runtime

Version-Release number of selected component (if applicable):
spice-gtk-0.20-9.el6
pulseaudio-0.9.21-14.el6_3

How reproducible:
always

Steps to Reproduce:
1. connect with remote-viewer to the VM
2. plug in webcam, verify in guest if it can see (hear) its input
3. disconnect client, reconnect client
4. verify again if microphone works in the guest

Actual results:
2. no sound input in the VM
4. sound input works

Expected results:
sound input works already at point 

Additional info:
reproducer hint: switch default device to output only before testing
hardware info: tried with a USB webcam

Comment 1 David Jaša 2013-09-26 15:36:38 UTC
Need to check how other native apps behave - if it is the same, it's likely PA or gnome-settings-daemon bug.

Comment 3 Marc-Andre Lureau 2014-03-12 18:41:59 UTC
This is hardly a Spice bug, as long as the USB device is redirected to guest.

I have tried to reproduce with a RHEL6, and after reconnecting the guest can still get the input from the webcam.

From what I can say, PulseAudio doesn't remember to use the webcam as the default input. There are various policy decision, and this tends to be changed once in a while. This shouldn't be adressed here though, since it's a generic PulseAudio issue. Feel free to prove me wrong.

Comment 4 David Jaša 2015-01-07 14:39:56 UTC
Removing needinfo on closed bugs.