mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
merge from srs2.
This commit is contained in:
commit
7ae2c6bf50
4 changed files with 13 additions and 9 deletions
|
@ -832,7 +832,7 @@ int SrsRtmpConn::playing(SrsSource* source)
|
|||
|
||||
// create consumer of souce.
|
||||
SrsConsumer* consumer = NULL;
|
||||
if ((ret = source->create_consumer(consumer)) != ERROR_SUCCESS) {
|
||||
if ((ret = source->create_consumer(this, consumer)) != ERROR_SUCCESS) {
|
||||
srs_error("create consumer failed. ret=%d", ret);
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue