karlheyes / icecast-kh

KH branch of icecast
GNU General Public License v2.0
298 stars 106 forks source link

Update CORS to allow clients to send Icy-MetaData header #258

Closed trilliot closed 4 years ago

trilliot commented 5 years ago

Some providers (e.g.: GoodBarber) provide HTML5 audio players that read metadata directly from the audio stream. However, the Icy-MetaData request header is not currently allowed by the CORS policy (it is missing in the Access-Control-Allow-Headers).

It would be great to allow them to send the Icy-MetaData request header so that they can receive the icy-metaint response header to parse metadata accordingly.

See #257

karlheyes commented 4 years ago

merge done

karl.