mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
refine code for consumer to refer the rtmp connection.
This commit is contained in:
parent
d3139c52cc
commit
eca46c03d2
5 changed files with 14 additions and 10 deletions
|
@ -598,7 +598,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