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

refine edge ingester, use upstream adapter.

This commit is contained in:
winlin 2015-12-28 17:15:44 +08:00
parent 7ae2c6bf50
commit 86a7db0adb
3 changed files with 145 additions and 56 deletions

View file

@ -2054,7 +2054,9 @@ int SrsSource::on_publish()
// whatever, the publish thread is the source or edge source,
// save its id to srouce id.
on_source_id_changed(_srs_context->get_id());
if ((ret = on_source_id_changed(_srs_context->get_id())) != ERROR_SUCCESS) {
return ret;
}
// reset the mix queue.
mix_queue->clear();