owncloud / ios-library

MIT License
77 stars 90 forks source link

Streaming Video #53

Open EmrahKK opened 9 years ago

EmrahKK commented 9 years ago

Is there a specific way of streming video in owncloud ios library? I 'm using below code to stream video from our owncloud server.

@property (nonatomic, strong) MPMoviePlayerController *moviePlayerController; . . .

-(void)videoFinished:(NSNotification*)notification { NSLog(@"Video end.."); }

but I'm getting

2014-09-09 09:40:42.491 ibb box[4021:60b] _itemFailedToPlayToEnd: { kind = 1; new = 2; old = 0; }

video does not play. I'm setting credidentals with

javiergonzper commented 9 years ago

To do that the server should provide us a way to obtain a direct URL to access to de the file without need athentication. Maybe you could open this on the core linking this issue.

supportreq commented 8 years ago

@nasli @EmrahKK It seems to be possible by passing the username and password directly with the http request.. check the implementation in android app https://github.com/owncloud/android/issues/592