Przeglądaj źródła

dbx: fix streaming

Felix Paul Kühne 11 lat temu
rodzic
commit
475098b11d
2 zmienionych plików z 2 dodań i 2 usunięć
  1. 1 0
      NEWS
  2. 1 2
      Sources/VLCDropboxController.m

+ 1 - 0
NEWS

@@ -1,6 +1,7 @@
 2.2.1:
 ------
 * Added initial support for ARM64 aka AArch64 aka ARMv8
+* Improved reliability for Dropbox streaming
 
 2.2.0:
 ------

+ 1 - 2
Sources/VLCDropboxController.m

@@ -183,8 +183,7 @@
 - (void)restClient:(DBRestClient*)restClient loadedStreamableURL:(NSURL*)url forFile:(NSString*)path
 {
     VLCAppDelegate *appDelegate = (VLCAppDelegate *)[UIApplication sharedApplication].delegate;
-    /* DBX returns a https URL which we don't support yet. in turn, we fall back on http */
-    [appDelegate openMovieFromURL:[NSURL URLWithString:[NSString stringWithFormat:@"http://%@%@", url.host, url.path]]];
+    [appDelegate openMovieFromURL:url];
 }
 
 - (void)restClient:(DBRestClient*)restClient loadStreamableURLFailedWithError:(NSError*)error