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

Add headers #17

Open
muhammad-naderi opened this issue Apr 18, 2017 · 2 comments
Open

Add headers #17

muhammad-naderi opened this issue Apr 18, 2017 · 2 comments

Comments

@muhammad-naderi
Copy link

Hi,

thanks for the great job

is there any way that I can add headers to the url(s) so I can satisfy some security protocols of the server ?

@tschob
Copy link
Owner

tschob commented Apr 27, 2017

Hi, there is currently no way as the complete playing / streaming logic is done with AVPlayer.
As far as I know the fetching has do be done manually if custom headers are needed. Either with a complete download before playing the file locally or by implementing the requests with the AVAssetResourceLoaderDelegate.

@moderateepheezy
Copy link

I also would like a solution to adding headers to the URL

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

No branches or pull requests

3 participants