DMAudioStreamer icon indicating copy to clipboard operation
DMAudioStreamer copied to clipboard

Adding additional HTTP header

Open joefazee opened this issue 7 years ago • 2 comments

Please is there a way to add headers when passing in a URL?

joefazee avatar Feb 09 '18 09:02 joefazee

We are simple used 'android.media.MediaPlayer' MediaPlayer class and I does't provide any feature to set any header. It's only need a http/https media source URL from which it can play. More Details: https://developer.android.com/reference/android/media/MediaPlayer.html

Could you please describe more why do you want to passing header in URL? is there any authentication need to access that URL? I just wanted to know, if anything I can help you :) :)

dibakarece avatar Feb 21 '18 17:02 dibakarece

Yes, we have API that requires the user to pass Authorisation header.

joefazee avatar Feb 26 '18 11:02 joefazee