TareqAlqutami/rtmp-hls-server

High delay?

Matt1azz opened this issue · 4 comments

Just started testing around with it and i seem to have around 60 second or more delay. Is there anyway to lower this?

Hello @Mattajaz,
The delay is usually less than 10s. Testing locally, I get 1-2s delay for RTMP.
Can you share info about your setup

Im running this on my Unraid server. just installed via Apps. And running with 2x E5506 and 72gb ram. on 4x 6tb hdd

Sorry, It is hard to tell what is wrong with this info. can you provide info about the rtmp configuration.

  • What command did you use to run the container
  • What is the data source (OBS?)?
  • Can you share a screenshot of the stat page
  • Which stream type did you play? RTMP, HLS, DASH?
  • How did you measure the delay (VLC?)
dio99 commented

hellu same for me just tested this setup and is nice :) but i get delay and i also wonder how i should change if i want to pull from rtsp ip cam directly i tested to add it but i dont get that to work the players dont play the stream then.
exec_pull /usr/localt/bin/ffmpeg -i rtsp://192.168.1.207:554/media/video1 -vcodec copy -acodec copy -f flv rtmp://localhost:1935/live/$name;