Page 1 of 1

enable or allow access to Microphone and Camera in WebViewWidget

Posted: Tue Jun 04, 2024 8:41 pm
by skinkairewalker
Hello everyone, I would like to request a feature in WebViewGadget:
* enable or allow access to Microphone & Camera in WebViewGadget

below there is a way , apparently to enable support for sound and video input it needs to be done internally in pb .

https://learn.microsoft.com/en-us/micro ... .0.2478.35

Re: enable or allow access to Microphone and Camera in WebViewWidget

Posted: Sat Aug 17, 2024 5:30 pm
by k3pto
Hi,
This is not really a reply but is a second to the request for a real-time camera feature.

I would like the feature to be available other than via the web. I have a USB camera that I would like to view.

Re: enable or allow access to Microphone and Camera in WebViewWidget

Posted: Sat Aug 17, 2024 5:43 pm
by Quin
+1 from me, the microphone access could be especially helpful since PB doesn't wrap Miniaudio's recording API (yet).

Re: enable or allow access to Microphone and Camera in WebViewWidget

Posted: Sat Aug 17, 2024 6:32 pm
by infratec

Re: enable or allow access to Microphone and Camera in WebViewWidget

Posted: Wed Aug 21, 2024 6:46 pm
by k3pto
Hi Infratec,

The link shows some interesting code but I have no idea how to use it to get camera access. Would you please show a short example.

Re: enable or allow access to Microphone and Camera in WebViewWidget

Posted: Tue Sep 10, 2024 12:21 am
by technopol
I will try to get access to UVC standard video camera capture with this:
https://learn.microsoft.com/en-us/windo ... foundation

or with DirectShow for backward compatibility
https://learn.microsoft.com/en-us/windo ... directshow

But direct simple support in PB would be sooooo cool and helpful (or at least some code examples using WinAPI).

Re: enable or allow access to Microphone and Camera in WebViewWidget

Posted: Tue Sep 10, 2024 12:56 am
by jacdelad
technopol wrote: Tue Sep 10, 2024 12:21 am I will try to get access to UVC standard video camera capture with this:
learn.microsoft.com/en-us/windows/win32 ... foundation

or with DirectShow for backward compatibility
learn.microsoft.com/en-us/windows/win32 ... directshow

But direct simple support in PB would be sooooo cool and helpful (or at least some code examples using WinAPI).
Your URLs are broken!

Re: enable or allow access to Microphone and Camera in WebViewWidget

Posted: Tue Sep 10, 2024 2:49 am
by technopol
Corrected.

Re: enable or allow access to Microphone and Camera in WebViewWidget

Posted: Sat Mar 08, 2025 12:34 am
by USCode
+1 for new libraries to allow Microphone and Camera access! :mrgreen:

Re: enable or allow access to Microphone and Camera in WebViewWidget

Posted: Sun Mar 09, 2025 12:44 pm
by infratec

Re: enable or allow access to Microphone and Camera in WebViewWidget

Posted: Tue Mar 25, 2025 6:21 pm
by skinkairewalker
+1