1
0
Fork 0
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:
winlin 2014-04-27 14:57:28 +08:00
parent 2295ebb346
commit bc7648724d
6 changed files with 91 additions and 201 deletions

View file

@ -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();