Get an audio stream from URI and play it on iPhone

前端 未结 4 976
轻奢々
轻奢々 2020-12-08 05:24

I would like to get an audio stream from URL and play it on iPhone. Unfortunately, there is only C# example of how to play that stream, but I need a realization on Objective

4条回答
  •  萌比男神i
    2020-12-08 06:08

    Look into the AVPlayer class, part of the AVFoundation framework... this is the objective-c (iOS) class you use for streaming audio.

提交回复
热议问题