diff --git a/trunk/conf/full.conf b/trunk/conf/full.conf index 6dfb8eca56..646d82b2be 100644 --- a/trunk/conf/full.conf +++ b/trunk/conf/full.conf @@ -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 { diff --git a/trunk/src/app/srs_app_config.cpp b/trunk/src/app/srs_app_config.cpp index 8df22fea49..fcea9fde38 100644 --- a/trunk/src/app/srs_app_config.cpp +++ b/trunk/src/app/srs_app_config.cpp @@ -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) {