mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
API: Parse fragment of URI. v5.0.106 (#3295)
* parse fragment of uri * adapt FMLE URL: 'rtmp://ip/app/app2#k=v/stream', then add more test case Co-authored-by: winlin <winlin@vip.126.com>
This commit is contained in:
parent
0e550d496b
commit
c5a0c5947f
6 changed files with 42 additions and 4 deletions
|
@ -580,6 +580,7 @@ private:
|
|||
int port;
|
||||
std::string path;
|
||||
std::string query;
|
||||
std::string fragment_;
|
||||
std::string username_;
|
||||
std::string password_;
|
||||
std::map<std::string, std::string> query_values_;
|
||||
|
@ -599,6 +600,7 @@ public:
|
|||
virtual std::string get_path();
|
||||
virtual std::string get_query();
|
||||
virtual std::string get_query_by_key(std::string key);
|
||||
virtual std::string get_fragment();
|
||||
virtual std::string username();
|
||||
virtual std::string password();
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue