how to connect to webcam of a laptop from within VRDP-client displayed by this laptop

This is for discussing general topics about how to use VirtualBox.
Post Reply
schogol
Posts: 5
Joined: 28. Feb 2023, 18:19

how to connect to webcam of a laptop from within VRDP-client displayed by this laptop

Post by schogol »

Situation:

Server SVR-A runs VBox with the guest VM-A.
Laptop LPT-X connects to SVR-A and displays VM-A via RDP (let's call the result VRDP-A).

How can I use LPT-X's built-in webcam " [§] " from within VRDP-A?
 ___________________
¦SVR-A              ¦
¦                   ¦            _____________________
¦    _________      ¦           ¦LPT-X     [§]        ¦
¦   |  VM-A   |     ¦           ¦                     ¦
¦   |         |     ¦           ¦      __________     ¦
¦   |         |     ¦           ¦     |  VRDP-A  |    ¦
¦   |         |-----¦~ ~ ~ ~ ~ ~¦---->|          |    ¦
¦   |         |     ¦           ¦     |          |    ¦
¦   |         |     ¦           ¦     '----------'    ¦
¦   '---------'     ¦           ¦                     ¦
¦                   ¦           )---------------------(
¦                   ¦          / ####################  \
¦                   ¦         / ######################  \
'-------------------'         ***************************

Sorry, this is going 'round a few corners, so I find it difficult to discribe what I actually mean.

Thank you for any help.
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: how to connect to webcam of a laptop from within VRDP-client displayed by this laptop

Post by scottgus1 »

Nice ASCII Art!

This one sounds deep. But just to clarify, do you want to feed the laptop's webcam through Virtualbox RDP to inside the OS running in the VM, so an app running in the VM can use the laptop's webcam?

FWIW Virtualbox RDP has USB over RDP: https://www.virtualbox.org/manual/ch07. ... b-over-rdp which seems to imply that a USB webcam might be able to pass over the RDP to the VM's OS.

If you can use native RDP in the OS itself and put the VM on the LAN, the RDP client may also have USB passthrough.
schogol
Posts: 5
Joined: 28. Feb 2023, 18:19

Re: how to connect to webcam of a laptop from within VRDP-client displayed by this laptop

Post by schogol »

> Nice ASCII Art!
Thank you
> This one sounds deep. But just to clarify, do you want to feed the 
> laptop's webcam through Virtualbox RDP to inside the OS running 
> in the VM, so an app running in the VM can use the laptop's webcam?
This is exactly what I want to do

I'll check out your suggestions and post the results.
Thanks a lot!
schogol
Posts: 5
Joined: 28. Feb 2023, 18:19

Re: how to connect to webcam of a laptop from within VRDP-client displayed by this laptop

Post by schogol »

no success until now, but I'll go on trying.

Actually I wished to find a way to access ANY built-in cam on ANY laptop I connect to my VRDP-A from, but even if I specify a single camera device for one single laptop within VM-A's VirtualBox USB-filters I end up with a "no camera device available" result.

The crazy thing is that LPT-X's micro and headphone devices are recognized by VRDP-A without any problems....??
Post Reply