Does HLS protocol specify audio codec? If it does, which are supported?
I've tried to search, but found different lists:
MP3, HE-AAC or AC-3
according to wikipedia
AAC, AAC-LC, HE-AAC (accPlus) v1 & v2, MP3
according to this
AAC-LC, HE-AACV1-2, AC-3, and EC-3
according to FairPlay overview (which is subset of HLS)
I would refer to the HLS specification. From section 3.4:
Supported Packed Audio formats are AAC with ADTS framing [ISO_13818_7]; MP3 [ISO_13818_3]; AC-3 [AC_3]; and Enhanced AC-3 [AC_3].