pinossocketsink: add new socket sink

Add a new sink that replaces the pinospay ! multisocketsink element
pair. This would allow us to track the fds per client more closely.
This commit is contained in:
Wim Taymans 2016-04-27 12:05:45 +02:00
parent d5e333ac4b
commit c8f34750e2
9 changed files with 2588 additions and 32 deletions

View file

@ -151,17 +151,9 @@ setup_pipeline (PinosClientSource *source)
"name=src "
"caps=application/x-pinos "
"send-messages=true ! "
"pinospay ! "
"multisocketsink "
"buffers-max=2 "
"buffers-soft-max=1 "
"recover-policy=latest "
"sync-method=latest "
"pinossocketsink "
"name=sink "
"sync=true "
"enable-last-sample=false "
"send-messages=true "
"send-dispatched=true",
"enable-last-sample=false ",
NULL);
priv->sink = gst_bin_get_by_name (GST_BIN (priv->pipeline), "sink");
priv->src = gst_bin_get_by_name (GST_BIN (priv->pipeline), "src");