mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Fix HTTP-FLV and VOD-FLV conflicting bug.
This commit is contained in:
parent
d9842b0371
commit
2df1dcb05a
4 changed files with 33 additions and 0 deletions
|
@ -98,6 +98,8 @@ extern bool srs_string_starts_with(std::string str, std::string flag0, std::stri
|
|||
extern bool srs_string_contains(std::string str, std::string flag);
|
||||
extern bool srs_string_contains(std::string str, std::string flag0, std::string flag1);
|
||||
extern bool srs_string_contains(std::string str, std::string flag0, std::string flag1, std::string flag2);
|
||||
// Count each char of flag in string
|
||||
extern int srs_string_count(std::string str, std::string flag);
|
||||
// Find the min match in str for flags.
|
||||
extern std::string srs_string_min_match(std::string str, std::vector<std::string> flags);
|
||||
// Split the string by flag to array.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue