winlin

show first message when not show version.

... ... @@ -1359,6 +1359,9 @@ int SrsConfig::parse_options(int argc, char** argv)
exit(0);
}
// first hello message.
srs_trace(RTMP_SIG_SRS_SERVER);
if (config_file.empty()) {
ret = ERROR_SYSTEM_CONFIG_INVALID;
srs_error("config file not specified, see help: %s -h, ret=%d", argv[0], ret);
... ...
... ... @@ -248,9 +248,6 @@ void check_macro_features()
int main(int argc, char** argv)
{
int ret = ERROR_SUCCESS;
// first hello message.
srs_trace(RTMP_SIG_SRS_SERVER);
// TODO: support both little and big endian.
srs_assert(srs_is_little_endian());
... ...