datarhei / restreamer

The Restreamer is a complete streaming server solution for self-hosting. It has a visually appealing user interface and no ongoing license costs. Upload your live stream to YouTube, Twitch, Facebook, Vimeo, or other streaming solutions like Wowza. Receive video data from OBS and publish it with the RTMP and SRT server.
https://docs.datarhei.com/restreamer/
Apache License 2.0
3.78k stars 438 forks source link

SRT not working #799

Open nscpro opened 1 month ago

nscpro commented 1 month ago

Describe the bug I install docker using this command: docker run -d --restart=always --name restreamer -p 8080:8080 -p 8181:8181 -p 6000:6000 -p 1935:1935 --privileged datarhei/restreamer:latest

After I create admin user and enable SRT and RTMP Server. After that I do next procedure.

To Reproduce Steps to reproduce the behavior:

  1. In Video Setup -> Go to 'SRT Server'
  2. Click on 'Copy'
  3. Open CameraFi Live app
  4. Choose SRT
  5. Add SRT URL and paste same copied address
  6. Click START button
  7. Click Go button
  8. You see error "Connection failed. Please try again."

Expected behavior SRT connection is failed. If I try RTMP Server address. This works well. I don't understand what is a problem.

Screenshots IMG_7597

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

Business inquiries

We provide support for commercial requirements with professional support, agile software development, and consulting. If you have a commercial request, be it a bug or a feature enhancement, please contact us directly at support@datarhei.com.

ioppermann commented 3 weeks ago

You have to add /udp to the -p 6000:6000 option in your docker command:

docker run -d --restart=always --name restreamer \
   -p 8080:8080 -p 8181:8181 -p 6000:6000/udp -p 1935:1935 \
   --privileged datarhei/restreamer:latest

SRT is communicating via UDP.