Skip to content

Commit

Permalink
USE_WIFI_CLIENT_SECURE
Browse files Browse the repository at this point in the history
  • Loading branch information
pschatzmann committed Dec 4, 2024
1 parent e01d88e commit 6d6de36
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/AudioTools/CoreAudio/AudioHttp/URLStream.h
Original file line number Diff line number Diff line change
Expand Up @@ -325,14 +325,16 @@ class URLStream : public AbstractURLStream {
if (clientSecure != nullptr) {
clientSecure->setHandshakeTimeout(handshakeTimeout);
}
#endif

#ifdef ESP32
// Performance optimization for ESP32
if (!is_power_save) {
esp_wifi_set_ps(WIFI_PS_NONE);
}
#endif
return true;
}
#endif

/// Process the Http request and handle redirects
template <typename T>
Expand Down

0 comments on commit 6d6de36

Please sign in to comment.