mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
fix #136, support hls without io(in ram). 2.0.112
This commit is contained in:
parent
89b37d3469
commit
a23191497f
14 changed files with 688 additions and 87 deletions
|
@ -52,6 +52,8 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
#define SRS_CONF_DEFAULT_HLS_ON_ERROR_DISCONNECT "disconnect"
|
||||
#define SRS_CONF_DEFAULT_HLS_ON_ERROR_CONTINUE "continue"
|
||||
#define SRS_CONF_DEFAULT_HLS_ON_ERROR SRS_CONF_DEFAULT_HLS_ON_ERROR_IGNORE
|
||||
#define SRS_CONF_DEFAULT_HLS_STORAGE "disk"
|
||||
#define SRS_CONF_DEFAULT_HLS_MOUNT "[vhost]/[app]/[stream].m3u8"
|
||||
#define SRS_CONF_DEFAULT_DVR_PATH "./objs/nginx/html"
|
||||
#define SRS_CONF_DEFAULT_DVR_PLAN_SESSION "session"
|
||||
#define SRS_CONF_DEFAULT_DVR_PLAN_SEGMENT "segment"
|
||||
|
@ -906,6 +908,14 @@ public:
|
|||
* @see https://github.com/winlinvip/simple-rtmp-server/issues/264
|
||||
*/
|
||||
virtual std::string get_hls_on_error(std::string vhost);
|
||||
/**
|
||||
* get the HLS storage type.
|
||||
*/
|
||||
virtual std::string get_hls_storage(std::string vhost);
|
||||
/**
|
||||
* get the HLS mount url for HTTP server.
|
||||
*/
|
||||
virtual std::string get_hls_mount(std::string vhost);
|
||||
// dvr section
|
||||
private:
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue