-
Notifications
You must be signed in to change notification settings - Fork 176
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
Add non-integer framerate support #1525
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, just a few comments around test cases and field naming.
The webhook documentation also needs to be updated to reflect the new field: https://github.com/livepeer/go-livepeer/blob/master/doc/rtmpwebhookauth.md It probably doesn't hurt to mention in the doc that if the field is optional, and if omitted, a value of 1
is used by default.
* Add FPS denominator in Protobuf VideoProfile structs * Add unit tests to confirm correct conversion b/w LPMS & Protobuf VideoProfile * Ensure fee calculations & cost calculations work with non-int FPS * Add unit tests for calculation changes
Also update RTMP auth webhook docs to add info on the field
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚢
What does this pull request do? Explain your changes. (required)
This PR adds support for non-integer framerates (#1474) by passing an optional FPS denominator field everywhere (like protobufs, webhooks etc.).
Specific updates (required)
FullProfiles3
field to maintain back compat with late upgraders who wouldn't support the new Denominator fieldffmpeg.VideoProfile
tonet.VideoProfile
, also update webhook docs.How did you test each of these updates (required)
Does this pull request close any open issues?
Fixes #1474
Checklist:
./test.sh
pass