Skip to content

Commit

Permalink
For #307, change max padding to 127 for GSO.
Browse files Browse the repository at this point in the history
  • Loading branch information
winlinvip committed Apr 16, 2020
1 parent 5ad99b1 commit b91e07f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions trunk/conf/full.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion trunk/src/app/srs_app_config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit b91e07f

Please sign in to comment.