RTMP to HLS Example
This example passes an RTMP input through to HLS files without transcoding. Use an input with codecs supported by your HLS player, such as H.264 and AAC.
Replace YOUR_INPUT_HOST and YOUR_INPUT_STREAM_KEY with your RTMP input.
Mount a writable directory at /output for the resulting HLS files.
toml
# Vindral Bridge Packager example
# Package RTMP as HLS without transcoding.
# For Vindral Live, publish over MoQ or the Vindral WebSocket transport instead; Vindral Live can generate HLS for you.
version = "3"
[[sources]]
id = "rtmp-in"
source_type = "flv"
[sources.protocol_options.url]
type = "string"
value = "rtmp://YOUR_INPUT_HOST/live/YOUR_INPUT_STREAM_KEY"
[[sinks]]
id = "hls"
sink_type = "hls"
source_ids = ["rtmp-in"]
[sinks.protocol_options.url]
type = "string"
value = "file:///output/"
Mount a writable host directory at /output when starting the container. The
sink creates playlists and media files there; it does not serve HTTP. Wait for
segments, inspect *.m3u8, and serve the directory through your playback
infrastructure. For a local fixture, run the quickstart;
see Recording for packaging and retention settings.