Skip to content
This repository was archived by the owner on Aug 19, 2025. It is now read-only.

Commit 510c792

Browse files
shivasku82sysopenci
authored andcommitted
set virtual nodes to max supported resolutions
set virtual nodes to max supported resolutions to support all possible resolutions Tracked-On: OAM-102848 Signed-off-by: shivasku82 <shiva.kumara.rudrappa@intel.com>
1 parent 4edbe39 commit 510c792

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

scripts/setup_host.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ function install_virtualcamera_service() {
3232
echo -e "After=default.target\n" >> $service_file
3333
echo "[Service]" >> $service_file
3434
echo -e "ExecStartPre=/usr/sbin/modprobe v4l2loopback devices=2 video_nr=6,7 card_label=\"VCam0\",\"VCam1\" exclusive_caps=1,1\n" >> $service_file
35-
echo -e "ExecStart=/usr/bin/IntelCameraService -i /dev/video0 -o /dev/video6 -o /dev/video7\n" >> $service_file
35+
echo -e "ExecStart=/usr/bin/IntelCameraService -i /dev/video0 -o /dev/video6 -o /dev/video7 -w 1920 -h 1080 -f MJPG\n" >> $service_file
3636
echo -e "SuccessExitStatus=255\n" >> $service_file
3737
echo -e "Restart=always\n" >> $service_file
3838
echo -e "RestartSec=10\n" >> $service_file
@@ -86,6 +86,7 @@ function install_virtual_camera() {
8686
fi
8787

8888
echo "Install IntelCameraService in /usr/bin/ ..."
89+
sudo chmod 777 scripts/cam_sharing/IntelCameraService
8990
sudo cp ./scripts/cam_sharing/IntelCameraService /usr/bin/
9091

9192
echo "Install virtualcamera.service in /lib/systemd/system/ ..."

0 commit comments

Comments
 (0)