mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Remove noisy informations.
This commit is contained in:
parent
ad3749a4d5
commit
6dbe79ad02
8 changed files with 5 additions and 15 deletions
|
@ -3433,9 +3433,8 @@ srs_error_t SrsConfig::parse_argv(int& i, char** argv)
|
|||
void SrsConfig::print_help(char** argv)
|
||||
{
|
||||
printf(
|
||||
RTMP_SIG_SRS_SERVER "\n"
|
||||
RTMP_SIG_SRS_SERVER RTMP_SIG_SRS_URL "\n"
|
||||
"License: " RTMP_SIG_SRS_LICENSE "\n"
|
||||
"Primary: " RTMP_SIG_SRS_PRIMARY "\n"
|
||||
"Build: " SRS_AUTO_BUILD_DATE " Configuration:" SRS_AUTO_USER_CONFIGURE "\n"
|
||||
"Features:" SRS_AUTO_CONFIGURE "\n""\n"
|
||||
"Usage: %s [-h?vVgG] [[-t] -c <filename>]\n"
|
||||
|
@ -3447,9 +3446,6 @@ void SrsConfig::print_help(char** argv)
|
|||
" -t : test configuration file, exit(error_code).\n"
|
||||
" -c filename : use configuration file for SRS\n"
|
||||
"\n"
|
||||
RTMP_SIG_SRS_URL "\n"
|
||||
"Email: " RTMP_SIG_SRS_EMAIL "\n"
|
||||
"\n"
|
||||
"For example:\n"
|
||||
" %s -v\n"
|
||||
" %s -t -c " SRS_CONF_DEFAULT_COFNIG_FILE "\n"
|
||||
|
|
|
@ -550,7 +550,6 @@ srs_error_t SrsGoApiAuthors::serve_http(ISrsHttpResponseWriter* w, ISrsHttpMessa
|
|||
SrsJsonObject* data = SrsJsonAny::object();
|
||||
obj->set("data", data);
|
||||
|
||||
data->set("primary", SrsJsonAny::str(RTMP_SIG_SRS_PRIMARY));
|
||||
data->set("license", SrsJsonAny::str(RTMP_SIG_SRS_LICENSE));
|
||||
data->set("contributors", SrsJsonAny::str(SRS_AUTO_CONSTRIBUTORS));
|
||||
|
||||
|
|
|
@ -1590,7 +1590,6 @@ srs_error_t SrsMetaCache::update_data(SrsMessageHeader* header, SrsOnMetaDataPac
|
|||
|
||||
// add server info to metadata
|
||||
metadata->metadata->set("server", SrsAmf0Any::str(RTMP_SIG_SRS_SERVER));
|
||||
metadata->metadata->set("srs_primary", SrsAmf0Any::str(RTMP_SIG_SRS_PRIMARY));
|
||||
|
||||
// version, for example, 1.0.0
|
||||
// add version to metadata, please donot remove it, for debug.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue