mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
For #307, for realtime, change wait messages from 0 to 2
This commit is contained in:
parent
03a03e4174
commit
fdc0c44b7e
5 changed files with 40 additions and 34 deletions
|
@ -680,6 +680,8 @@ srs_error_t SrsLiveStream::do_serve_http(ISrsHttpResponseWriter* w, ISrsHttpMess
|
|||
err = streaming_send_messages(enc, msgs.msgs, count);
|
||||
}
|
||||
|
||||
// TODO: FIXME: Update the stat.
|
||||
|
||||
// free the messages.
|
||||
for (int i = 0; i < count; i++) {
|
||||
SrsSharedPtrMessage* msg = msgs.msgs[i];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue