mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Fix dead links
This commit is contained in:
parent
4e64c66e02
commit
b807ef9049
6 changed files with 0 additions and 13 deletions
|
@ -2930,7 +2930,6 @@ srs_error_t SrsConfig::check_number_connections()
|
|||
int nb_canbe = max_open_files - nb_consumed_fds - 1;
|
||||
|
||||
// for each play connections, we open a pipe(2fds) to convert SrsConsumver to io,
|
||||
// refine performance, @see: https://github.com/ossrs/srs/issues/194
|
||||
if (nb_total >= max_open_files) {
|
||||
srs_error("invalid max_connections=%d, required=%d, system limit to %d, "
|
||||
"total=%d(max_connections=%d, nb_consumed_fds=%d). "
|
||||
|
|
|
@ -743,7 +743,6 @@ srs_error_t SrsRtmpConn::do_playing(SrsLiveSource* source, SrsLiveConsumer* cons
|
|||
|
||||
#ifdef SRS_PERF_QUEUE_COND_WAIT
|
||||
// wait for message to incoming.
|
||||
// @see https://github.com/ossrs/srs/issues/251
|
||||
// @see https://github.com/ossrs/srs/issues/257
|
||||
consumer->wait(mw_msgs, mw_sleep);
|
||||
#endif
|
||||
|
|
|
@ -77,7 +77,6 @@ public:
|
|||
|
||||
#ifdef SRS_PERF_QUEUE_FAST_VECTOR
|
||||
// To alloc and increase fixed space, fast remove and insert for msgs sender.
|
||||
// @see https://github.com/ossrs/srs/issues/251
|
||||
class SrsFastVector
|
||||
{
|
||||
private:
|
||||
|
@ -177,7 +176,6 @@ private:
|
|||
bool should_update_source_id;
|
||||
#ifdef SRS_PERF_QUEUE_COND_WAIT
|
||||
// The cond wait for mw.
|
||||
// @see https://github.com/ossrs/srs/issues/251
|
||||
srs_cond_t mw_wait;
|
||||
bool mw_waiting;
|
||||
int mw_min_msgs;
|
||||
|
|
|
@ -54,7 +54,6 @@
|
|||
* @remark this largely improve performance, from 3.5k+ to 7.5k+.
|
||||
* the latency+ when cache+.
|
||||
* @remark the socket send buffer default to 185KB, it large enough.
|
||||
* @see https://github.com/ossrs/srs/issues/194
|
||||
* @see SrsConfig::get_mw_sleep_ms()
|
||||
* @remark the mw sleep and msgs to send, maybe:
|
||||
* mw_sleep msgs iovs
|
||||
|
@ -89,24 +88,20 @@
|
|||
|
||||
/**
|
||||
* whether set the socket send buffer size.
|
||||
* @see https://github.com/ossrs/srs/issues/251
|
||||
*/
|
||||
#define SRS_PERF_MW_SO_SNDBUF
|
||||
|
||||
/**
|
||||
* whether set the socket recv buffer size.
|
||||
* @see https://github.com/ossrs/srs/issues/251
|
||||
*/
|
||||
#undef SRS_PERF_MW_SO_RCVBUF
|
||||
/**
|
||||
* whether enable the fast vector for qeueue.
|
||||
* @see https://github.com/ossrs/srs/issues/251
|
||||
*/
|
||||
#define SRS_PERF_QUEUE_FAST_VECTOR
|
||||
/**
|
||||
* whether use cond wait to send messages.
|
||||
* @remark this improve performance for large connectios.
|
||||
* @see https://github.com/ossrs/srs/issues/251
|
||||
*/
|
||||
// TODO: FIXME: Should always enable it.
|
||||
#define SRS_PERF_QUEUE_COND_WAIT
|
||||
|
|
|
@ -79,7 +79,6 @@
|
|||
#define SRS_CONSTS_RTMP_MAX_FMT3_HEADER_SIZE 5
|
||||
|
||||
// For performance issue,
|
||||
// the iovs cache, @see https://github.com/ossrs/srs/issues/194
|
||||
// iovs cache for multiple messages for each connections.
|
||||
// suppose the chunk size is 64k, each message send in a chunk which needs only 2 iovec,
|
||||
// so the iovs max should be (SRS_PERF_MW_MSGS * 2)
|
||||
|
@ -87,7 +86,6 @@
|
|||
// @remark, SRS will realloc when the iovs not enough.
|
||||
#define SRS_CONSTS_IOVS_MAX (SRS_PERF_MW_MSGS * 2)
|
||||
// For performance issue,
|
||||
// the c0c3 cache, @see https://github.com/ossrs/srs/issues/194
|
||||
// c0c3 cache for multiple messages for each connections.
|
||||
// each c0 <= 16byes, suppose the chunk size is 64k,
|
||||
// each message send in a chunk which needs only a c0 header,
|
||||
|
|
|
@ -250,7 +250,6 @@ class SrsSharedPtrMessage
|
|||
// 4.1. Message Header
|
||||
public:
|
||||
// The header can shared, only set the timestamp and stream id.
|
||||
// @see https://github.com/ossrs/srs/issues/251
|
||||
//SrsSharedMessageHeader header;
|
||||
// Four-byte field that contains a timestamp of the message.
|
||||
// The 4 bytes are packed in the big-endian order.
|
||||
|
@ -278,7 +277,6 @@ private:
|
|||
{
|
||||
public:
|
||||
// The shared message header.
|
||||
// @see https://github.com/ossrs/srs/issues/251
|
||||
SrsSharedMessageHeader header;
|
||||
// The actual shared payload.
|
||||
char* payload;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue