mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
client connection no disconnect
This commit is contained in:
parent
9b8f6ff962
commit
1e34d2a5cd
5 changed files with 38 additions and 2 deletions
1
trunk/src/app/srs_app_rtmp_conn.cpp
Normal file → Executable file
1
trunk/src/app/srs_app_rtmp_conn.cpp
Normal file → Executable file
|
@ -595,6 +595,7 @@ int SrsRtmpConn::do_playing(SrsSource* source, SrsQueueRecvThread* trd)
|
|||
// when mw_sleep changed, resize the socket send buffer.
|
||||
mw_enabled = true;
|
||||
change_mw_sleep(_srs_config->get_mw_sleep_ms(req->vhost));
|
||||
trd->set_consumer(consumer);
|
||||
|
||||
while (true) {
|
||||
// to use isolate thread to recv, can improve about 33% performance.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue