mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
for #340, #343, add wiki and use srs string function, support hls_entry_prefix(hls base url). 2.0.142
This commit is contained in:
parent
1a12ff0d94
commit
2241ba0e34
5 changed files with 12 additions and 20 deletions
|
@ -167,7 +167,7 @@ class SrsHlsMuxer
|
|||
private:
|
||||
SrsRequest* req;
|
||||
private:
|
||||
std::string entry_prefix;
|
||||
std::string hls_entry_prefix;
|
||||
std::string hls_path;
|
||||
int hls_fragment;
|
||||
int hls_window;
|
||||
|
@ -208,7 +208,7 @@ public:
|
|||
/**
|
||||
* when publish, update the config for muxer.
|
||||
*/
|
||||
virtual int update_config(SrsRequest* r, std::string hls_entry_prefix, 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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue