Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

A personal restreamer nginx server to stream to multiple sources

NotificationsYou must be signed in to change notification settings

emad-elsaid/restreamer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This docker container does the following

  1. Start nginx with RTMP module that restream to many RTMP servers including Facebook with stunnel
  2. Runs stunnel with facebook live server tunneling configuration
  3. Reads SRTMP push servers from the environment variables so no need to change nginx configuration
  4. Uses RTMP application name from environment variables so you can change it easily to some long random token

Starting from dockerhub

  1. Prepare a.env file, use.env.sample file as a reference
  2. run the container
docker run -it --rm -p 1935:1935 --env-file .env --name restreamer emadelsaid/restreamer

Setup

  1. Copy.env.sample content to.env on your machine
  2. Change values in.env to set your secret token
  3. PLATFORMS environment variable is a comma separated names of other environment variables that hold the RTMP values
  4. to stream to FACEBOOK usertmp://127.0.0.1:1936/rtmp/ instead ofrtmps://live-api-s.facebook.com:443/rtmp/

STREAMING URLS Pages

  1. Facebook:https://www.facebook.com/live/producer/
  2. Youtube:https://www.youtube.com/live_dashboard
  3. Twitchhttps://dashboard.twitch.tv/u/internalerr/settings/channel servers listhttps://stream.twitch.tv/ingests/
  4. Mixerhttps://mixer.com/dashboard/channel/broadcast servers listhttps://watchbeam.zendesk.com/hc/en-us/articles/209659883-How-to-Change-Your-Ingest-Server

Starting from source

docker build . -t restreamerdocker run -it --rm -p 1935:1935 --env-file .env --name restreamer restreamer

OBS config

  1. stream server urlrtmp://127.0.0.1/<TOKEN VALUE>

CONSTRIBUTORS

Most of the dockerfile code is fromhttps://github.com/tiangolo/nginx-rtmp-docker so many thanks for him

About

A personal restreamer nginx server to stream to multiple sources

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp