harlanc / xiu

A simple,high performance and secure live media server in pure Rust (RTMP[cluster]/RTSP/WebRTC[whip/whep]/HTTP-FLV/HLS).🦀
https://www.rustxiu.com
MIT License
1.61k stars 168 forks source link

Performance optimization for the HLS protocol. #49

Closed harlanc closed 11 months ago

harlanc commented 11 months ago

Now XIU reads m3u8/TS data from files each time and returns to the HLS live stream subscribers .This can be processed in memory directly.

And maybe these data should be saved to disk only when users need record.