Issue in playing 128kbps mp3 https streams
Posted: Wed Jun 26, 2019 9:53 am
I found the same problem in the examples "pipeline_http_mp3", "pipeline_http_select_decoder".
It's OK to play the mp3 audio stream using the default URL "https://dl.espressif.com/dl/audio/ff-16b-2c-44100hz.mp3" but if I changed the URL to another live station, for example, "http://media-ice.musicradio.com/ClassicFMMP3", then the audio drops almost every second. I thought it might be the problem of http streaming or mp3 playing but the fact is not.
I used another example "http_play_and_save_to_file" to save the streaming data to SD card (the audio drops still happened while recording the stream) and example "pipeline_sdcard_mp3_control" to play the recorded file. To my surprise, the recorded file can be played well without any audio drops. It seems something wrong in the audio pipeline.
Is there anyone have solution for this problem?
Thank you very much.
It's OK to play the mp3 audio stream using the default URL "https://dl.espressif.com/dl/audio/ff-16b-2c-44100hz.mp3" but if I changed the URL to another live station, for example, "http://media-ice.musicradio.com/ClassicFMMP3", then the audio drops almost every second. I thought it might be the problem of http streaming or mp3 playing but the fact is not.
I used another example "http_play_and_save_to_file" to save the streaming data to SD card (the audio drops still happened while recording the stream) and example "pipeline_sdcard_mp3_control" to play the recorded file. To my surprise, the recorded file can be played well without any audio drops. It seems something wrong in the audio pipeline.
Is there anyone have solution for this problem?
Thank you very much.