Remote files

Hello,


I would like to implement something similar to AVAssetReferenceRestrictions.


One case is AVAssetReferenceRestrictionForbidCrossSiteReference where references of a remote file to a remote file are not allowed. This means that the referencing file and the referenced file are remote relative to each other as well. How can I detect this case?


TIA


Jan E.


PS. This seems to be a difficult one. I've tried in two other forums already.

PS. This seems to be a difficult one. I've tried in two other forums already.

I think the problem might be that folks don’t understand the context of your question. Certainly that’s the case for me. I can read up on

AVAssetReferenceRestrictions
but that only tells me about this issue in the context of AVAssets. Presumably you’re not working with AVAssets, otherwise you’d be using
AVAssetReferenceRestrictions
directly. So you’re working in some other context, and you haven’t explain what that context is.

Please expand more on the big picture issue here and we’ll see where that gets you.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"

Actually I want to do the same thing as AVAssetReferenceRestrictions. Maybe add an option to differentiate between internal and local volumes as well.

As you have concluded correctly I am not using AVAssets because AVFoundation doen not provide all the functionality I need to modernize my QuickTime apps.


Jan E.

I’m sorry, you need to explain more about the bigger picture here before I can offer any advice.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"

NSURL has the internal (connected to local bus) and local volume keys.

So let's say that "remote volume" = not internal and not local.

For example, the cloud is remote, files to be loaded from a website are remote.


Then I suppose it boils down to "given a file can we get some identifer for the site it is on so we can distinguish these sites?"

If this is too general or complex then I'll just forget about the remote to remote restriction. It isn't essential to my project.


Jan E.

I’m still not 100% sure that I understand what you’re getting at, but I think you’ll find this post useful.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"

Thanks for the link.

This is a tough problem indeed. Connection speed isn't necessarily proportional to remoteness (however defined) of volumes anyway.

I'll just stick with the "internal" and "local" keys for NSURL volumes for the time being.


Jan E.

Remote files
 
 
Q