mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
fix #257, support 0.1s+ latency. 2.0.70
This commit is contained in:
parent
68ade0a267
commit
10297fab51
19 changed files with 179 additions and 30 deletions
|
@ -153,6 +153,9 @@ private:
|
|||
bool mr;
|
||||
int mr_fd;
|
||||
int mr_sleep;
|
||||
// for realtime
|
||||
// @see https://github.com/winlinvip/simple-rtmp-server/issues/257
|
||||
bool realtime;
|
||||
// the recv thread error code.
|
||||
int recv_error_code;
|
||||
SrsRtmpConn* _conn;
|
||||
|
@ -193,6 +196,7 @@ public:
|
|||
// interface ISrsReloadHandler
|
||||
public:
|
||||
virtual int on_reload_vhost_mr(std::string vhost);
|
||||
virtual int on_reload_vhost_realtime(std::string vhost);
|
||||
private:
|
||||
virtual void set_socket_buffer(int sleep_ms);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue