@@ -0,0 +1,12 @@
+[Unit]
+Description=Camera 2 feed service
+After=syslog.target network.target
+
+[Service]
+Type=simple
+ExecStart=/home/curso/snowmix/camera2/feed-cam.sh
+Restart=always
+RestartSec=3
+[Install]
+WantedBy=multi-user.target
@@ -0,0 +1,6 @@
+#!/bin/bash
+BITRATE=17000000 #17Mb/s is the default
+gst-launch-1.0 -qe rpicamsrc rotation=270 preview=0 bitrate=$BITRATE sensor-mode=4 do-timestamp=true !\
+ video/x-h264, width=1280, height=720, framerate=25/1, profile=high !\
+ h264parse ! matroskamux ! tcpserversink host=0.0.0.0 port=5000 sync-method=burst-keyframe
@@ -0,0 +1,4 @@
+HOST="192.168.2.155:5003,192.168.2.123:5003"
+gst-launch-1.0 $SRC ! queue ! audioconvert ! audioresample ! audio/x-raw,format=S16LE,channels=2,rate=48000,layout=interleaved ! multiudpsink clients=$HOST
+Description=Microphones feed service
+ExecStart=/home/curso/snowmix/mic1/feed-mic.sh