Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jul 2019 22:46:51 +0200
From:      Frederic Chardon <chardon.frederic@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   No webcam in chrome (works in firefox)
Message-ID:  <CAMODbkmYqnhq8cyHukBmttAEkrPE6xcVPrVgzgUN34BRGgMLqQ@mail.gmail.com>

next in thread | raw e-mail | index | archive | help

Hi

I can't make chrome to recognize my webcam. webcamd is running, pwcview,
firefox or mpv all works
Ports are at revision 507476 and base at 350255 (amd64).

There is no camera listed in chrome://media-internals and typing
"navigator.mediaDevices.getUserMedia({video:true});" in the javascript
console throw a NotFoundError.

ktrace shows that open() succeed
 83513 chrome   CALL  openat(AT_FDCWD,0x81812d101,0<O_RDONLY>)
 83513 chrome   NAMI  "/dev/video0"
 83513 chrome   RET   openat 159/0x9f
 83513 chrome   CALL  ioctl(0x9f,0x40685600,0x7fffde9f2aa8)
 83513 chrome   RET   ioctl 0
 83513 chrome   CALL  close(0x9f)
 83513 chrome   RET   close 0

So this is rather not a permission issue (and anyway, the other programs
all work)

Is it a known issue? Or am I missing something?
Thanks



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMODbkmYqnhq8cyHukBmttAEkrPE6xcVPrVgzgUN34BRGgMLqQ>