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

fix #151, always reap ts whatever audio or video packet. 0.9.223.

This commit is contained in:
winlin 2014-10-08 15:15:57 +08:00
parent 13b092704d
commit 9789335d0b
6 changed files with 22 additions and 20 deletions

View file

@ -263,6 +263,11 @@ public:
* @return 0 if no packets.
*/
virtual int64_t start_time();
/**
* whether current stream is pure audio,
* when no video in gop cache, the stream is pure audio right now.
*/
virtual bool pure_audio();
};
/**