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

Refine HTTP-FLV latency, support realtime mode.3.0.38

This commit is contained in:
winlin 2018-08-05 20:30:04 +08:00
parent 03ac48f8fa
commit d607c7f905
7 changed files with 121 additions and 65 deletions

View file

@ -100,6 +100,10 @@ public:
* to remove the client by server->remove(this).
*/
virtual srs_error_t start();
// Set socket option TCP_NODELAY.
virtual srs_error_t set_tcp_nodelay(bool v);
// Set socket option SO_SNDBUF in ms.
virtual srs_error_t set_socket_buffer(int buffer_ms);
// interface ISrsOneCycleThreadHandler
public:
/**