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

Refine SrsGopCache::start_time in time unit.

This commit is contained in:
winlin 2019-04-19 08:04:09 +08:00
parent 1626942d29
commit 73e71d26ea
2 changed files with 7 additions and 7 deletions

View file

@ -358,10 +358,10 @@ public:
*/
virtual bool empty();
/**
* get the start time of gop cache, in ms.
* get the start time of gop cache, in srs_utime_t.
* @return 0 if no packets.
*/
virtual int64_t start_time();
virtual srs_utime_t start_time();
/**
* whether current stream is pure audio,
* when no video in gop cache, the stream is pure audio right now.