This is a simple SwiftUI demo application capable of playing HLS audio streams. It is built for example purposes and is meant to complement the documentation for Epidemic Sound's Partner Content API.
The app uses signed cookies for accessing the HLS files (see AudioContentProvider.swift). The signed cookies expect the same data as returned by the HLS endpoint. In this example the HLS URLs and signed cookie data can be found in the resources.
The audio player funcionality is built using AVFoundation, which takes care of the complexities of HLS. This means that the implementation is very similar to an equivilant implementation useing simple audio files.