Always enable SRS_HLS

pull/1304/head
winlin 6 years ago
parent f003ba9a29
commit 71f1ccbf90

@ -97,12 +97,6 @@ else
srs_undefine_macro "SRS_AUTO_NGINX" $SRS_AUTO_HEADERS_H srs_undefine_macro "SRS_AUTO_NGINX" $SRS_AUTO_HEADERS_H
fi fi
if [ $SRS_HLS = YES ]; then
srs_define_macro "SRS_AUTO_HLS" $SRS_AUTO_HEADERS_H
else
srs_undefine_macro "SRS_AUTO_HLS" $SRS_AUTO_HEADERS_H
fi
if [ $SRS_HDS = YES ]; then if [ $SRS_HDS = YES ]; then
srs_define_macro "SRS_AUTO_HDS" $SRS_AUTO_HEADERS_H srs_define_macro "SRS_AUTO_HDS" $SRS_AUTO_HEADERS_H
else else

@ -214,7 +214,7 @@ void show_macro_features()
// rch(rtmp complex handshake) // rch(rtmp complex handshake)
ss << ", rch:" << srs_bool2switch(SRS_AUTO_SSL_BOOL); ss << ", rch:" << srs_bool2switch(SRS_AUTO_SSL_BOOL);
ss << ", dash:" << "on"; ss << ", dash:" << "on";
ss << ", hls:" << srs_bool2switch(SRS_AUTO_HLS_BOOL); ss << ", hls:" << srs_bool2switch(true);
ss << ", hds:" << srs_bool2switch(SRS_AUTO_HDS_BOOL); ss << ", hds:" << srs_bool2switch(SRS_AUTO_HDS_BOOL);
// hc(http callback) // hc(http callback)
ss << ", hc:" << srs_bool2switch(true); ss << ", hc:" << srs_bool2switch(true);

Loading…
Cancel
Save