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

Fix #547, support HLS audio in TS. 3.0.22

This commit is contained in:
winlin 2017-04-16 21:33:39 +08:00
parent 6ee85aea83
commit a98c9e04e3
5 changed files with 30 additions and 4 deletions

View file

@ -298,6 +298,12 @@ private:
bool enabled;
bool disposable;
int64_t last_update_time;
private:
// If the diff=dts-previous_audio_dts is about 23,
// that's the AAC samples is 1024, and we use the samples to calc the dts.
int64_t previous_audio_dts;
// The total aac samples.
uint64_t aac_samples;
private:
SrsOriginHub* hub;
SrsRtmpJitter* jitter;