Refine typo in service.

pull/1651/head
winlin 6 years ago
parent 224d7c539f
commit 4d25520f99

@ -41,7 +41,7 @@ class SrsWallClock;
class SrsTcpClient;
// The default timeout for http client.
#define SRS_HTTP_CLIENT_TIMEOUT (30// SRS_UTIME_SECONDS)
#define SRS_HTTP_CLIENT_TIMEOUT (30 * SRS_UTIME_SECONDS)
// The client to GET/POST/PUT/DELETE over HTTP.
// @remark We will reuse the TCP transport until initialize or channel error,

@ -140,7 +140,7 @@ public:
// The client to connect to server over TCP.
// User must never reuse the client when close it.
// Usage:
// SrsTcpClient client("127.0.0.1", 1935, 9// SRS_UTIME_SECONDS);
// SrsTcpClient client("127.0.0.1", 1935, 9 * SRS_UTIME_SECONDS);
// client.connect();
// client.write("Hello world!", 12, NULL);
// client.read(buf, 4096, NULL);

Loading…
Cancel
Save