1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

HLS: Support config hls_ctx to disable HLS streaming.

This commit is contained in:
ChenHaibo 2022-06-15 17:38:37 +08:00 committed by winlin
parent 6dc86b8a2e
commit 2c569f568c
4 changed files with 32 additions and 1 deletions

View file

@ -956,6 +956,8 @@ public:
virtual int get_vhost_hls_nb_notify(std::string vhost);
// Whether turn the FLV timestamp to TS DTS.
virtual bool get_vhost_hls_dts_directly(std::string vhost);
// Whether enable hls_ctx
virtual bool get_hls_ctx_enabled(std::string vhost);
// hds section
private:
// Get the hds directive of vhost.