1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00
This commit is contained in:
zhengfl 2015-07-08 17:08:29 +08:00
parent f9257b89e7
commit db9ea4e66e
5 changed files with 23 additions and 44 deletions

View file

@ -1350,14 +1350,13 @@ int SrsSource::source_id()
return _source_id;
}
bool SrsSource::can_publish()
bool SrsSource::can_publish(bool is_edge)
{
return _can_publish;
}
if (is_edge) {
return publish_edge->can_publish();
}
bool SrsSource::proxy_can_publish()
{
return publish_edge->can_publish();
return _can_publish;
}
int SrsSource::on_meta_data(SrsCommonMessage* msg, SrsOnMetaDataPacket* metadata)