mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
support ingest hls with m3u8 in m3u8.
This commit is contained in:
parent
ba6736839b
commit
a28eec89b0
5 changed files with 311 additions and 83 deletions
|
@ -67,6 +67,8 @@ extern std::string srs_string_remove(std::string str, std::string remove_chars);
|
|||
extern bool srs_string_ends_with(std::string str, std::string flag);
|
||||
// whether string starts with
|
||||
extern bool srs_string_starts_with(std::string str, std::string flag);
|
||||
// whether string contains with
|
||||
extern bool srs_string_contains(std::string str, std::string flag);
|
||||
|
||||
// create dir recursively
|
||||
extern int srs_create_dir_recursively(std::string dir);
|
||||
|
@ -75,6 +77,8 @@ extern int srs_create_dir_recursively(std::string dir);
|
|||
extern bool srs_path_exists(std::string path);
|
||||
// get the dirname of path
|
||||
extern std::string srs_path_dirname(std::string path);
|
||||
// get the basename of path
|
||||
extern std::string srs_path_basename(std::string path);
|
||||
|
||||
/**
|
||||
* whether stream starts with the avc NALU in "AnnexB"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue