mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
use --with-ffmpeg to compile FFMPEG tool only, use --with-transcode for transcoding
This commit is contained in:
parent
5ff1d589f7
commit
983fe46ce2
8 changed files with 37 additions and 15 deletions
|
@ -46,7 +46,7 @@ class SrsRequest;
|
|||
#ifdef SRS_HLS
|
||||
class SrsHls;
|
||||
#endif
|
||||
#ifdef SRS_FFMPEG
|
||||
#ifdef SRS_TRANSCODE
|
||||
class SrsEncoder;
|
||||
#endif
|
||||
|
||||
|
@ -224,7 +224,7 @@ private:
|
|||
SrsHls* hls;
|
||||
#endif
|
||||
// transcoding handler.
|
||||
#ifdef SRS_FFMPEG
|
||||
#ifdef SRS_TRANSCODE
|
||||
SrsEncoder* encoder;
|
||||
#endif
|
||||
// gop cache for client fast startup.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue