dibakarece / DMAudioStreamer

DMAudioStreamer library help you to integrate audio streaming in your application.
Apache License 2.0
143 stars 61 forks source link

Adding additional HTTP header #4

Open joefazee opened 6 years ago

joefazee commented 6 years ago

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

dibakarece commented 6 years ago

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 :) :)

joefazee commented 6 years ago

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