voc2mix - FOSDEM/video GitHub Wiki
For voc2mix, an external way is needed to keep the ingestion alive in case it cuts out. This pipeline does that. It requires the gstreamer gst-fallbackswitch plugin. Not yet packaged in Debian at the tie of this writing.
Below is a dump of experiments in that direction:
LANG=C GST_PLUGIN_PATH="/root/src/gst-plugin-rs/target/x86_64-unknown-linux-gnu/debug:$GST_PLUGIN_PATH" gst-launch-1.0 fallbacksrc uri=http://172.22.10.184:80 fallback-uri=file:/tmp/fallback.png name=d ! queue ! videoconvert ! video/x-raw,format=I420,width=1920,height=1080,framerate=30/1,pixel-aspect-ratio=1/1,interlace-mode=progressive,colorimetry=bt709 ! matroskamux name=m ! tcpclientsink host=localhost port=10000 d. ! queue ! audioconvert ! audio/x-raw,format=S16LE,channels=2,layout=interleaved,rate=48000 ! m.