Restreamer
πŸ‡ΊπŸ‡Έ English
πŸ‡ΊπŸ‡Έ English
  • πŸš€datarhei Restreamer
  • 🏁Getting started
    • Quick Start
    • Overview
  • πŸ’ΎInstalling
    • Minimum Requirements
    • Official Recommendations
    • Raspberry Pi / ARM
    • Linux
    • Mac
      • Docker Desktop
      • Terminal
    • Windows
      • Docker Desktop
      • Terminal
    • Cloud/Hosting-Service
    • Update
    • Migration
  • πŸ“šKnowledge Base
    • Manual
      • Login
      • Main screen
      • System displays
      • Wizard
      • System settings
        • General system settings
        • Service
        • Network
        • Authorization
        • Playback
        • Disk space
        • RTMP
        • SRT
        • Logging
      • Publication Website
        • General settings
        • Template
        • Design
        • Notes
        • Code injection
      • Multi Video source
      • Publication services
      • Stream settings
        • General stream settings
          • Video settings
            • Network source
            • Hardware device
            • Virtual video source
            • Frame buffer
            • Raspberry Pi Camera
          • Audio settings
            • Network source
            • Virtual audio source
            • No audio
        • Processing and Control
        • Meta Information
        • License
      • Video player settings
      • System monitoring
      • Process report
      • Process details
      • Language
    • User Guides
      • How do I enable the RTMP server?
      • 🟑How to use the audio filters?
      • How to stream SRT from OBS?
      • How to use SRT for publication service
      • How to rotate a video?
      • How to integrate a website
      • How to change the RTMP port
      • How to stream an H.265 IP-cam
      • Proxying
      • How can I receive an HLS stream?
      • How do I install Docker?
      • How does port forwarding work for the Restreamer?
      • How can I use HTTPS with Let's Encrypt?
      • How can I receive an RTMP stream?
      • How do I operate the wizard?
      • How can I stream to Facebook Live?
      • How can I use YouTube with the Restreamer?
      • How can I change the password of the Restreamer?
      • How can I use the landing page?
      • How can I display a live stream on my website?
      • How do I stream an IP cam with RTSP?
      • How do I connect a USB camera to the Restreamer?
      • How do I start a GPU Encoding?
      • How do I stream a RaspiCam?
      • How do I write a template for the publication website?
      • How do I stream to HDMI?
    • FAQ
      • CC License
      • What are environment variables?
    • Troubleshooting
      • Basic Troubleshooting
      • Encoding compatibility list
      • 🟑Understand different error messages?
      • Why do I see ENV and cannot select anything?
      • ‼️No video
  • πŸ‘¨β€πŸ’»Developer
    • Core API
    • Architecture
    • Environment Variables
    • Translations
  • ⭐Premium Support
    • Helping Hands
    • Enterprise
Powered by GitBook
On this page
  • Preparation
  • Step 1: Install Docker Desktop
  • Step 2: Pull the container with the Restreamer
  • Step 3: Run Restreamer Container
  • Step 4: Configurate your Restreamer container and start
  • Step 5: Open Browser to login
  • Step 8. First login
  • Additional information: The Environments
  • List with all available environment variables
  • Learn more

Was this helpful?

Export as PDF
  1. πŸ’ΎInstalling
  2. Mac

Docker Desktop

Install and run Restreamer on Mac with Docker Desktop.

PreviousMacNextTerminal

Last updated 2 years ago

Was this helpful?

After installation, control the Restreamer in any browser using the IP and port of the device with the path /ui.

Preparation

Step 1: Install Docker Desktop

Download, install and run Docker Desktop. Follow the installation instructions. Start Restreamer container in Docker Desktop. If you already installed Docker Desktop jump to next step.

Step 2: Pull the container with the Restreamer

Open the Terminal and load the latest Restreamer cotainer from Docker Hub. Use the command:

docker pull datarhei/restreamer:latest

Step 3: Run Restreamer Container

Start Docker Desktop and go to Images. The Restreamer is in the list. A click on RUN takes you to the next step.

Step 4: Configurate your Restreamer container and start

The next step is to set the container's name, the ports for access in the browser, and the video data. Finally, place the volume settings so that the login data and the restreamer are permanently saved! Otherwise, the settings and login data will be gone with the next update. Click Run to start the Restreamer for the first time.

  • Name A logical name helps to find the container again.

  • Ports Transfer the numbers from the Container Ports field to the empty areas on the left.

  • Volumes Choose a folder on the windows machine where you want to store the settings and configuration of the restreamer permanently. The Destination path is /core/config and /core/data.

Step 5: Open Browser to login

Click on the 8080:8080 opens the default browser with the Restreamer front door. You can otherwise also open a browser and enter the device's IP address with the Restreamer installed. In the example: http://device-ip:8080/ui

Step 8. First login

When you log in for the first time in your Restreamer, you have to enter your credentials.

Login

Additional information: The Environments

Environments are global settings for the Restreamer. We recommend considering some environments at the startup. They are admittedly not so essential for Docker Desktop, but it does not hurt if you know them!

Description of the most important commands for the use of environments

-p 8080:8080 Binds the computer's port 8080 to the Restreamer's port 8080. It allows you to connect to the Restreamer GUI over HTTP with your browser. If you want to use a different port, change it to -p 31000:8080, for example.

-p 8081:8181 Binds the computer's port 8181 to the Restreamer's port 8181. It allows you to connect to the Restreamer GUI over HTTPS with your browser. If you want to use a different port, change it to -p 31000:8181, for example.

-p 1935:1935 Binds port 1935 of the computer to port 1935 of the Restreamer. It allows you to receive streams from the RTMP server or send streams to the RTMP server. If you want to use a different port, change it to -p 31000:1935, for example.

-p 1936:1936 Binds port 1936 of the computer to port 1936 of the Restreamer. It allows you to receive streams from the RTMPS server or send streams to the RTMPS server. If you want to use a different port, change it to -p 31000:1936, for example.

-p 6000/udp Binds port 6000/udp of the restreamer. It allows you to receive streams from the SRT server or send streams to the SRT server. If you want to use a different port, change it to -p 31000:6000/udp, for example.

-v ${HOME}/restreamer/config:/core/config The Restreamer stores the current state in the /core/config directory inside the container. This command maps the ${HOME}/restreamer/config directory of your computer into the container. This can be used to preserve the state if the restreamer needs to be restarted. If you want to store the state in a different directory on your device, change it to, e.g. -v /tmp/restreamer/config:/core/config

-v ${HOME}/restreamer/data:/core/data The restreamer stores the internal file system persistently in this directory.

datarhei/restreamer:latest It is the Docker image of the latest datarhei Restreamer on Docker Hub. Docker checks if the image is available locally and downloads it if it is not or if a newer image is available.

List with all available environment variables

Learn more

How do I install Docker?How does port forwarding work for the Restreamer?How can I use HTTPS with Let's Encrypt?What are environment variables?Knowledge BaseDeveloperPremium Support
https://github.com/datarhei/core#environment-variablesgithub.com
External URL: All Environment variables on GitHub.
Fig 1. Docker pull command in macOS terminal
Fig 2. Docker Desktop with Restreamer Image
Fig 3. Restreamer Desktop settings with ports and path on volume
Fig 4. Active Restreamer container in Docker Desktop.