Home
last modified time | relevance | path

Searched refs:rtpbin (Results 1 – 25 of 49) sorted by relevance

12

/third_party/gstreamer/gstplugins_good/tests/check/elements/
Drtpbin.c46 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 …]
Drtpbin_buffer_list.c1003 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/
Dgstrtpbin.h105 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 …]
Dgstrtpbin.c416 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/
Dserver-VTS-H263p-ATS-PCMA.sh8 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
Dclient-H263p-AMR.sh15 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
Dserver-v4l2-H264-alsasrc-PCMA.sh70 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
Dclient-H263p-PCMA.sh20 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
Dclient-H264-PCMA.sh56 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
Dserver-VTS-VP8-ATS-OPUS.sh10 gst-launch-1.0 -v rtpbin name=rtpbin \
11 videotestsrc ! $VCAPS ! vp8enc ! rtpvp8pay ! rtpbin.send_rtp_sink_0 \
12rtpbin.send_rtp_src_0 ! udpsink host=$DEST port=5000 \
13rtpbin.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
Dserver-v4l2-H263p-alsasrc-AMR.sh17 gst-launch-1.0 -v rtpbin name=rtpbin \
18 …v4l2src ! videorate ! videoconvert ! $VCAPS ! avenc_h263p ! rtph263ppay ! rtpbin.send_rtp_sink_0 …
19rtpbin.send_rtp_src_0 ! queue ! udpsink host=$DEST port=5000 ts-offset=$AOFFSET \
20rtpbin.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
Dclient-VP8-OPUS.sh20 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
Dserver-decodebin-H263p-AMR.sh38 gst-launch-1.0 -v rtpbin name=rtpbin \
40 decode. ! $VCONV ! $VENCPAY ! rtpbin.send_rtp_sink_0 \
41rtpbin.send_rtp_src_0 ! queue ! udpsink host=$HOST port=5000 ts-offset=$AOFFSET \
42rtpbin.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
Dclient-PCMA.c81 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 …]
Dserver-alsasrc-PCMA.c79 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 …]
Dclient-PCMA.sh35 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
Dclient-H264.sh38 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
Dserver-alsasrc-PCMA.sh31 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
Dclient-H263p.sh17 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
Dclient-H264-rtx.sh38 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
Dserver-VTS-H264-rtx.sh43 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
Dclient-PCMA.py47 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)
Dserver-alsasrc-PCMA.py48 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/
Dgstrtpsrc.c119 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/
Drtp-gstreamer.c85 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 …]

12