RTMP to RTMP proxy
Below is a simple example of a RTMP to RTMP proxy with passthrough.
Replace YOUR_INPUT_HOST and YOUR_INPUT_STREAM_KEY with your RTMP input,
and YOUR_INGEST_HOST and YOUR_STREAM_KEY with the publishing destination.
Use the full URLs supplied by those services if their paths differ.
Download rtmp-rtmp-proxy.toml.
toml
# Vindral Bridge Packager example
# Forward RTMP to another RTMP destination without transcoding.
# RTMP carries H.264, or H.265 and AV1 with Enhanced RTMP, and AAC audio.
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 = "rtmp-out"
sink_type = "flv"
source_ids = ["rtmp-in"]
[sinks.protocol_options.url]
type = "string"
value = "rtmps://YOUR_INGEST_HOST/publish/YOUR_STREAM_KEY"