|
|
|
@ -3939,7 +3939,8 @@ srs_error_t SrsConfig::check_normal_config()
|
|
|
|
|
} else if (n == "rtc") {
|
|
|
|
|
for (int j = 0; j < (int)conf->directives.size(); j++) {
|
|
|
|
|
string m = conf->at(j)->name;
|
|
|
|
|
if (m != "enabled" && m != "bframe" && m != "aac" && m != "stun_timeout" && m != "stun_strict_check"
|
|
|
|
|
if (m != "enabled" && m != "nack" && m != "twcc" && m != "nack_no_copy"
|
|
|
|
|
&& m != "bframe" && m != "aac" && m != "stun_timeout" && m != "stun_strict_check"
|
|
|
|
|
&& m != "dtls_role" && m != "dtls_version" && m != "drop_for_pt" && m != "rtc_to_rtmp"
|
|
|
|
|
&& m != "pli_for_rtmp") {
|
|
|
|
|
return srs_error_new(ERROR_SYSTEM_CONFIG_INVALID, "illegal vhost.rtc.%s of %s", m.c_str(), vhost->arg0().c_str());
|
|
|
|
|