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
|
@ -1199,9 +1199,14 @@ int SrsSource::on_edge_start_publish()
|
|||
return publish_edge->on_client_publish();
|
||||
}
|
||||
|
||||
int SrsSource::on_edge_proxy_publish(SrsEdgeProxyContext* context)
|
||||
int SrsSource::on_edge_proxy_publish(SrsCommonMessage* msg)
|
||||
{
|
||||
return publish_edge->on_proxy_publish(context);
|
||||
return publish_edge->on_proxy_publish(msg);
|
||||
}
|
||||
|
||||
void SrsSource::on_edge_proxy_unpublish()
|
||||
{
|
||||
publish_edge->on_proxy_unpublish();
|
||||
}
|
||||
|
||||
int SrsSource::create_forwarders()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue