mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
for #369, support RTMP 302 api at protocol level.
This commit is contained in:
parent
f1e7e9d933
commit
d24aef50ba
7 changed files with 86 additions and 3 deletions
|
@ -929,6 +929,12 @@ public:
|
|||
* @param server_ip the ip of server.
|
||||
*/
|
||||
virtual int response_connect_app(SrsRequest* req, const char* server_ip = NULL);
|
||||
/**
|
||||
* redirect the connection to another rtmp server.
|
||||
* @param the hostname or ip of target.
|
||||
* @param whether the client accept the redirect.
|
||||
*/
|
||||
virtual int redirect(SrsRequest* r, std::string host, int port, bool& accepted);
|
||||
/**
|
||||
* reject the connect app request.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue