dank074 / Discord-video-stream

Experiment for making video streaming work for discord selfbots.
183 stars 35 forks source link

Allow disabling sleep in process streams #69

Closed longnguyen2004 closed 8 months ago

longnguyen2004 commented 8 months ago

For true real-time sources (RTSP/RTMP/SRT livestreams), sleeping is not recommended, since it prevents ffmpeg from "catching up" with the livestream, and can cause packet loss from the input side if a UDP-based protocol is used.

This PR adds a parameter to allow disabling the sleeping behavior.