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

Add support for H264 profiles #1542

Merged
merged 3 commits into from
Jun 24, 2020
Merged

Add support for H264 profiles #1542

merged 3 commits into from
Jun 24, 2020

Conversation

jailuthra
Copy link
Contributor

What does this pull request do? Explain your changes. (required)
This PR adds support for specifying the H264 encoder profile (#1531) by passing it as a field in the VideoProfile related structs.

Specific updates (required)

  • 1a4543e Add the field in Protobuf net.VideoProfile struct - Serialize/Deserialize to LPMS VideoProfile
  • 1298f09 Back Compat with older Os by using FullProfiles3 field only when the new Profiles field is used
  • 1786a39 Add ability to configure the H264 profile from the auth webhook JSON response

How did you test each of these updates (required)

  • Unit Tests for new codepaths
  • Manual testing with off-chain B-OT setup

Does this pull request close any open issues?

Fixes #1531

Checklist:

  • README and other documentation updated
  • Node runs in OSX and devenv
  • All tests in ./test.sh pass

go.sum Outdated Show resolved Hide resolved
common/util.go Show resolved Hide resolved
@jailuthra
Copy link
Contributor Author

jailuthra commented Jun 23, 2020

PS: For some reason the segmenter test case is failing - I guess it's unrelated to my changes because it fails on my local master build as well.

{"name": "prof2", "bitrate": 765, "fps": 876, "fpsDen": 12, "width": 456, "height": 987},
{"name": "passthru_fps", "bitrate": 890, "width": 789, "height": 654}]}`)
{"name": "passthru_fps", "bitrate": 890, "width": 789, "height": 654, "profile": "H264ConstrainedHigh"}]}`)
Copy link
Collaborator

Choose a reason for hiding this comment

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

TeSt FoR mIxEd CaSe?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Actually it already is mixed case....!!

Copy link
Collaborator

@j0sh j0sh left a comment

Choose a reason for hiding this comment

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

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.

H.264 Profiles
2 participants