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

add dvr option. refine macros of auto headers

This commit is contained in:
winlin 2014-04-15 14:01:57 +08:00
parent 1ae9178605
commit 23a1b29935
34 changed files with 242 additions and 150 deletions

View file

@ -43,10 +43,10 @@ class SrsOnMetaDataPacket;
class SrsSharedPtrMessage;
class SrsForwarder;
class SrsRequest;
#ifdef SRS_HLS
#ifdef SRS_AUTO_HLS
class SrsHls;
#endif
#ifdef SRS_RTMP_TRANSCODE
#ifdef SRS_AUTO_TRANSCODE
class SrsEncoder;
#endif
@ -220,11 +220,11 @@ private:
// to delivery stream to clients.
std::vector<SrsConsumer*> consumers;
// hls handler.
#ifdef SRS_HLS
#ifdef SRS_AUTO_HLS
SrsHls* hls;
#endif
// transcoding handler.
#ifdef SRS_RTMP_TRANSCODE
#ifdef SRS_AUTO_TRANSCODE
SrsEncoder* encoder;
#endif
// gop cache for client fast startup.