25 questions
0
votes
1
answer
469
views
How to do so that the browser prompts the user for the camera just once?
When using the WebRTC Javascript API, I noticed that the browser prompts the user for enabling the camera everytime the page is loaded in Firefox and Safari when calling navigator.mediaDevices....
1
vote
1
answer
1k
views
cannot read property ''enumerateDevices' of undefined over http
I create asp.net web application and copy code from https://webrtc.github.io/samples/src/content/getusermedia/canvas/
and public project to iis link http://123.111.1.222/test/camera.aspx not working ...
1
vote
0
answers
1k
views
How to only list audio devices using FFmpeg?
I am doing an audio recording project using FFmpeg 5.0.1. To list all the available audio input devices for the user to select and use, I used the function avdevice_list_input_sources(). My code goes ...
0
votes
1
answer
367
views
C++ How to map USB Camera device names/paths to USB ports
Is there any way to get all connected USB Camera devices in accordance with the USB port order?
I use something like this to get device friendly names and their paths but it's not ordered(So, I don't ...
-1
votes
2
answers
1k
views
Fetching device.description using Alsa soundlib in C++
I am new to alsa, pulseAudio, needed help with this issue.
This is the truncated output of pacmd command on my system
pacmd list-sources:
name: <alsa_input.pci-0000_00_1f.3.analog-stereo>
...
0
votes
1
answer
235
views
How do I display console log information to the user in a dropdown menu in React JSX?
I need help with displaying the information from the console log to the user.
So in order to get a list of audio and video devices connected to the user's computer, I have this code. I can only see ...
0
votes
1
answer
3k
views
navigator.mediaDevices.enumerateDevices() does not get multiple audiooutput
Project: list all media devices, then select 1 specific audio output device which is different from the default of Windows
I used enumerateDevices(), following many code examples, example here, and:
...
2
votes
0
answers
955
views
What Devices are in \\.\ Namespace?
I know I can open a physical device by CreateFile with names like "\\.\name,
e.g. "\\.\CdRom0" or "\\.\PhysicalDrive0".
Are the other available device names documented ...
0
votes
1
answer
529
views
Enumerate mediaDevices empty javascript
I want to select which camera to use. I ve found that exists: enumerateDevices()
https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/enumerateDevices
if (!navigator.mediaDevices || !...
0
votes
0
answers
91
views
Why are the interfaces in Windows.Devices internal?
I'm writing an internal nuget package for my company that will allow applications in our suite to speak to specific bluetooth devices for certain workflows. Pretty cool stuff!
But as I began the ...
0
votes
0
answers
215
views
DeviceInformation.Pairing is always null
I have a problem with Bluetooth pairing in the windows UWP device driver. I am currently on a windows 10 (Build 10240) computer and I use a vs2015. I create a device watcher with a (custom)selector to ...
1
vote
1
answer
1k
views
List only devices shown in 'Devices and Printers' panel
I am writing an application in C# that will run on a users PC and I want to list only the devices that are shown in the Windows "Devices and Printers" control panel, things like monitors, keyboard, ...
4
votes
2
answers
17k
views
Unable to get property 'enumerateDevices' of undefined or null reference
I'm using enumerateDevices (See reference here) to get the user's camera and microphones list.
This code works great on Chrome:
$(document).ready(function(){
navigator.mediaDevices....