-
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
How we can get the response header in Exoplayer. #4615
Labels
Comments
Does |
FYI: getting the response headers through the normal callbacks is also
tracked by #4361.
…On Mon, 6 Aug 2018, 11:43 Andrew Lewis, ***@***.***> wrote:
Does HttpDataSource.getResponseHeaders
<https://github.com/google/ExoPlayer/blob/ce55d1a/library/core/src/main/java/com/google/android/exoplayer2/upstream/HttpDataSource.java#L348>
provide the information you need?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#4615 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AZpsYqxMk_buPvEZMAXutdlry5vapipAks5uOB24gaJpZM4Vt3Y4>
.
|
yes, but how to getting null using HttpDataSource.getResponseHeaders
…On Mon, Aug 6, 2018 at 8:55 PM, tonihei ***@***.***> wrote:
FYI: getting the response headers through the normal callbacks is also
tracked by #4361.
On Mon, 6 Aug 2018, 11:43 Andrew Lewis, ***@***.***> wrote:
> Does HttpDataSource.getResponseHeaders
> <https://github.com/google/ExoPlayer/blob/ce55d1a/
library/core/src/main/java/com/google/android/exoplayer2/
upstream/HttpDataSource.java#L348>
> provide the information you need?
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <#4615 (comment)
>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AZpsYqxMk_
buPvEZMAXutdlry5vapipAks5uOB24gaJpZM4Vt3Y4>
> .
>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#4615 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AMXIwqLfNFaaxA4CcRWYQSHeTjYDULdOks5uOF_pgaJpZM4Vt3Y4>
.
--
*Thanks & RegardsVarun Mishra *
*Co No. :+919999191660*
*skype id: vvarun.mishra*
|
You need to call |
ojw28
pushed a commit
that referenced
this issue
Aug 24, 2018
The response headers of the last load are available from the loading source when creating media source events and can be easily forwarded. Issue:#4361 Issue:#4615 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=209900693
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Actual I am using Exoplayer v2 and on LA_Url request i have to read response header but did not find any way to achieve it.
Also need to acess every response header to stop the video at specific header value.
provide the solution.
While debugging i can access response using - //DataSource.connection.delegate.httpEngine.networkResponse.headers.namesAndValues;
The text was updated successfully, but these errors were encountered: