I’m currently facing an issue with running WebRTC on the server as headless chromium. I’m trying to run the following command to access the camera:
docker run -eMACHINE -d --rm --name=chromium
-v /tmp:/tmp -v /var/run/dbus:/var/run/dbus
-v /dev/galcore:/dev/galcore --device-cgroup-rule=‘c 199:* rmw’
–device /dev/video2
–security-opt seccomp=unconfined --shm-size 256mb
torizon/chromium:$CT_TAG_CHROMIUM
–virtual-keyboard
–incognito
–headless
–remote-debugging-port=7717
–disable-web-security
–no-sandbox
–use-fake-ui-for-media-stream
–ignore-certificate-errors
–alsa-output-device=alsa_output.platform-sound.analog-stereo https:///?BOT_KUM
Unfortunately, I’m unable to access the camera from this command. Can you please suggest a solution to this issue? Any help would be greatly appreciated.