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.76k stars 436 forks source link

HTTP caching origins #721

Open bavesh opened 5 months ago

bavesh commented 5 months ago

HTTP caching origins We are trying to implement CDN caching with datarhei m3u8 however the m3u8 playback includes a session which make each stream unique and incompatible with the CDN caching.

We would like to know if like wowza, datarhei can provide an option to disable the session generated with the m3u8

ioppermann commented 5 months ago

In the settings in expert mode, you can adjust the IP ranges of clients for which Restreamer shouldn't create a session. Simply disallow all IPs:

127.0.0.1/0
::1/0

image

Due to a bug, disabling the HLS statistics will not prevent the session to be added to the m3u8.