How to change default URL in "pipeline_http_mp3" example.

maunik12
Posts: 1
Joined: Sat Nov 28, 2020 12:47 pm

How to change default URL in "pipeline_http_mp3" example.

Postby maunik12 » Sat Nov 28, 2020 1:04 pm

Hello there,

I am planning to purchase ESP32 LyraT v4.3 to make an Internet Radio.

While searching for the examples, I found "esp-adf/examples/player/pipeline_http_mp3" example and I think it will be used to play music, which is being streamed over the internet. Please correct me if I am wrong.

I have setup the IDE and I can build the code successfully.

The only thing I am confused for is, to connect with a personalized URL, on which we are streaming the music.

Please tell me how can I personalize the URL for this example ?

Feel free to ask me, if I am unclear to you at any point.

Thank You.

ESP_HengYC
Posts: 184
Joined: Fri Dec 15, 2017 2:45 am

Re: How to change default URL in "pipeline_http_mp3" example.

Postby ESP_HengYC » Thu Dec 17, 2020 12:00 pm

maunik12 wrote:
Sat Nov 28, 2020 1:04 pm
Hello there,

I am planning to purchase ESP32 LyraT v4.3 to make an Internet Radio.

While searching for the examples, I found "esp-adf/examples/player/pipeline_http_mp3" example and I think it will be used to play music, which is being streamed over the internet. Please correct me if I am wrong.

I have setup the IDE and I can build the code successfully.

The only thing I am confused for is, to connect with a personalized URL, on which we are streaming the music.

Please tell me how can I personalize the URL for this example ?

Feel free to ask me, if I am unclear to you at any point.

Thank You.

You can modify https://github.com/espressif/esp-adf/bl ... mple.c#L97 here to change the url.

I do admit that putting urls configure in menuconfig is a better way. :lol:

Who is online

Users browsing this forum: No registered users and 49 guests