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:
parent
1ae9178605
commit
23a1b29935
34 changed files with 242 additions and 150 deletions
|
@ -34,7 +34,7 @@ using namespace std;
|
|||
#include <srs_protocol_rtmp_stack.hpp>
|
||||
#include <srs_app_ffmpeg.hpp>
|
||||
|
||||
#ifdef SRS_RTMP_TRANSCODE
|
||||
#ifdef SRS_AUTO_TRANSCODE
|
||||
|
||||
// when error, encoder sleep for a while and retry.
|
||||
#define SRS_RTMP_ENCODER_SLEEP_US (int64_t)(3*1000*1000LL)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue