From 29738cdbb602da7330223c1884222d6c61a253df Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sat, 27 Sep 2014 18:55:42 +0200 Subject: layout for receiver pipeline --- src/pipelines.c | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'src') 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"); -- cgit v1.2.3