mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-12-23 02:26:35 +00:00
086ffd7aff
GST_PLUGIN_FEATURE_RANK=rtspsrc2:1 gst-play-1.0 [URI] Features: * Live streaming N audio and N video - With RTCP-based A/V sync * Lower transports: TCP, UDP, UDP-Multicast * RTP, RTCP SR, RTCP RR * OPTIONS DESCRIBE SETUP PLAY TEARDOWN * Custom UDP socket management, does not use udpsrc/udpsink * Supports both rtpbin and the rtpbin2 rust rewrite - Set USE_RTPBIN2=1 to use rtpbin2 (needs other MRs) * Properties: - protocols selection and priority (NEW!) - location supports rtsp[ut]:// - port-start instead of port-range Co-Authored-by: Tim-Philipp Müller <tim@centricular.com> Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1425>
43 lines
671 B
Python
43 lines
671 B
Python
import os
|
|
|
|
DIRS = [
|
|
'audio',
|
|
'generic',
|
|
'mux',
|
|
'net',
|
|
'text',
|
|
'utils',
|
|
'video',
|
|
]
|
|
|
|
# Plugins whose name is prefixed by 'rs'
|
|
RS_PREFIXED = [
|
|
'audiofx',
|
|
'closedcaption',
|
|
'file',
|
|
'onvif',
|
|
'webp',
|
|
'videofx',
|
|
'webrtc',
|
|
'png',
|
|
'tracers',
|
|
'rtp',
|
|
'rtsp',
|
|
'inter',
|
|
]
|
|
|
|
OVERRIDE = {
|
|
'ahead': 'textahead',
|
|
'flavors': 'rsflv',
|
|
'wrap': 'textwrap',
|
|
}
|
|
|
|
|
|
def iterate_plugins():
|
|
for d in DIRS:
|
|
for name in os.listdir(d):
|
|
if name in RS_PREFIXED:
|
|
name = "rs{}".format(name)
|
|
else:
|
|
name = OVERRIDE.get(name, name)
|
|
yield name
|