rtprtxqueue maintains a queue of transmitted RTP packets, up to a configurable limit (see max-size-time, max-size-packets), and retransmits them upon request from the downstream rtpsession (GstRTPRetransmissionRequest event).
This element is similar to rtprtxsend, but it has differences:
See also rtprtxsend, rtprtxreceive
Example pipelines gst-launch-1.0 rtpbin name=b rtp-profile=avpf \
audiotestsrc is-live=true ! opusenc ! rtpopuspay pt=96 ! rtprtxqueue ! b.send_rtp_sink_0 \
b.send_rtp_src_0 ! identity drop-probability=0.01 ! udpsink host="127.0.0.1" port=5000 \
udpsrc port=5001 ! b.recv_rtcp_sink_0 \
b.send_rtcp_src_0 ! udpsink host="127.0.0.1" port=5002 sync=false async=false
Sender pipeline
gst-launch-1.0 rtpbin name=b rtp-profile=avpf do-retransmission=true \
udpsrc port=5000 caps="application/x-rtp,media=(string)audio,clock-rate=(int)48000,encoding-name=(string)OPUS,payload=(int)96" ! \
b.recv_rtp_sink_0 \
b. ! rtpopusdepay ! opusdec ! audioconvert ! audioresample ! autoaudiosink \
udpsrc port=5002 ! b.recv_rtcp_sink_0 \
b.send_rtcp_src_0 ! udpsink host="127.0.0.1" port=5001 sync=false async=false
Receiver pipeline
Hierarchy Factory detailsAuthors: â Wim Taymans
Classification: â Codec
Rank â none
Plugin â rtpmanager
Package â GStreamer Good Plug-ins
Pad Templatessink
application/x-rtp:
Presence â always
Direction â sink
Object type â GstPad
src
application/x-rtp:
Presence â always
Direction â src
Object type â GstPad
Properties fulfilled-requestsâfulfilled-requestsâ guint
Number of fulfilled retransmission requests
Flags : Read
Default value : 0
max-size-packetsâmax-size-packetsâ guint
Amount of packets to queue (0 = unlimited)
Flags : Read / Write
Default value : 100
max-size-timeâmax-size-timeâ guint
Amount of ms to queue (0 = unlimited)
Flags : Read / Write
Default value : 0
requestsârequestsâ guint
Total number of retransmission requests
Flags : Read
Default value : 0
The results of the search are
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4