In order to playback AAC data received from a WebSocket in a mini-program, a solution is needed to convert the AAC data into a format that can be played by the mini-program. Currently, the mini-program does not support playing AAC frame data and only supports network streaming or file playback. There are a few approaches that can be taken to achieve this. One option is to decode the AAC data into PCM data and then play it back. However, it appears that there is no corresponding API for decoding AAC data in the mini-program. Another possibility is to convert the AAC data into a compatible format, such as MP3, and then play it back. This would require using a third-party library or API that can convert the AAC data into MP3. Finally, it may be possible to use a video player solution that can play back AAC data directly. However, this would likely require additional development and integration with the mini-program.