DMAudioStreamer
DMAudioStreamer copied to clipboard
Adding additional HTTP header
Please is there a way to add headers when passing in a URL?
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 :) :)
Yes, we have API that requires the user to pass Authorisation header.