mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
for bug#241, simplify the buffer, donot change its size.
This commit is contained in:
parent
d026861e23
commit
a23b5b9a4b
8 changed files with 17 additions and 44 deletions
|
@ -295,7 +295,7 @@ void SrsPublishRecvThread::on_thread_start()
|
|||
|
||||
// enable the merge read
|
||||
// @see https://github.com/winlinvip/simple-rtmp-server/issues/241
|
||||
rtmp->set_merge_read(true, nb_rbuf, this);
|
||||
rtmp->set_merge_read(true, this);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
@ -311,7 +311,7 @@ void SrsPublishRecvThread::on_thread_stop()
|
|||
#ifdef SRS_PERF_MERGED_READ
|
||||
// disable the merge read
|
||||
// @see https://github.com/winlinvip/simple-rtmp-server/issues/241
|
||||
rtmp->set_merge_read(false, 0, NULL);
|
||||
rtmp->set_merge_read(false, NULL);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue