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
|
@ -75,6 +75,9 @@ private:
|
|||
int mw_sleep;
|
||||
// the MR(merged-write) only enabled for play.
|
||||
int mw_enabled;
|
||||
// for realtime
|
||||
// @see https://github.com/winlinvip/simple-rtmp-server/issues/257
|
||||
bool realtime;
|
||||
public:
|
||||
SrsRtmpConn(SrsServer* srs_server, st_netfd_t client_stfd);
|
||||
virtual ~SrsRtmpConn();
|
||||
|
@ -86,6 +89,7 @@ protected:
|
|||
public:
|
||||
virtual int on_reload_vhost_removed(std::string vhost);
|
||||
virtual int on_reload_vhost_mw(std::string vhost);
|
||||
virtual int on_reload_vhost_realtime(std::string vhost);
|
||||
// interface IKbpsDelta
|
||||
public:
|
||||
virtual int64_t get_send_bytes_delta();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue