1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00
问题:edge模式,推流时异常断开。
    解决方法:增加edge模式推流检测。
This commit is contained in:
zhengfl 2015-07-08 15:43:09 +08:00
parent 120033e0a2
commit f9257b89e7
6 changed files with 46 additions and 15 deletions

View file

@ -1355,6 +1355,11 @@ bool SrsSource::can_publish()
return _can_publish;
}
bool SrsSource::proxy_can_publish()
{
return publish_edge->can_publish();
}
int SrsSource::on_meta_data(SrsCommonMessage* msg, SrsOnMetaDataPacket* metadata)
{
int ret = ERROR_SUCCESS;