user6081283 user6081283 - 1 month ago 20
iOS Question

How to play streaming AV data in iOS?

I'm trying to play streaming AV data from server (ex. VLC server)

Server send AV file data to client by TCP/IP.

Client get streaming data and queue buffers,
finally play AV in buffer queue.
(Before file download complete. It literally 'streaming')

Is there any APIs in iOS framework to do this?

Answer

Answer my self :)

I have solved it with AudioFileStream & AudioQueue Service.

AudioQueue support vary audio formats.

Please refer to Apple doc.

FYI.