mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
fix bug #47: use stream time to stop for duration of rtmpdump
This commit is contained in:
parent
bcfe82f88f
commit
2c6b6c6846
3 changed files with 25 additions and 12 deletions
|
@ -62,6 +62,10 @@ private:
|
|||
SrsHttpHooks* http_hooks;
|
||||
#endif
|
||||
SrsBandwidth* bandwidth;
|
||||
// elapse duration in ms
|
||||
// for live play duration, for instance, rtmpdump to record.
|
||||
// @see https://github.com/winlinvip/simple-rtmp-server/issues/47
|
||||
int64_t duration;
|
||||
public:
|
||||
SrsRtmpConn(SrsServer* srs_server, st_netfd_t client_stfd);
|
||||
virtual ~SrsRtmpConn();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue