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

refine hls, try to fix the hls ts corrupt problem.

This commit is contained in:
winlin 2015-02-10 19:09:31 +08:00
parent 828aadf858
commit 5a3cd235fd
4 changed files with 8 additions and 7 deletions

View file

@ -233,10 +233,10 @@ extern int aac_sample_rates[];
#define __SRS_AAC_SAMPLE_RATE_UNSET 15
// in ms, for HLS aac flush the audio
#define SRS_CONF_DEFAULT_AAC_DELAY 100
#define SRS_CONF_DEFAULT_AAC_DELAY 60
// max PES packets size to flush the video.
#define SRS_AUTO_HLS_AUDIO_CACHE_SIZE 1024 * 1024
#define SRS_AUTO_HLS_AUDIO_CACHE_SIZE 128 * 1024
/**
* the FLV/RTMP supported audio sample size.