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

core/vidplayer: add useful debug info to http response headers #332

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

emranemran
Copy link

When viewing HLS manifests/segments, it is often useful to view
information on how those segments were generated. This commit adds
fields such as git-sha and node identifiers to the HTTP response
headers.

@emranemran
Copy link
Author

Looks like a test correctly failed - will fix the test once the initial review is done.

@leszko
Copy link
Contributor

leszko commented Jun 8, 2022

@emranemran Could you please change reviewers to include 2 pers only?

@leszko leszko removed their request for review June 8, 2022 05:59
type VidPlayerDebug struct {
DebugEnabled bool
LivepeerVersion string
NodeType string
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO: remove NodeType here as we'll always be looking at the broadcaster node for async HLS playback.

@emranemran emranemran force-pushed the user/emahbub/add-http-debug-headers-lpms branch from 6ff4891 to f0b0183 Compare June 13, 2022 20:48
@emranemran emranemran force-pushed the user/emahbub/add-http-debug-headers-lpms branch from f0b0183 to bafdabf Compare June 13, 2022 21:13
When viewing HLS manifests/segments, it is often useful to view
information on how those segments were generated. This commit adds
fields such as git-sha and node identifiers to the HTTP response
headers.
@emranemran emranemran force-pushed the user/emahbub/add-http-debug-headers-lpms branch from bafdabf to edfec46 Compare June 13, 2022 21:20
@thomshutt thomshutt self-requested a review June 14, 2022 09:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants