mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
fix #194, writev multiple msgs, support 6k+ 250kbps clients. 2.0.15.
This commit is contained in:
parent
7cf855f242
commit
cc6aca9ad5
8 changed files with 251 additions and 29 deletions
|
@ -97,6 +97,19 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
// always use fmt0 as cache.
|
||||
//#define SRS_CONSTS_RTMP_MAX_FMT3_HEADER_SIZE 5
|
||||
|
||||
/**
|
||||
* for performance issue,
|
||||
* the iovs cache, @see https://github.com/winlinvip/simple-rtmp-server/issues/194
|
||||
* iovs cache for multiple messages for each connections.
|
||||
*/
|
||||
#define SRS_CONSTS_IOVS_MAX 1024
|
||||
/**
|
||||
* for performance issue,
|
||||
* the c0c3 cache, @see https://github.com/winlinvip/simple-rtmp-server/issues/194
|
||||
* c0c3 cache for multiple messages for each connections.
|
||||
*/
|
||||
#define SRS_CONSTS_C0C3_HEADERS_MAX 4096
|
||||
|
||||
///////////////////////////////////////////////////////////
|
||||
///////////////////////////////////////////////////////////
|
||||
///////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue