orcasound / orcanode

Software for live-streaming and recording lossy (AAC) or lossless compressed audio (HLS, DASH, FLAC) via AWS S3 buckets. :star:
GNU Affero General Public License v3.0
34 stars 12 forks source link

Handling of lags (delayed data) #44

Closed karan2704 closed 2 years ago

karan2704 commented 2 years ago

Resolves #41

This approach involves 2 function calls for fetchData(). One for the (close to) real-time data which starts from current_time - 8hrs till the said current time. Second, for delayed data, another iteration runs from 24 hours prior to the current time till the current time.

mcshicks commented 2 years ago

I went ahead and merged it, but it might need some changes to update the m3u8 for additional files in the right place.