-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Support setting request properties on DefaultHttpDataSourceFactory #2166
Comments
|
Allowing request properties to be set on DefaultHttpDataSourceFactory would be great else we need to build our own ExtractorRendererBuilder, HlsRendererBuilder etc to add headers after createDataSource() is done. |
I'm really struggling to follow what you're referring to. There are no classes called RendererBuilder, ExtractorRendererBuilder or HlsRendererBuilder in ExoPlayer V2. It shouldn't be much work at all to implement your own |
Thanks...Tried out implementing my own Factory and successfully able to do it, but in future it would be great if a method is exposed similar to createDataSource() in Factory. |
DefaultHttpDataSourceFactory
DefaultHttpDataSourceFactory
Note: We should also add support for the okhttp and cronet factories. |
Issue: #2166 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=143703258
Need to send custom headers to our server while streaming media URL.
Please provide an API to support this in Exoplayer v2.
Earlier we used to do this via DefaultHttpDataSource(setRequestProperty method), but now its not exposed in Renderers or RendererBuilder.
-Kashyap.
The text was updated successfully, but these errors were encountered: