nopnop2002 / esp-idf-vs1053

VS1053 Driver for esp-idf
10 stars 5 forks source link

Transfer-Encoding: chunked #6

Open nopnop2002 opened 4 years ago

nopnop2002 commented 4 years ago

There is some radio station return [Transfer-Encoding: chunked].

const char host = "icecast.radiofrance.fr"; const char path = "/franceculture-lofi.mp3"; int httpPort = 80;

HTTP/1.1 200 OK
Content-Type: audio/mpeg
Transfer-Encoding: chunked
Connection: close
Date: Fri, 20 Mar 2020 05:44:17 GMT
icy-br: 32
ice-audio-info: channels=1;samplerate=48000;bitrate=32
icy-br: 32
icy-name: franceculture-lofi.mp3
icy-pub: 1
Server: Icecast 2.4.0-kh13
Cache-Control: no-cache, no-store
Access-Control-Allow-Origin: *
Access-Control-Allow-Headers: Origin, Accept, X-Requested-With, Content-Type, Icy-MetaData
Access-Control-Allow-Methods: GET, OPTIONS, HEAD
Expires: Mon, 26 Jul 1997 05:00:00 GMT
X-Cache: Miss from cloudfront
Via: 1.1 025de06f7deee324c277661a5d0ef5fb.cloudfront.net (CloudFront)
X-Amz-Cf-Pop: NRT12-C2
X-Amz-Cf-Id: dLfbmrGSPDX7kwWnp-Xd5YG6R1JqmYNvBffs3_fcWUiOeGFmf7XYvw==

When I request [Icy-MetaData: 1] there is no [Icy-metaint] The chunk is embedded regularly. Not support yet.

nopnop2002 commented 4 years ago

This supported