Reputation: 392
Is there any possibilities to stream audio/video content from smb shares in iOS application?
Are AVPlayer or MPMoviePlayerController support this?
[Updated from comments]
using MPMoviePlayerController you can do this
So, how can I authorize MPMoviePlayerController?
I can read data from SMB shares, so I can download file to local storage and play. But if file is too big it may take too much time.
For example: FileBrowser application can stream video and audio from smb.
Upvotes: 2
Views: 2006
Reputation: 456
No you can't use MPMoviePlayerController for stream from SMB.
A solution that I used is a webserver in the app that make as proxy for the SMB client and MPMoviePlayerController
.
Upvotes: 1