Skip to content
Snippets Groups Projects
Unverified Commit 10285d31 authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

Use weston for playout

parent f2f225dc
No related branches found
No related tags found
No related merge requests found
......@@ -6,6 +6,10 @@ renderer=gl
require-input=false
xwayland=false
[shell]
background-type=scale
background-image=/opt/voc/assets/bg1080.png
[output]
name=HDMI-A-5
transform=normal
......
......@@ -27,12 +27,15 @@ apt install -y \
usermod -aG audio voc
usermod -aG render voc
usermod -aG video voc
usermod -aG weston-launch voc
ln -s /opt/voc/configs/udev.rules /etc/udev/rules.d/v4l2-voc.rules
ln -s /opt/voc/services/voctomix2-recording-sink.service /etc/systemd/system/voctomix2-recording-sink.service
ln -s /opt/voc/services/voctomix2-streaming-sink.service /etc/systemd/system/voctomix2-streaming-sink.service
ln -s /opt/voc/services/voctomix2-voctocore.service /etc/systemd/system/voctomix2-voctocore.service
ln -s /opt/voc/services/weston.service /etc/systemd/system/weston.service
systemctl enable voctomix2-recording-sink.service
systemctl enable voctomix2-streaming-sink.service
systemctl enable voctomix2-voctocore.service
systemctl enable weston.service
\ No newline at end of file
[Unit]
Description=voctomix2 core
After=network.target
After=weston.service network.target
[Service]
User=voc
Group=voc
Type=notify
WorkingDirectory=/opt/voc/voctomix
ExecStart=/opt/voc/voctomix/voctocore/voctocore.py --ini-file /opt/voc/configs/voctocore-cam2.ini -vv
Environment=WAYLAND_DISPLAY=/run/user/1000/wayland-1
Environment=XDG_RUNTIME_DIR=/run/user/1000
ExecStart=/opt/voc/voctomix/voctocore/voctocore.py --ini-file /opt/voc/configs/voctocore-cam2.ini --pipeline -vv
Restart=always
RestartSec=1s
StartLimitInterval=0
......
[Unit]
Description=Weston Wayland compositor startup
After=systemd-user-sessions.service
[Service]
Type=simple
Environment=XDG_SESSION_TYPE=wayland
User=voc
PAMName=login
TTYPath=/dev/tty7
TTYReset=yes
TTYVHangup=yes
TTYVTDisallocate=yes
StandardInput=tty-fail
StandardError=journal
UtmpIdentifier=tty7
UtmpMode=user
ExecStart=/usr/bin/weston --config /opt/voc/configs/weston.ini
[Install]
WantedBy=multi-user.target
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment