Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
GStreamer
gst-plugins-good
Commits
f01b751e
Commit
f01b751e
authored
Jul 02, 2013
by
J. Rick Ramstetter
Committed by
Sebastian Dröge
Jul 02, 2013
Browse files
rtp: Fix documentation and comments to use rtpbin instead of old gstrtpbin
https://bugzilla.gnome.org/show_bug.cgi?id=703426
parent
5c99fefa
Changes
2
Hide whitespace changes
Inline
Side-by-side
gst/rtp/README
View file @
f01b751e
...
...
@@ -343,7 +343,7 @@ Some gst-launch-1.0 lines:
Even when sync is enabled, the two different streams will not play synchronised
against eachother because the receiver does not have enough information to
perform this task. For this you need to add the
gst
rtpbin element in both the
perform this task. For this you need to add the rtpbin element in both the
sender and receiver pipeline and use additional sources and sinks to transmit
RTCP packets used for inter-stream synchronisation.
...
...
gst/rtpmanager/gstrtpbin.c
View file @
f01b751e
...
...
@@ -18,8 +18,8 @@
*/
/**
* SECTION:element-
gst
rtpbin
* @see_also:
gst
rtpjitterbuffer,
gst
rtpsession,
gst
rtpptdemux,
gst
rtpssrcdemux
* SECTION:element-rtpbin
* @see_also: rtpjitterbuffer, rtpsession, rtpptdemux, rtpssrcdemux
*
* RTP bin combines the functions of #GstRtpSession, #GstRtpSsrcDemux,
* #GstRtpJitterBuffer and #GstRtpPtDemux in one element. It allows for multiple
...
...
@@ -36,7 +36,7 @@
* the packets are released from the jitterbuffer, they will be forwarded to a
* #GstRtpPtDemux element. The #GstRtpPtDemux element will demux the packets based
* on the payload type and will create a unique pad recv_rtp_src_\%u_\%u_\%u on
*
gst
rtpbin with the session number, SSRC and payload type respectively as the pad
* rtpbin with the session number, SSRC and payload type respectively as the pad
* name.
*
* To also use #GstRtpBin as an RTCP receiver, request a recv_rtcp_sink_\%u pad. The
...
...
@@ -58,7 +58,7 @@
* mapping. One can clear the cached values with the #GstRtpSession::clear-pt-map
* signal.
*
* Access to the internal statistics of
gst
rtpbin is provided with the
* Access to the internal statistics of rtpbin is provided with the
* get-internal-session property. This action signal gives access to the
* RTPSession object which further provides action signals to retrieve the
* internal source and other sources.
...
...
@@ -67,10 +67,10 @@
* <title>Example pipelines</title>
* |[
* gst-launch-1.0 udpsrc port=5000 caps="application/x-rtp, ..." ! .recv_rtp_sink_0 \
*
gst
rtpbin ! rtptheoradepay ! theoradec ! xvimagesink
* ]| Receive RTP data from port 5000 and send to the session 0 in
gst
rtpbin.
* rtpbin ! rtptheoradepay ! theoradec ! xvimagesink
* ]| Receive RTP data from port 5000 and send to the session 0 in rtpbin.
* |[
* gst-launch-1.0
gst
rtpbin name=rtpbin \
* gst-launch-1.0 rtpbin name=rtpbin \
* v4l2src ! videoconvert ! ffenc_h263 ! rtph263ppay ! rtpbin.send_rtp_sink_0 \
* rtpbin.send_rtp_src_0 ! udpsink port=5000 \
* rtpbin.send_rtcp_src_0 ! udpsink port=5001 sync=false async=false \
...
...
@@ -89,7 +89,7 @@
* as soon as possible and do not participate in preroll, sync=false and
* async=false is configured on udpsink
* |[
* gst-launch-1.0 -v
gst
rtpbin name=rtpbin \
* gst-launch-1.0 -v rtpbin name=rtpbin \
* udpsrc caps="application/x-rtp,media=(string)video,clock-rate=(int)90000,encoding-name=(string)H263-1998" \
* port=5000 ! rtpbin.recv_rtp_sink_0 \
* rtpbin. ! rtph263pdepay ! ffdec_h263 ! xvimagesink \
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment