0

I am playing video in UIView using AVPlayer after downloading from AWS server with Cognito poolid. But here is a problem that it first download video then it is playing and it is taking some time to download.

I am using Amazon S3 Transfer Utility for uploading and downloading files.

So I need any way that I can play it in stream using url or something direct stream way.

Can anyone please help me some way that I can implement it properly?

Asif Raza
  • 836
  • 12
  • 29
  • Possible duplicate of [AVPlayer wont play video from url in iOS9](http://stackoverflow.com/questions/32865228/avplayer-wont-play-video-from-url-in-ios9) – iphonic Mar 14 '17 at 05:55
  • Question - can you play video by pasting the video url to browser directly? – iphonic Mar 14 '17 at 05:55
  • @iphonic, no because cognito doesn't provide url. It provide NSData after download. – Asif Raza Mar 14 '17 at 06:23

0 Answers0