GOATS2K / overpass

A self-hosted live video streaming platform with Discord authentication, auto-recording and more!
MIT License
347 stars 15 forks source link

Look for a better solution to update playlist file #15

Closed GOATS2K closed 2 years ago

GOATS2K commented 3 years ago

The way Overpass updates a stream's playlist file right now, will not scale well in the future.

Upon receiving a GET request for a playlist file, we re-write the playlist file to make sure we're on track with the playlist file generated by nginx.

https://github.com/GOATS2K/overpass/blob/master/overpass/hls.py#L32

However, this also means that this function runs on every single request, which is way more frequently than it would ever have to.

GOATS2K commented 3 years ago

This has been fixed, will be released in an update.