Issue in playing 128kbps mp3 https streams

ccchou
Posts: 1
Joined: Wed Jun 26, 2019 4:50 am

Issue in playing 128kbps mp3 https streams

Postby ccchou » 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.

famlee
Posts: 9
Joined: Mon May 20, 2019 9:40 am

Re: Issue in playing 128kbps mp3 https streams

Postby famlee » Fri Jun 28, 2019 10:41 am

Hi,

Are you using LYRAT board or any other config for that? I am asking because I am using LYRAT board and with regards to audio playback the examples sometimes either don't work or as in your case using any other source is a problem...

I hope somebody can point us in the right direction.

Cheers

Who is online

Users browsing this forum: No registered users and 2 guests