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

Update comments for HLS

This commit is contained in:
winlin 2017-04-16 21:43:30 +08:00
parent a98c9e04e3
commit bcd24126c5

View file

@ -876,6 +876,7 @@ int SrsHlsController::write_audio(SrsAudioFrame* frame, int64_t pts)
}
// for pure audio, aggregate some frame to one.
// TODO: FIXME: Check whether it's necessary.
if (muxer->pure_audio() && tsmc->audio) {
if (pts - tsmc->audio->start_pts < SRS_CONSTS_HLS_PURE_AUDIO_AGGREGATE) {
return ret;