1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-13 03:41:55 +00:00

Refine typo in service.

This commit is contained in:
winlin 2019-04-28 08:23:16 +08:00
parent 224d7c539f
commit 4d25520f99
2 changed files with 2 additions and 2 deletions

View file

@ -41,7 +41,7 @@ class SrsWallClock;
class SrsTcpClient; class SrsTcpClient;
// The default timeout for http client. // 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. // The client to GET/POST/PUT/DELETE over HTTP.
// @remark We will reuse the TCP transport until initialize or channel error, // @remark We will reuse the TCP transport until initialize or channel error,

View file

@ -140,7 +140,7 @@ public:
// The client to connect to server over TCP. // The client to connect to server over TCP.
// User must never reuse the client when close it. // User must never reuse the client when close it.
// Usage: // 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.connect();
// client.write("Hello world!", 12, NULL); // client.write("Hello world!", 12, NULL);
// client.read(buf, 4096, NULL); // client.read(buf, 4096, NULL);