1
0
Fork 0
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:
winlin 2014-04-17 16:57:04 +08:00
parent 4b82a4f510
commit 6f19a83114
5 changed files with 253 additions and 47 deletions

View file

@ -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.