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

add hls prefix of uri supported

This commit is contained in:
wenjie.zhao 2015-03-13 00:22:55 +08:00
parent efe3050d7a
commit 10da182853
5 changed files with 32 additions and 5 deletions

View file

@ -167,6 +167,7 @@ class SrsHlsMuxer
private:
SrsRequest* req;
private:
std::string entry_prefix;
std::string hls_path;
int hls_fragment;
int hls_window;
@ -207,7 +208,7 @@ public:
/**
* when publish, update the config for muxer.
*/
virtual int update_config(SrsRequest* r, std::string path, int fragment, int window);
virtual int update_config(SrsRequest* r, std::string _entry_prefix, std::string path, int fragment, int window);
/**
* open a new segment(a new ts file),
* @param segment_start_dts use to calc the segment duration,