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

refine librtmp tools, use srs_trace macro instead printf.

This commit is contained in:
winlin 2014-11-08 14:06:40 +08:00
parent cf5c24af4a
commit 5554922820
2 changed files with 19 additions and 18 deletions

View file

@ -84,7 +84,7 @@ int main(int argc, char** argv)
if (duration <= 0 || timeout <= 0) {
srs_trace("duration and timeout must be positive.");
exit(-1);
exit(-2);
}
rtmp = srs_rtmp_create(rtmp_url);