mirror of
https://github.com/imputnet/cobalt.git
synced 2024-12-26 17:46:06 +00:00
api/istream: remove icy-metadata header if sent by client
This commit is contained in:
parent
6c39edbc10
commit
6f0a8196ff
|
@ -123,6 +123,10 @@ async function handleGenericStream(streamInfo, res) {
|
|||
}
|
||||
|
||||
export function internalStream(streamInfo, res) {
|
||||
if (streamInfo.headers) {
|
||||
streamInfo.headers.delete('icy-metadata');
|
||||
}
|
||||
|
||||
if (streamInfo.service === 'youtube' && !streamInfo.isHLS) {
|
||||
return handleYoutubeStream(streamInfo, res);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue