This commit is contained in:
2026-02-12 21:00:02 -08:00
parent 77f8236347
commit 8bdbf227ca
1141 changed files with 1010880 additions and 2 deletions

View File

@@ -0,0 +1,18 @@
#include "AudioTools.h"
#include "AudioTools/Communication/AudioHttp.h"
URLStream url("SSID","PASSWORD"); // or replace with ICYStream to get metadata
MeasuringStream out(50, &Serial); // final output of decoded stream
StreamCopy copier(out, url); // copy url to decoder
void setup(){
Serial.begin(115200);
AudioToolsLogger.begin(Serial, AudioToolsLogLevel::Warning);
while(!Serial);
url.begin("http://stream.srg-ssr.ch/m/rsj/mp3_128","audio/mp3");
}
void loop(){
copier.copy();
}