mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
update donations. fix hls path bug.
This commit is contained in:
parent
692b751da8
commit
cd682ae4be
5 changed files with 41 additions and 49 deletions
|
@ -226,6 +226,11 @@ bool srs_string_ends_with(string str, string flag)
|
|||
return str.rfind(flag) == str.length() - flag.length();
|
||||
}
|
||||
|
||||
bool srs_string_starts_with(string str, string flag)
|
||||
{
|
||||
return str.find(flag) == 0;
|
||||
}
|
||||
|
||||
int srs_do_create_dir_recursively(string dir)
|
||||
{
|
||||
int ret = ERROR_SUCCESS;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue