Commit cfb68fb0 authored by Carl Karsten's avatar Carl Karsten Committed by Ivo De Decker

vocto test: 3 sources, all test patterens. no hardware needed.

parent 5719150f
---
sources:
- Test1
- Test2
- Test3
ingest_sources:
- description: "test pattern: bars and beeps"
video-source: test
video-attribs: pattern=smpte
audio-source: test
audio-attribs: wave=ticks
port: 10000
- description: "test pattern: ball and white-noise"
video-source: test
video-attribs: pattern=ball
audio-source: test
audio-attribs: wave=white-noise
port: 10001
- description: "test pattern: viz and beep"
video-source: spacescope
video-attribs:
audio-source: test
audio-attribs: wave=ticks
port: 10002
......@@ -13,9 +13,11 @@ gw
tftp-dhcp-server
opsis
voctomix
voctotest
[opsis]
opsis1
[voctomix]
voctomix1
voctotest
---
- name: install ingest systemd units
template:
src: templates/videoteam-ingest.service.j2
dest: "/etc/systemd/user/\
videoteam-ingest-{{ item.0 }}.service"
with_indexed_items: "{{ ingest_sources }}"
notify: reload-systemd
- name: enable ingest systemd units
file:
state: link
src: /etc/systemd/user/videoteam-ingest-{{ item.0 }}.service
dest: "/home/{{ user_name }}/.config/systemd/user/xlogin.target.wants/\
videoteam-ingest-{{ item.0 }}.service"
owner: "{{ user_name }}"
group: "{{ user_name }}"
with_indexed_items: "{{ ingest_sources }}"
......@@ -9,6 +9,9 @@
- include_tasks: blackmagic.yml
when: blackmagic_sources is defined
- include_tasks: ingest.yml
when: ingest_sources is defined
- include_tasks: scripts.yml
- include_tasks: rtmp.yml
......
[Unit]
Description=Voctomix ingest source {{ item.0 }}: {{ item.1.description }}
After=videoteam-voctocore.service
Requires=videoteam-voctocore.service
StartLimitIntervalSec=0
Conflicts=xlogout.target
[Service]
ExecStart=/usr/bin/voctomix-ingest -v \
--video-source {{ item.1['video-source'] }} \
--video-attribs '{{ item.1['video-attribs'] }}' \
--audio-source {{ item.1['audio-source'] }} \
--audio-attribs '{{ item.1['audio-attribs'] }}' \
--port {{ item.1.port }}
Restart=always
RestartSec=1s
[Install]
WantedBy=xlogin.target
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment