Unable to access ODR Files.

I'm trying to access the on-demand resources files for playback, but I cannot access them unless I'm in the ODRManager request method.

Outside of the ODRManager class, the path in the main bundle returns nil.

Any idea?

Yes, this is correct and working as designed.

The file path URL only lasts as long as the resource request object is in memory. Once your app calls endAccessingResources or them resource request is deallocated, the url is no longer valid.

That being said, your app can have multiple resource requests occurring at once, and they can remain open for a very long time.

Unable to access ODR Files.
 
 
Q