mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
support disable all
This commit is contained in:
parent
9ab579c6e8
commit
c1b9541b5c
3 changed files with 24 additions and 10 deletions
|
@ -23,11 +23,6 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
|
||||
#include <srs_app_hls.hpp>
|
||||
|
||||
/**
|
||||
* the HLS section, only available when HLS enabled.
|
||||
*/
|
||||
#ifdef SRS_AUTO_HLS
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <fcntl.h>
|
||||
|
@ -72,6 +67,11 @@ ISrsHlsHandler::~ISrsHlsHandler()
|
|||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* * the HLS section, only available when HLS enabled.
|
||||
* */
|
||||
#ifdef SRS_AUTO_HLS
|
||||
|
||||
SrsHlsCacheWriter::SrsHlsCacheWriter(bool write_cache, bool write_file)
|
||||
{
|
||||
should_write_cache = write_cache;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue