1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

refine code.

This commit is contained in:
winlin 2015-12-31 15:57:16 +08:00
parent eca46c03d2
commit 26211abf2e
7 changed files with 35 additions and 12 deletions

View file

@ -248,6 +248,9 @@ 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());
@ -290,7 +293,7 @@ int main(int argc, char** argv)
return ret;
}
srs_trace("srs(ossrs) "RTMP_SIG_SRS_VERSION);
srs_trace(RTMP_SIG_SRS_SERVER", stable is "RTMP_SIG_SRS_PRIMARY);
srs_trace("license: "RTMP_SIG_SRS_LICENSE", "RTMP_SIG_SRS_COPYRIGHT);
srs_trace("primary/master: "RTMP_SIG_SRS_PRIMARY);
srs_trace("authors: "RTMP_SIG_SRS_AUTHROS);