Skip to content
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

Calculate timeToFirstByte before fire the event 'downloadheadersreceived' #7604

Closed
vlazh opened this issue Nov 15, 2024 · 0 comments · Fixed by #7605 · May be fixed by #7597
Closed

Calculate timeToFirstByte before fire the event 'downloadheadersreceived' #7604

vlazh opened this issue Nov 15, 2024 · 0 comments · Fixed by #7605 · May be fixed by #7597
Assignees
Labels
component: networking The issue involves the networking system of Shaka Player priority: P3 Useful but not urgent type: enhancement New feature or request
Milestone

Comments

@vlazh
Copy link
Contributor

vlazh commented Nov 15, 2024

Is your feature request related to a problem? Please describe.

NetworkEngine calculates timeToFirstByte and store it to request object but it unavailable in 'downloadheadersreceived' event handler because it calculating before fire the event.

Describe the solution you'd like

Just move up the calculation.

Are you planning send a PR to add it?
Yes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: networking The issue involves the networking system of Shaka Player priority: P3 Useful but not urgent type: enhancement New feature or request
Projects
None yet
2 participants