0

We currently are workiong on an share extension (xamarin ios) for mediafiles. Every thing working fine expecpt .mov files.

Every kind of attempt to load them in an stream or get any bit of the shared .mov files failed with an app crash.

Could anyone say why or has an solution for this kind of poblem?

We tried: NSData .AsSteam/.ToArray and foreach File.Load FileInfo.openRead AVAssets

  • Hi , welcome to SO! Do you mean that other files will share successfully ?And you can share more code about sharing `.mov` file . – Junior Jiang Mar 31 '20 at 07:31
  • All files shred successfully except .mov files. For code i use the same code like the demo from xamarin. to load the file if tryed every posible provider for xamarin ios. Example: new NSData(Url you get by using NSItemProvider LoadItemAsync).AsStream(); – JanSchrader Mar 31 '20 at 11:23
  • Okey , what about the size of `.mov` file , you can have a try with a samll szie `.mov` file to check whether it works . Generally , `.mov` file stored with large size , I think it maybe the problem . – Junior Jiang Apr 01 '20 at 01:38
  • for testing purpose i used mutiple files with mutiple file sizes. the smalest file has an size of 14.5 mb – JanSchrader Apr 01 '20 at 05:43
  • Got it. If good solution will share here later . – Junior Jiang Apr 01 '20 at 08:33
  • OK, looking forward to it. – JanSchrader Apr 02 '20 at 08:33
  • Hi , you also can share the tried code in question , then I will check that in my local site to find the solution . – Junior Jiang Apr 08 '20 at 09:24

0 Answers0