AVPlayer loading AVAsset from file that is appended simultaneously by external source (for macOS and iOS)
I have a question concerning the use of AVFoundation’s AVPlayer (probably applicable to both iOS and macOS). I am trying to playback audio (uncompressed wav) data that come from a channel other than the standard HTTP Live Streaming. The case: Audio data packets come compressed in a channel along with other data the app needs to work with. For example, video and audio come in the same channel and get separated by a header. After filtering, I get the audio data and decompress them to a WAV format (does not contain headers at this stage). Once the data packets are ready (9600 bytes each for 24k,