mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
parent
120033e0a2
commit
f9257b89e7
6 changed files with 46 additions and 15 deletions
|
@ -806,6 +806,11 @@ int SrsPublishEdge::initialize(SrsSource* source, SrsRequest* req)
|
|||
return ret;
|
||||
}
|
||||
|
||||
bool SrsPublishEdge::can_publish()
|
||||
{
|
||||
return state != SrsEdgeStatePublish;
|
||||
}
|
||||
|
||||
int SrsPublishEdge::on_client_publish()
|
||||
{
|
||||
int ret = ERROR_SUCCESS;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue