문제

When using an AVPlayer to stream audio from a server - At what point does the player begin loading the audio into itself?

Does it only begin doing this when you click avPlayer.Play() ?

Or does it begin to load the audio immediately at the point of instantiating the AVPlayer with an NSURL?

도움이 되었습니까?

해결책

No, it should begin loading when initialized with an NSUrl. You can check the status with AVPlayer.Status, which will return ReadyToPlay at the appropriate time.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top