1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-15 04:42:04 +00:00

For #307, change max padding to 127 for GSO.

This commit is contained in:
winlin 2020-04-16 10:25:12 +08:00
parent 5ad99b119d
commit b91e07f475
2 changed files with 3 additions and 3 deletions

View file

@ -446,8 +446,8 @@ rtc_server {
# Whether pad first packet for GSO for padding bytes.
# If 0, disable padding for GSO.
# @remark The max padding size is 0x7f(127).
# default: 0
padding 0;
# default: 127
padding 127;
}
vhost rtc.vhost.srs.com {

View file

@ -4843,7 +4843,7 @@ bool SrsConfig::get_rtc_server_gso2()
int SrsConfig::get_rtc_server_padding()
{
static int DEFAULT = 0;
static int DEFAULT = 127;
SrsConfDirective* conf = root->get("rtc_server");
if (!conf) {