Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stream MP3 from HTTPS #512

Closed
PaoloRondot opened this issue Apr 16, 2022 · 2 comments
Closed

Stream MP3 from HTTPS #512

PaoloRondot opened this issue Apr 16, 2022 · 2 comments

Comments

@PaoloRondot
Copy link

PaoloRondot commented Apr 16, 2022

Hi,

I am able to play music from http with the default address given in the lib example http://kvbstreams.dyndns.org:8000/wkvi-am, but I noticed that whenver I try to play from an HTTPS address, such as https://www.liveradio.es/http://cdn.nrjaudio.fm/audio1/fr/30201/mp3_128.mp3, it doesn't work and I get the MP3 source file not open from the AudioGeneratorMP3::begin(AudioFileSource *source, AudioOutput *output).

My question is, is it actually possible to stream from HTTPS ? Do I have to make some changes in the code ?

Many thanks.
Paolo.

@PaoloRondot
Copy link
Author

I just noticed that this question had already been answered: there's not enough memory on the ESP8266 to stream from HTTPS. Is that still right ?

@earlephilhower
Copy link
Owner

There's no fixing the lack of memory for HTTPS streaming on the 8266, sorry. The buffers and stack space needed for HTTPS means there's way less free memory for MP3 decode than is needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants