mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Refine redirect flow for origin cluster
This commit is contained in:
parent
e5285ecabf
commit
517974d451
3 changed files with 18 additions and 18 deletions
|
@ -115,8 +115,6 @@ private:
|
|||
SrsCoroutine* trd;
|
||||
SrsLbRoundRobin* lb;
|
||||
SrsEdgeUpstream* upstream;
|
||||
// For RTMP 302 redirect.
|
||||
std::string redirect;
|
||||
public:
|
||||
SrsEdgeIngester();
|
||||
virtual ~SrsEdgeIngester();
|
||||
|
@ -131,8 +129,8 @@ public:
|
|||
private:
|
||||
virtual srs_error_t do_cycle();
|
||||
private:
|
||||
virtual srs_error_t ingest();
|
||||
virtual srs_error_t process_publish_message(SrsCommonMessage* msg);
|
||||
virtual srs_error_t ingest(std::string& redirect);
|
||||
virtual srs_error_t process_publish_message(SrsCommonMessage* msg, std::string& redirect);
|
||||
};
|
||||
|
||||
// The edge used to forward stream to origin.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue