[Bug 268725] www/chromium: webcam device not detected

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 28 Mar 2023 11:26:33 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268725

--- Comment #4 from Marcin Cieślak <saper@saper.info> ---
Also tried the following from the developer console of where Teams were open:

function gotMedia(mediaStream) {
    const mediaStreamTrack = mediaStream.getVideoTracks()[0];
    const imageCapture = new ImageCapture(mediaStreamTrack);
    console.log(imageCapture);
}
navigator.mediaDevices.getUserMedia({video: true})
    .then(gotMedia)
    .catch(error => console.error('getUserMedia() error:', error));
Promise {<pending>}

ImageCapture {track: MediaStreamTrack}
track: MediaStreamTrackcontent
Hint: ""enabled: 
trueid: "25b1e53b-e0ca-4315-883d-04c315c0a44e"
kind: "video"
label: ""
muted: false
oncapturehandlechange: null
onended: null
onmute: null
onunmute: null
readyState: "live"

(plus some object prototypes)

-- 
You are receiving this mail because:
You are the assignee for the bug.