-
Notifications
You must be signed in to change notification settings - Fork 6k
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
Unable to enable gzip Encoding SingleSampleMediaSource #4771
Comments
We expect the Either way I don't think you've described the use case in sufficient detail for us to know what the next steps are. Could you please elaborate a little :). Thanks! |
@ojw28 We download subtitles from CDN (akamai) using SingleSampleMediaSource which in turn uses DefaultHttpDataSource for pulling it from internet. When SingleSampleMediaSource is constructed , it creates DataSpec with just URI(there is no provision in SingleSampleMediaSource constructor to pass a DataSpec#Flags)
What we are requesting here is, to expose a parameter in SingleSampleMediaSource to allow passing flags to it's DataSpec object while creation :
|
Got it. I'm not actually sure why we don't use |
@ojw28 thanks a lot ! |
Issue: #4771 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=212623142
Issue description
Unable to enable gzip Encoding for SingleSampleMediaSource
We are using this media source for loading side-car Subtitle tracks and we are seeing improvements if gzip is enabled.
So requesting to add a provision to pass an option to enable/disable gzip encoding acceptance.
Reproduction steps
There is no constructor in SingleSampleMediaSource that accepts allowGzipEncoding as parameter
Link to test content
Mailed to dev.exoplayer@gmail.com
Version of ExoPlayer being used
2.8.4
Device(s) and version(s) of Android being used
Any Androi Device is Applicable
A full bug report captured from the device
This is more of an enhancement request
The text was updated successfully, but these errors were encountered: