1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

Fix #464, support origin cluster

This commit is contained in:
winlin 2018-02-16 16:39:07 +08:00
parent 2f09ec4353
commit c70421e656
13 changed files with 171 additions and 39 deletions

View file

@ -2004,6 +2004,11 @@ int SrsSource::pre_source_id()
return _pre_source_id;
}
bool SrsSource::inactive()
{
return _can_publish;
}
bool SrsSource::can_publish(bool is_edge)
{
if (is_edge) {