/third_party/gstreamer/gstplugins_good/tests/check/elements/ |
D | rtpbin.c | 46 GstElement *rtpbin; in GST_START_TEST() local 51 rtpbin = gst_element_factory_make ("rtpbin", "rtpbin"); in GST_START_TEST() 55 rtp_sink = gst_element_request_pad_simple (rtpbin, "send_rtp_sink_0"); in GST_START_TEST() 60 rtp_src = gst_element_get_static_pad (rtpbin, "send_rtp_src_0"); in GST_START_TEST() 65 g_signal_emit_by_name (rtpbin, "get-internal-session", 0, &session); in GST_START_TEST() 70 rtcp_src = gst_element_request_pad_simple (rtpbin, "send_rtcp_src_0"); in GST_START_TEST() 74 gst_element_release_request_pad (rtpbin, rtp_sink); in GST_START_TEST() 81 fail_unless (gst_element_get_static_pad (rtpbin, "send_rtp_src_0") == NULL); in GST_START_TEST() 84 g_signal_emit_by_name (rtpbin, "get-internal-session", 0, &session); in GST_START_TEST() 89 gst_element_release_request_pad (rtpbin, rtcp_src); in GST_START_TEST() [all …]
|
D | rtpbin_buffer_list.c | 1003 get_session_source_stats (GstElement * rtpbin, guint session, in get_session_source_stats() argument 1008 g_signal_emit_by_name (rtpbin, "get-session", session, &rtpsession); in get_session_source_stats() 1018 GstElement *rtpbin; in GST_START_TEST() local 1030 rtpbin = gst_check_setup_element ("rtpbin"); in GST_START_TEST() 1033 gst_check_setup_src_pad_by_name (rtpbin, &srctemplate, "send_rtp_sink_0"); in GST_START_TEST() 1036 gst_check_setup_sink_pad_by_name (rtpbin, &sinktemplate, in GST_START_TEST() 1047 gst_check_setup_events (srcpad, rtpbin, caps, GST_FORMAT_TIME); in GST_START_TEST() 1050 gst_element_set_state (rtpbin, GST_STATE_PLAYING); in GST_START_TEST() 1057 get_session_source_stats (rtpbin, 0, TRUE, &stats); in GST_START_TEST() 1070 gst_check_teardown_pad_by_name (rtpbin, "send_rtp_src_0"); in GST_START_TEST() [all …]
|
/third_party/gstreamer/gstplugins_good/gst/rtpmanager/ |
D | gstrtpbin.h | 105 GstCaps* (*request_pt_map) (GstRtpBin *rtpbin, guint session, guint pt); 107 void (*payload_type_change) (GstRtpBin *rtpbin, guint session, guint pt); 109 …void (*new_jitterbuffer) (GstRtpBin *rtpbin, GstElement *jitterbuffer, guint session, g… 111 void (*new_storage) (GstRtpBin *rtpbin, GstElement *jitterbuffer, guint session); 114 void (*clear_pt_map) (GstRtpBin *rtpbin); 115 void (*reset_sync) (GstRtpBin *rtpbin); 116 GstElement* (*get_session) (GstRtpBin *rtpbin, guint session); 117 RTPSession* (*get_internal_session) (GstRtpBin *rtpbin, guint session); 118 GstElement* (*get_storage) (GstRtpBin *rtpbin, guint session); 119 GObject* (*get_internal_storage) (GstRtpBin *rtpbin, guint session); [all …]
|
D | gstrtpbin.c | 416 static void remove_recv_rtp (GstRtpBin * rtpbin, GstRtpBinSession * session); 417 static void remove_recv_rtcp (GstRtpBin * rtpbin, GstRtpBinSession * session); 418 static void remove_recv_fec (GstRtpBin * rtpbin, GstRtpBinSession * session); 419 static void remove_send_rtp (GstRtpBin * rtpbin, GstRtpBinSession * session); 420 static void remove_send_fec (GstRtpBin * rtpbin, GstRtpBinSession * session); 421 static void remove_rtcp (GstRtpBin * rtpbin, GstRtpBinSession * session); 424 static GstRtpBinSession *create_session (GstRtpBin * rtpbin, gint id); 425 static GstPad *complete_session_sink (GstRtpBin * rtpbin, 428 complete_session_receiver (GstRtpBin * rtpbin, GstRtpBinSession * session, 430 static GstPad *complete_session_rtcp (GstRtpBin * rtpbin, [all …]
|
/third_party/gstreamer/gstplugins_good/tests/examples/rtp/ |
D | server-VTS-H263p-ATS-PCMA.sh | 8 gst-launch-1.0 -v rtpbin name=rtpbin \ 9 videotestsrc ! $VCAPS ! avenc_h263p ! rtph263ppay ! rtpbin.send_rtp_sink_0 \ 10 rtpbin.send_rtp_src_0 ! udpsink port=5000 \ 11 rtpbin.send_rtcp_src_0 ! udpsink port=5001 sync=false async=false \ 12 udpsrc port=5005 ! rtpbin.recv_rtcp_sink_0 \ 13 audiotestsrc samplesperbuffer=1000 ! alawenc ! rtppcmapay ! rtpbin.send_rtp_sink_1 \ 14 rtpbin.send_rtp_src_1 ! udpsink port=5002 \ 15 rtpbin.send_rtcp_src_1 ! udpsink port=5003 sync=false async=false \ 16 udpsrc port=5007 ! rtpbin.recv_rtcp_sink_1
|
D | client-H263p-AMR.sh | 15 gst-launch-1.0 -v rtpbin name=rtpbin latency=100 \ 16 udpsrc caps=$VIDEO_CAPS port=5000 ! rtpbin.recv_rtp_sink_0 \ 17 rtpbin. ! $VIDEO_DEC ! $VIDEO_SINK \ 18 udpsrc port=5001 ! rtpbin.recv_rtcp_sink_0 \ 19 rtpbin.send_rtcp_src_0 ! udpsink port=5005 sync=false async=false \ 20 udpsrc caps=$AUDIO_CAPS port=5002 ! rtpbin.recv_rtp_sink_1 \ 21 rtpbin. ! $AUDIO_DEC ! $AUDIO_SINK \ 22 udpsrc port=5003 ! rtpbin.recv_rtcp_sink_1 \ 23 rtpbin.send_rtcp_src_1 ! udpsink port=5007 sync=false async=false
|
D | server-v4l2-H264-alsasrc-PCMA.sh | 70 gst-launch-1.0 -v rtpbin name=rtpbin \ 71 $VSOURCE ! $VENC ! rtpbin.send_rtp_sink_0 \ 72 rtpbin.send_rtp_src_0 ! $VRTPSINK \ 73 rtpbin.send_rtcp_src_0 ! $VRTCPSINK \ 74 $VRTCPSRC ! rtpbin.recv_rtcp_sink_0 \ 75 $ASOURCE ! $AENC ! rtpbin.send_rtp_sink_1 \ 76 rtpbin.send_rtp_src_1 ! $ARTPSINK \ 77 rtpbin.send_rtcp_src_1 ! $ARTCPSINK \ 78 $ARTCPSRC ! rtpbin.recv_rtcp_sink_1
|
D | client-H263p-PCMA.sh | 20 gst-launch-1.0 -v rtpbin name=rtpbin latency=$LATENCY \ 21 udpsrc caps=$VIDEO_CAPS port=5000 ! rtpbin.recv_rtp_sink_0 \ 22 rtpbin. ! $VIDEO_DEC ! $VIDEO_SINK \ 23 udpsrc port=5001 ! rtpbin.recv_rtcp_sink_0 \ 24 rtpbin.send_rtcp_src_0 ! udpsink host=$DEST port=5005 sync=false async=false \ 25 udpsrc caps=$AUDIO_CAPS port=5002 ! rtpbin.recv_rtp_sink_1 \ 26 rtpbin. ! $AUDIO_DEC ! $AUDIO_SINK \ 27 udpsrc port=5003 ! rtpbin.recv_rtcp_sink_1 \ 28 rtpbin.send_rtcp_src_1 ! udpsink host=$DEST port=5007 sync=false async=false
|
D | client-H264-PCMA.sh | 56 gst-launch-1.0 -v rtpbin name=rtpbin latency=$LATENCY \ 57 udpsrc caps=$VIDEO_CAPS port=5000 ! rtpbin.recv_rtp_sink_0 \ 58 rtpbin. ! $VIDEO_DEC ! $VIDEO_SINK \ 59 udpsrc port=5001 ! rtpbin.recv_rtcp_sink_0 \ 60 rtpbin.send_rtcp_src_0 ! udpsink port=5005 host=$DEST sync=false async=false \ 61 udpsrc caps=$AUDIO_CAPS port=5002 ! rtpbin.recv_rtp_sink_1 \ 62 rtpbin. ! $AUDIO_DEC ! $AUDIO_SINK \ 63 udpsrc port=5003 ! rtpbin.recv_rtcp_sink_1 \ 64 rtpbin.send_rtcp_src_1 ! udpsink port=5007 host=$DEST sync=false async=false
|
D | server-VTS-VP8-ATS-OPUS.sh | 10 gst-launch-1.0 -v rtpbin name=rtpbin \ 11 videotestsrc ! $VCAPS ! vp8enc ! rtpvp8pay ! rtpbin.send_rtp_sink_0 \ 12 … rtpbin.send_rtp_src_0 ! udpsink host=$DEST port=5000 \ 13 … rtpbin.send_rtcp_src_0 ! udpsink host=$DEST port=5001 sync=false async=false \ 14 … udpsrc address=$SRC port=5005 ! rtpbin.recv_rtcp_sink_0 \ 15 audiotestsrc ! opusenc ! rtpopuspay ! rtpbin.send_rtp_sink_1 \ 16 rtpbin.send_rtp_src_1 ! udpsink host=$DEST port=5002 \ 17 rtpbin.send_rtcp_src_1 ! udpsink host=$DEST port=5003 sync=false async=false \ 18 udpsrc address=$SRC port=5007 ! rtpbin.recv_rtcp_sink_1
|
D | server-v4l2-H263p-alsasrc-AMR.sh | 17 gst-launch-1.0 -v rtpbin name=rtpbin \ 18 …v4l2src ! videorate ! videoconvert ! $VCAPS ! avenc_h263p ! rtph263ppay ! rtpbin.send_rtp_sink_0 … 19 … rtpbin.send_rtp_src_0 ! queue ! udpsink host=$DEST port=5000 ts-offset=$AOFFSET \ 20 … rtpbin.send_rtcp_src_0 ! udpsink host=$DEST port=5001 sync=false async=false \ 21 … udpsrc port=5005 ! rtpbin.recv_rtcp_sink_0 \ 22 …autoaudiosrc ! audioconvert ! amrnbenc ! rtpamrpay ! rtpbin.send_rtp_sink_1 … 23 rtpbin.send_rtp_src_1 ! queue ! udpsink host=$DEST port=5002 ts-offset=$VOFFSET \ 24 rtpbin.send_rtcp_src_1 ! udpsink host=$DEST port=5003 sync=false async=false \ 25 udpsrc port=5007 ! rtpbin.recv_rtcp_sink_1
|
D | client-VP8-OPUS.sh | 20 gst-launch-1.0 -v rtpbin name=rtpbin latency=$LATENCY \ 21 … udpsrc caps=$VIDEO_CAPS address=$SRC port=5000 ! rtpbin.recv_rtp_sink_0 \ 22 rtpbin. ! $VIDEO_DEC ! $VIDEO_SINK \ 23 … udpsrc address=$SRC port=5001 ! rtpbin.recv_rtcp_sink_0 \ 24 rtpbin.send_rtcp_src_0 ! udpsink host=$DEST port=5005 sync=false async=false \ 25 udpsrc caps=$AUDIO_CAPS address=$SRC port=5002 ! rtpbin.recv_rtp_sink_1 \ 26 rtpbin. ! $AUDIO_DEC ! $AUDIO_SINK \ 27 … udpsrc address=$SRC port=5003 ! rtpbin.recv_rtcp_sink_1 \ 28 rtpbin.send_rtcp_src_1 ! udpsink host=$DEST port=5007 sync=false async=false
|
D | server-decodebin-H263p-AMR.sh | 38 gst-launch-1.0 -v rtpbin name=rtpbin \ 40 decode. ! $VCONV ! $VENCPAY ! rtpbin.send_rtp_sink_0 \ 41 … rtpbin.send_rtp_src_0 ! queue ! udpsink host=$HOST port=5000 ts-offset=$AOFFSET \ 42 … rtpbin.send_rtcp_src_0 ! udpsink host=$HOST port=5001 sync=false async=false \ 43 … udpsrc port=5005 ! rtpbin.recv_rtcp_sink_0 \ 44 decode. ! $ACONV ! $AENCPAY ! rtpbin.send_rtp_sink_1 \ 45 rtpbin.send_rtp_src_1 ! queue ! udpsink host=$HOST port=5002 ts-offset=$VOFFSET \ 46 rtpbin.send_rtcp_src_1 ! udpsink host=$HOST port=5003 sync=false async=false \ 47 udpsrc port=5007 ! rtpbin.recv_rtcp_sink_1
|
D | client-PCMA.c | 81 on_ssrc_active_cb (GstElement * rtpbin, guint sessid, guint ssrc, in on_ssrc_active_cb() argument 89 g_signal_emit_by_name (rtpbin, "get-internal-session", sessid, &session); in on_ssrc_active_cb() 108 pad_added_cb (GstElement * rtpbin, GstPad * new_pad, GstElement * depay) in pad_added_cb() argument 134 GstElement *rtpbin, *rtpsrc, *rtcpsrc, *rtcpsink; in main() local 193 rtpbin = gst_element_factory_make ("rtpbin", "rtpbin"); in main() 194 g_assert (rtpbin); in main() 196 gst_bin_add (GST_BIN (pipeline), rtpbin); in main() 200 sinkpad = gst_element_request_pad_simple (rtpbin, "recv_rtp_sink_0"); in main() 207 sinkpad = gst_element_request_pad_simple (rtpbin, "recv_rtcp_sink_0"); in main() 214 srcpad = gst_element_request_pad_simple (rtpbin, "send_rtcp_src_0"); in main() [all …]
|
D | server-alsasrc-PCMA.c | 79 print_stats (GstElement * rtpbin) in print_stats() argument 89 g_signal_emit_by_name (rtpbin, "get-internal-session", 0, &session); in print_stats() 121 GstElement *rtpbin, *rtpsink, *rtcpsink, *rtcpsrc; in main() local 157 rtpbin = gst_element_factory_make ("rtpbin", "rtpbin"); in main() 158 g_assert (rtpbin); in main() 160 gst_bin_add (GST_BIN (pipeline), rtpbin); in main() 180 sinkpad = gst_element_request_pad_simple (rtpbin, "send_rtp_sink_0"); in main() 188 srcpad = gst_element_get_static_pad (rtpbin, "send_rtp_src_0"); in main() 196 srcpad = gst_element_request_pad_simple (rtpbin, "send_rtcp_src_0"); in main() 205 sinkpad = gst_element_request_pad_simple (rtpbin, "recv_rtcp_sink_0"); in main() [all …]
|
D | client-PCMA.sh | 35 gst-launch-1.0 -v rtpbin name=rtpbin \ 36 udpsrc caps=$AUDIO_CAPS port=5002 ! rtpbin.recv_rtp_sink_0 \ 37 rtpbin. ! $AUDIO_DEC ! $AUDIO_SINK \ 38 udpsrc port=5003 ! rtpbin.recv_rtcp_sink_0 \ 39 rtpbin.send_rtcp_src_0 ! udpsink port=5007 host=$DEST sync=false async=false
|
D | client-H264.sh | 38 gst-launch-1.0 -v rtpbin name=rtpbin latency=$LATENCY \ 39 udpsrc caps=$VIDEO_CAPS port=5000 ! rtpbin.recv_rtp_sink_0 \ 40 rtpbin. ! $VIDEO_DEC ! $VIDEO_SINK \ 41 udpsrc port=5001 ! rtpbin.recv_rtcp_sink_0 \ 42 rtpbin.send_rtcp_src_0 ! udpsink port=5005 host=$DEST sync=false async=false
|
D | server-alsasrc-PCMA.sh | 31 gst-launch-1.0 -v rtpbin name=rtpbin \ 32 $ASOURCE ! $AENC ! rtpbin.send_rtp_sink_0 \ 33 rtpbin.send_rtp_src_0 ! udpsink port=5002 host=$DEST \ 34 rtpbin.send_rtcp_src_0 ! udpsink port=5003 host=$DEST sync=false async=false \ 35 udpsrc port=5007 ! rtpbin.recv_rtcp_sink_0
|
D | client-H263p.sh | 17 gst-launch-1.0 -v rtpbin name=rtpbin latency=$LATENCY \ 18 udpsrc caps=$VIDEO_CAPS port=5000 ! rtpbin.recv_rtp_sink_0 \ 19 rtpbin. ! $VIDEO_DEC ! $VIDEO_SINK \ 20 udpsrc port=5001 ! rtpbin.recv_rtcp_sink_0 \ 21 rtpbin.send_rtcp_src_0 ! udpsink host=$DEST port=5005 sync=false async=false
|
D | client-H264-rtx.sh | 38 gst-launch-1.0 -v rtpbin name=rtpbin rtp-profile=avpf latency=$LATENCY do-retransmission=1 \ 39 udpsrc caps=$VIDEO_CAPS port=5000 ! rtpbin.recv_rtp_sink_0 \ 40 rtpbin. ! $VIDEO_DEC ! $VIDEO_SINK \ 41 udpsrc port=5001 ! rtpbin.recv_rtcp_sink_0 \ 42 rtpbin.send_rtcp_src_0 ! udpsink port=5005 host=$DEST sync=false async=false
|
D | server-VTS-H264-rtx.sh | 43 gst-launch-1.0 -v rtpbin name=rtpbin rtp-profile=avpf \ 44 $VSOURCE ! $VENC ! rtprtxqueue ! rtpbin.send_rtp_sink_0 \ 45 rtpbin.send_rtp_src_0 ! identity drop-probability=0.1 ! $VRTPSINK \ 46 rtpbin.send_rtcp_src_0 ! $VRTCPSINK \ 47 $VRTCPSRC ! rtpbin.recv_rtcp_sink_0
|
D | client-PCMA.py | 47 def pad_added_cb(rtpbin, new_pad, depay): argument 93 rtpbin = Gst.ElementFactory.make('rtpbin', 'rtpbin') variable 95 pipeline.add(rtpbin) 99 sinkpad = Gst.Element.get_request_pad(rtpbin, 'recv_rtp_sink_0') 104 sinkpad = Gst.Element.get_request_pad(rtpbin, 'recv_rtcp_sink_0') 108 srcpad = Gst.Element.get_request_pad(rtpbin, 'send_rtcp_src_0') 112 rtpbin.connect('pad-added', pad_added_cb, audiodepay)
|
D | server-alsasrc-PCMA.py | 48 rtpbin = Gst.ElementFactory.make('rtpbin', 'rtpbin') variable 50 pipeline.add(rtpbin) 70 sinkpad = Gst.Element.get_request_pad(rtpbin, 'send_rtp_sink_0') 76 srcpad = Gst.Element.get_static_pad(rtpbin, 'send_rtp_src_0') 81 srcpad = Gst.Element.get_request_pad(rtpbin, 'send_rtcp_src_0') 88 sinkpad = Gst.Element.get_request_pad(rtpbin, 'recv_rtcp_sink_0')
|
/third_party/gstreamer/gstplugins_bad/gst/rtp/ |
D | gstrtpsrc.c | 119 gst_rtp_src_rtpbin_request_pt_map_cb (GstElement * rtpbin, guint session_id, in gst_rtp_src_rtpbin_request_pt_map_cb() argument 247 g_object_set (self->rtpbin, "latency", g_value_get_uint (value), NULL); in gst_rtp_src_set_property() 310 g_object_get_property (G_OBJECT (self->rtpbin), "latency", value); in gst_rtp_src_get_property() 485 clear_ssrc (GstElement * rtpbin, GstPad * gpad) in clear_ssrc() argument 501 g_signal_emit_by_name (rtpbin, "clear-ssrc", 0, ssrc); in clear_ssrc() 579 gst_rtp_src_rtpbin_on_ssrc_collision_cb (GstElement * rtpbin, guint session_id, in gst_rtp_src_rtpbin_on_ssrc_collision_cb() argument 590 gst_rtp_src_rtpbin_on_new_ssrc_cb (GstElement * rtpbin, guint session_id, in gst_rtp_src_rtpbin_on_new_ssrc_cb() argument 804 self->rtpbin = NULL; in gst_rtp_src_init() 832 self->rtpbin = gst_element_factory_make ("rtpbin", "rtp_recv_rtpbin0"); in gst_rtp_src_init() 833 if (self->rtpbin == NULL) { in gst_rtp_src_init() [all …]
|
/third_party/pulseaudio/src/modules/rtp/ |
D | rtp-gstreamer.c | 85 GstElement *appsrc = NULL, *pay = NULL, *capsf = NULL, *rtpbin = NULL, *sink = NULL; in init_send_pipeline() local 102 MAKE_ELEMENT(rtpbin, "rtpbin"); in init_send_pipeline() 107 gst_bin_add_many(GST_BIN(c->pipeline), appsrc, pay, capsf, rtpbin, sink, NULL); in init_send_pipeline() 157 !gst_element_link_pads(capsf, "src", rtpbin, "send_rtp_sink_0") || in init_send_pipeline() 158 !gst_element_link_pads(rtpbin, "send_rtp_src_0", sink, "sink")) { in init_send_pipeline() 166 !gst_element_link_pads(capsf, "src", rtpbin, "send_rtp_sink_0") || in init_send_pipeline() 167 !gst_element_link_pads(rtpbin, "send_rtp_src_0", sink, "sink")) { in init_send_pipeline() 196 if (rtpbin) in init_send_pipeline() 197 gst_object_unref(rtpbin); in init_send_pipeline() 423 GstElement *udpsrc = NULL, *rtpbin = NULL, *depay = NULL, *appsink = NULL; in init_receive_pipeline() local [all …]
|