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

doc: Fix syntax errors in example JSON #2346

Merged
merged 2 commits into from
Apr 6, 2022
Merged

doc: Fix syntax errors in example JSON #2346

merged 2 commits into from
Apr 6, 2022

Conversation

thomshutt
Copy link
Contributor

What does this pull request do? Explain your changes. (required)
Adjust sample config JSON to be valid and usable

Specific updates (required)

  • Remove trailing commas
  • FPS has to be an integer
  • Profile has to be a string

How did you test each of these updates (required)
Started local Broadcaster using this config

Does this pull request close any open issues?
No

Checklist:

* Remove trailing commas
* FPS has to be an integer
* Profile has to be a string
},{
"name":"highlight-reel",
"width":160,
"height":120,
"bitrate":100000,
"fps": "0.1",
"gop":"intra",
"fps": 1,
Copy link
Contributor

@cyberj0g cyberj0g Apr 5, 2022

Choose a reason for hiding this comment

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

Maybe original intention was to highlight that fractional FPS are supported? e.g. 24000/1001 and 30000/1001 are obsolete, but still quite common.

Copy link
Contributor Author

@thomshutt thomshutt Apr 6, 2022

Choose a reason for hiding this comment

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

Yeah, that could've been the original intent but looks like it's an int now

Fps uint32 `protobuf:"varint,20,opt,name=fps,proto3" json:"fps,omitempty"`

@thomshutt thomshutt merged commit 42c5882 into master Apr 6, 2022
@thomshutt thomshutt deleted the thomshutt-patch-1 branch April 6, 2022 14:07
ad-astra-video pushed a commit to ad-astra-video/go-livepeer that referenced this pull request May 25, 2022
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.

None yet

3 participants