Is there a way to get a PCM from HLS Audio Streaming?

We are providing real-time Audio HLS Streaming service. And the Streaming provides M3U8 with HTTP URL with HLS.

Is there a way to get a PCM from HLS Audio Streaming?

If so, is this documented somewhere?


AVAudioPlayer knows that only local audio files can get PCM.

We find a way to do it in HLS, not in local audio files and remote.

I tried MTAudioProcessingTap for AVPlayer. However, the callback does not work in the case of HLS.

And although AVAudioEngine has also been investigated, there seems to be no way to configure the input node type to use the HLS stream.


Conclusion, is there a way to get a PCM from HLS Audio Streaming?


Thanks a lot!