mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Refine in time unit. 3.0.49
This commit is contained in:
parent
b2f598dede
commit
394cdb5f04
6 changed files with 9 additions and 6 deletions
|
@ -27,7 +27,7 @@
|
|||
// current release version
|
||||
#define VERSION_MAJOR 3
|
||||
#define VERSION_MINOR 0
|
||||
#define VERSION_REVISION 48
|
||||
#define VERSION_REVISION 49
|
||||
|
||||
// generated by configure, only macros.
|
||||
#include <srs_auto_headers.hpp>
|
||||
|
|
|
@ -341,7 +341,7 @@ void show_macro_features()
|
|||
#ifdef SRS_PERF_MERGED_READ
|
||||
possible_mr_latency = srsu2msi(SRS_PERF_MR_SLEEP);
|
||||
#endif
|
||||
srs_trace("system default latency in ms: mw(0-%d) + mr(0-%d) + play-queue(0-%d)",
|
||||
srs_trace("system default latency(ms): mw(0-%d) + mr(0-%d) + play-queue(0-%d)",
|
||||
srsu2msi(SRS_PERF_MW_SLEEP), possible_mr_latency, srsu2msi(SRS_PERF_PLAY_QUEUE));
|
||||
|
||||
#ifdef SRS_AUTO_MEM_WATCH
|
||||
|
|
|
@ -39,7 +39,7 @@ SrsMessageArray::~SrsMessageArray()
|
|||
{
|
||||
// we just free the msgs itself,
|
||||
// both delete and delete[] is ok,
|
||||
// for each msg in msgs is already freed by send_and_free_messages.
|
||||
// for all msgs is already freed by send_and_free_messages.
|
||||
srs_freepa(msgs);
|
||||
}
|
||||
|
||||
|
|
|
@ -41,7 +41,7 @@ class SrsMessageArray
|
|||
{
|
||||
public:
|
||||
/**
|
||||
* when user already send the msg in msgs, please set to NULL,
|
||||
* when user already send all msgs, please set to NULL,
|
||||
* for instance, msg= msgs.msgs[i], msgs.msgs[i]=NULL, send(msg),
|
||||
* where send(msg) will always send and free it.
|
||||
*/
|
||||
|
|
|
@ -72,8 +72,8 @@ public:
|
|||
class MockBufferIO : public ISrsProtocolReadWriter
|
||||
{
|
||||
public:
|
||||
// The send/recv timeout in ms.
|
||||
int64_t rtm;
|
||||
// The send/recv timeout in srs_utime_t.
|
||||
srs_utime_t rtm;
|
||||
srs_utime_t stm;
|
||||
// The send/recv data in bytes.
|
||||
int64_t rbytes;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue