enable or allow access to Microphone and Camera in WebViewWidget

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
skinkairewalker
Enthusiast
Enthusiast
Posts: 772
Joined: Fri Dec 04, 2015 9:26 pm

enable or allow access to Microphone and Camera in WebViewWidget

Post 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
k3pto
User
User
Posts: 87
Joined: Sat Jan 17, 2015 5:24 pm

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

Post 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.
Last edited by k3pto on Mon Aug 26, 2024 1:50 am, edited 1 time in total.
Quin
Addict
Addict
Posts: 1122
Joined: Thu Mar 31, 2022 7:03 pm
Location: Colorado, United States
Contact:

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

Post by Quin »

+1 from me, the microphone access could be especially helpful since PB doesn't wrap Miniaudio's recording API (yet).
infratec
Always Here
Always Here
Posts: 7575
Joined: Sun Sep 07, 2008 12:45 pm
Location: Germany

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

Post by infratec »

k3pto
User
User
Posts: 87
Joined: Sat Jan 17, 2015 5:24 pm

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

Post 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.
technopol
User
User
Posts: 27
Joined: Thu Mar 24, 2011 11:00 pm

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

Post 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).
Last edited by technopol on Tue Sep 10, 2024 2:43 am, edited 1 time in total.
User avatar
jacdelad
Addict
Addict
Posts: 1991
Joined: Wed Feb 03, 2021 12:46 pm
Location: Riesa

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

Post 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!
Good morning, that's a nice tnetennba!

PureBasic 6.21/Windows 11 x64/Ryzen 7900X/32GB RAM/3TB SSD
Synology DS1821+/DX517, 130.9TB+50.8TB+2TB SSD
technopol
User
User
Posts: 27
Joined: Thu Mar 24, 2011 11:00 pm

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

Post by technopol »

Corrected.
USCode
Addict
Addict
Posts: 923
Joined: Wed Mar 24, 2004 11:04 pm
Location: Seattle

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

Post by USCode »

+1 for new libraries to allow Microphone and Camera access! :mrgreen:
User avatar
skinkairewalker
Enthusiast
Enthusiast
Posts: 772
Joined: Fri Dec 04, 2015 9:26 pm

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

Post by skinkairewalker »

+1
Post Reply