mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
dvr support plan and default session plan
This commit is contained in:
parent
4b82a4f510
commit
6f19a83114
5 changed files with 253 additions and 47 deletions
|
@ -276,7 +276,10 @@ int SrsRtmpConn::stream_service_cycle()
|
|||
srs_trace("set chunk_size=%d success", chunk_size);
|
||||
|
||||
// find a source to serve.
|
||||
SrsSource* source = SrsSource::find(req);
|
||||
SrsSource* source = NULL;
|
||||
if ((ret = SrsSource::find(req, &source)) != ERROR_SUCCESS) {
|
||||
return ret;
|
||||
}
|
||||
srs_assert(source != NULL);
|
||||
|
||||
// check publish available.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue