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:
parent
cf5c24af4a
commit
5554922820
2 changed files with 19 additions and 18 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue