summaryrefslogtreecommitdiff
path: root/src/pipelines.c
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2014-09-27 18:55:42 +0200
committerChristian Pointner <equinox@spreadspace.org>2014-09-27 18:55:42 +0200
commit29738cdbb602da7330223c1884222d6c61a253df (patch)
tree5bdbcd608416bf2dace2536a110d9fad67f38aed /src/pipelines.c
parentstarted receiver mode pipeline implementation (diff)
layout for receiver pipeline
Diffstat (limited to 'src/pipelines.c')
-rw-r--r--src/pipelines.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/pipelines.c b/src/pipelines.c
index 3fe09e8..af25e6c 100644
--- a/src/pipelines.c
+++ b/src/pipelines.c
@@ -267,6 +267,27 @@ GstElement* create_sender_pipeline(options_t* opt, struct udp_sinks *udp)
return pipeline;
}
+/*
+ V_RTP_CAPS='application/x-rtp,media=video,clock-rate=90000,encoding-name=VP8-DRAFT-IETF-01,caps="video/x-vp8"'
+ V_DEPAY='rtpvp8depay'
+ V_DECODER='vp8dec'
+ V_SINK='videoconvert ! videoscale add-borders=true ! xvimagesink'
+
+ A_RTP_CAPS='application/x-rtp,media=audio,clock-rate=48000,payload=96,encoding-name=X-GST-OPUS-DRAFT-SPITTKA-00,caps="audio/x-opus"'
+ A_DEPAY='rtpopusdepay'
+ A_DECODER='opusdec'
+ A_SINK='audioconvert ! autoaudiosink'
+
+ udpsrc caps=$V_RTP_CAPS port=$PORT_RTP_V ! rtpbin.recv_rtp_sink_0
+ udpsrc caps=$A_RTP_CAPS port=$PORT_RTP_A ! rtpbin.recv_rtp_sink_1
+ udpsrc port=$PORT_RTCP_V ! rtpbin.recv_rtcp_sink_0
+ udpsrc port=$PORT_RTCP_A ! rtpbin.recv_rtcp_sink_1
+
+ rtpbin. ! $V_DEPAY ! tee ! queue ! $V_DECODER ! tee ! queue ! $V_SINK
+ rtpbin. ! $A_DEPAY ! tee ! queue ! $A_DECODER ! tee ! queue ! $A_SINK
+*/
+
+
GstElement* create_receiver_pipeline(options_t* opt, struct udp_sources *udp)
{
GstElement *pipeline = gst_pipeline_new ("sydra");