ESP32-Radio icon indicating copy to clipboard operation
ESP32-Radio copied to clipboard

https-streams

Open janvonnebenan opened this issue 4 years ago • 7 comments

Hello, is it possible to add support for https-streams?

For example: Deutschlandfunk https://st01.sslstream.dlf.de/dlf/01/128/mp3/stream.mp3

janvonnebenan avatar Nov 08 '20 14:11 janvonnebenan

I have not tried it. What is the point is sending public mp3 streams over https?

Edzelf avatar Nov 08 '20 16:11 Edzelf

Otschi: your example is http (port 80):

D: Connect to new host stream.radioparadise.com/aac-320
D: Connect to stream.radioparadise.com on port 80, extension /aac-320
D: Connected to server
D: Song stopped correctly after 0 msec
D: Switch to HEADER
D: Headerline: Server: openresty/1.17.8.2
D: Headerline: Content-Type: audio/aac
D: audio/aac seen.
D: Headerline: Connection: close
D: Headerline: icy-br: 320
D: Headerline: ice-audio-info: channels=2;samplerate=44100;bitrate=320
D: Headerline: icy-description: DJ-mixed blend of modern and classic rock, electronica, world music, and more. Always 100% commercial-free
D: Headerline: icy-genre: Eclectic
D: Headerline: icy-name: Radio Paradise (320k aac)

Edzelf avatar Nov 09 '20 10:11 Edzelf

Jan: This seems to work (port 80): dradio-edge-30af-fra-ts-cdn.cast.addradio.de/dradio/dlf/live/mp3/128/stream.mp3

Edzelf avatar Nov 09 '20 10:11 Edzelf

I run into the same issue. For example all programs of Deutschlandfunk are only stramed in https (why ever). https://www.deutschlandradio.de/unsere-streaming-adressen-im-einzelnen.3236.de.html

To enter the address without the https does not work. Does anybody found a solution for this?

Kristian-12345 avatar Nov 13 '20 18:11 Kristian-12345

Jup! I think i can help!! The most Web Radios are hidden or linked! To find the right Stream i found out this way! let me know if it workes for you too! Greetings Andreas

First copy your address of web radio into MS Edge browser: https://www.deutschlandfunk.de/unsere-live-streams.2396.de.html?xtor=AD-251-%5B%5D-%5B%5D-%5B%5D-%5Bdlf-mobil%5D-%5B%5D-%5B%5D After it opened click right mouse and select "Untersuchen"

2020-11-13_20h21_16

2020-11-13_20h22_49

On the right window click on Network/Netzwerk Then push theplay button on the Deutschlandfunk Website and the webplayer starts streaming the mp3

2020-11-13_20h23_49

After that you can easily grab the streamurl by right click!

2020-11-13_20h24_20

Check out Ed's WebRadio config site and generate a new preset like this!

2020-11-13_20h25_29

Kill all unnecessary additions like in this pic shown! Don't forget to hit save and you're good to go.........!

2020-11-13_20h26_52

Beppi4U avatar Nov 13 '20 19:11 Beppi4U

Thanks for your nice instructions,
unfortunate I failed to do this with Firefox under Linux, but with your information I found another way; This side lists many stations: https://www.radio-browser.info/#!/ It can only export playlists. If I open that playlist in the vlc player, the context menu gives me this url: http://st01.dlf.de/dlf/01/64/mp3/stream.mp3 Which is working. No clue why they try so hard to hide it.

Kristian-12345 avatar Nov 13 '20 20:11 Kristian-12345

Usually on most play sites there is a commercial shown. So i think its a matter of money. But there is always a way around every obstacle! 😉

Beppi4U avatar Nov 13 '20 20:11 Beppi4U