mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
show first message when not show version.
This commit is contained in:
parent
26211abf2e
commit
dc38ae1687
2 changed files with 3 additions and 3 deletions
|
@ -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());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue