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

Refine SrsRtmpConn.duration in time unit.

This commit is contained in:
winlin 2019-04-18 08:46:42 +08:00
parent f6f49c68da
commit 5af572ab50
3 changed files with 9 additions and 14 deletions

View file

@ -105,10 +105,10 @@ private:
// the wakable handler, maybe NULL.
// TODO: FIXME: Should refine the state for receiving thread.
ISrsWakable* wakable;
// elapse duration in ms
// elapse duration in srs_utime_t
// for live play duration, for instance, rtmpdump to record.
// @see https://github.com/ossrs/srs/issues/47
int64_t duration;
srs_utime_t duration;
// the MR(merged-write) sleep time in ms.
srs_utime_t mw_sleep;
// the MR(merged-write) only enabled for play.