↓ Ir para o conteúdo principal

← todas as notas

📎 Webclip

Stream to multiple destinations with OBS

The page says OBS can stream and record, but by default it sends a stream to only one service at a time. It presents a workaround using a local RTMP server with nginx, run in Docker, so OBS can send one stream to that server and the server can forward it onward.

Reading notes
#

  • OBS supports major streaming services, but the page says it can stream to only one service simultaneously.
  • A local RTMP server with nginx can receive the OBS stream and route it to multiple destinations.
  • The page uses the tiangolo/nginx-rtmp Docker image instead of plain nginx because it includes RTMP support.
  • The setup steps include pulling the image, running the container, and configuring OBS with a custom streaming server URL and stream key.
  • To send the stream to multiple external services, the page says to edit nginx.conf inside the container and add push directives for each service.
  • After updating the nginx configuration, the page says to restart nginx.