-
Notifications
You must be signed in to change notification settings - Fork 853
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 Support for header tokens #129
Comments
It would be nice to be able to pass an auth token, for secured remote content. |
I am not sure, would to do some research. I wonder if this is something achieved on the native platform |
Would like to have this feature too! |
Maybe this is helpful for iOS: https://stackoverflow.com/questions/15456130/add-custom-header-field-in-request-of-avplayer |
I need this feature too! |
I've implemented the Android side - anyone have experience with Objective C willing to do the iOS side for this? |
Somebody has some news for this? I would need it too. |
Please add this feature! |
I need this feature too! |
+1 |
HTTPS headers for web please :D |
any updates on HTTPS headers for web? |
Pl add this feature! |
Please add this feature. |
I try to play a file from a Nextcloud. Please add this feature. |
Proposal: implement #374 by downloading the file beforehand and then can use header tokens to get the file, so we don't rely on the platform implementation. |
any update ? |
+1 |
Downloading files in advance is reasonable and effective, but we need to be aware of one issue: most of the time, we prefer online audio to be cached in segments rather than caching the entire file before playback. This allows us to save some data usage and enables faster playback of online music. |
+1 |
audioplayers uses AVPlayerItem under the hood for iOS, and Apple has gone way out of their way to prevent arbitrary (auth for example) header additions to the AVURLAsset's that AVPlayerItem uses. as best I can tell, you'd have to subclass AVURLAsset, creating your own custom URL scheme, and implement your own delegation of the resource loading to manage all the network interactions yourself. feeling like all roads lead to accessing remote URLs that require custom headers via an HTTP lib, saving data locally, then having audioplayers play the local file. the alternative is a pretty big overhaul of how audioplayers currently implements UrlSource in order to get custom headers in there. |
No description provided.
The text was updated successfully, but these errors were encountered: