Open FrayxRulez opened 3 years ago
In addition to this, capabilities from device profile, get as profile_id
the id of the actual VideoProfile
, and I'm 99% sure that this is wrong as well. Unfortunately I don't have any device supporting profiles to test myself.
Describe the bug Currently,
VideoCaptureWinRTInternal::StartCapture
chooses which device to use fromcapability.profile_id
. The problem is that this id is never assigned for capabilities retrieved fromVideoMediaController
. Thus, if the user has multiple cameras connected, only the first one gets selected.