mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-29 06:50:59 +00:00
67e9ba8286
Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/1410 Created a new plugin 'webrtchttp' to implement all the WebRTC HTTP protocols under /net/webrtc-http directory. WhipSink wraps around 'webrtcbin' with HTTP capabilites to exchange SDP offer/answer so an ICE/DTLS session can be established between the encoder/media producer (WHIP client) and the broadcasting ingestion endpoint (Media Server). Once the ICE/DTLS session is set up, the media will flow unidirectionally from the WHIP client to the broadcasting ingestion endpoint (Media Server). Spec: https://www.ietf.org/archive/id/draft-ietf-wish-whip-04.html
19 lines
622 B
Python
19 lines
622 B
Python
import os
|
|
|
|
DIRS = ['audio', 'generic', 'net', 'text', 'utils', 'video']
|
|
# Plugins whose name is prefixed by 'rs'
|
|
RS_PREFIXED = ['audiofx', 'closedcaption',
|
|
'dav1d', 'file', 'json', 'onvif', 'regex', 'webp']
|
|
OVERRIDE = {'wrap': 'rstextwrap', 'flavors': 'rsflv',
|
|
'ahead': 'textahead', 'tracers': 'rstracers',
|
|
'webrtc-http': 'webrtchttp'}
|
|
|
|
|
|
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
|