gst-plugins-rs/ci/utils.py
Nirbheek Chauhan 086ffd7aff New RTSP source plugin with live streaming support
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>
2024-02-07 20:29:18 +05:30

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