Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can we stop the ongoing download? #45

Open
mohamedrafi-rapid opened this issue Jul 26, 2022 · 4 comments
Open

How can we stop the ongoing download? #45

mohamedrafi-rapid opened this issue Jul 26, 2022 · 4 comments

Comments

@mohamedrafi-rapid
Copy link

Please help me to stop the ongoing download

@mohamedrafi-rapid
Copy link
Author

@neekeetab pls help here

@neekeetab
Copy link
Owner

@mohamedrafi-rapid was it resolved in #46 ?

@mohamedrafi-rapid
Copy link
Author

mohamedrafi-rapid commented Aug 17, 2022

@neekeetab No.

Now I am cancelling download an ongoing session by playerItem?.resourceLoaderDelegate.session?.invalidateAndCancel(). Made resourceLoaderDelegate.session public

@mohamedrafi-rapid
Copy link
Author

@neekeetab Pls clear my doubt, that is If I call to play the player item while it's already been downloaded, what will happen?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants