Closed bp2008 closed 2 years ago
Done in UI3-161. It turns out the Web Audio API can easily decode the necessary audio buffers, which is good because the third-party libraries I found were huge and were NOT designed to decode data buffers.
UI3 needs to detect when FLAC decoding is failing and automatically change the audio codec to µ-law. Unfortunately the same shortcomings apply as when Blue Iris automatically turns off hardware accelerated decoding. Temporary failures will eventually yield larger numbers of users with µ-law as their default audio codec for no good reason.
Resolved in commit ffbf191. Will be released in UI3-169.
&audio=2 for FLAC compression, which can be stereo.
https://howlerjs.com/ or https://www.javascripting.com/view/flac-js