mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
use directly send publish edge mode.
This commit is contained in:
parent
2295ebb346
commit
bc7648724d
6 changed files with 91 additions and 201 deletions
|
@ -322,7 +322,9 @@ public:
|
|||
// for edge, when publish edge stream, check the state
|
||||
virtual int on_edge_start_publish();
|
||||
// for edge, proxy the publish
|
||||
virtual int on_edge_proxy_publish(SrsEdgeProxyContext* context);
|
||||
virtual int on_edge_proxy_publish(SrsCommonMessage* msg);
|
||||
// for edge, proxy stop publish
|
||||
virtual void on_edge_proxy_unpublish();
|
||||
private:
|
||||
virtual int create_forwarders();
|
||||
virtual void destroy_forwarders();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue