HTTPs Support
HTTPS support is required in order to provide:
- Playback of podcasts hosted outside Spotify
- Playback of lossless audio
- User privacy
- Future use of modern protocols for eSDK to Spotify backend communication.
Note: eSDK has a software abstraction for the TLS stack that the integration must use to implement the full HTTPS stack.
Please refer to spotify_embedded_tls.h for more detail on the APIs to implement.
There are also example implementations using MbedTLS and OpenSSL under examples/tls.
If you are building with cmake we include a minimal FindMbedTLS under examples (as there
is no official one provided), which can be used as find_package(MbedTLS).
For OpenSSL, find_package(OpenSSL) is enough provided you have the development package installed.