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

fix: incorrect audio bitrate sanitization #473

Merged
merged 3 commits into from
May 26, 2021

Conversation

deermichel
Copy link
Contributor

Contributing checklist

  • Code must follow existing styling conventions
  • Added a descriptive commit message

Solves issue(s)

The OpenTok docs mention that the supported audio bitrate ranges from 6k to 510k (the docs of this library as well). However, the sanitization method didn't allow values < 80k or > 128k (apart from the fallback default of 40k).

@enricop89 enricop89 changed the base branch from master to 0.15.1 February 17, 2021 10:58
@enricop89 enricop89 changed the base branch from 0.15.1 to master February 17, 2021 11:02
@enricop89 enricop89 changed the base branch from master to 0.15.1 February 17, 2021 13:15
@abdulajet abdulajet changed the base branch from 0.15.1 to main May 26, 2021 11:21
Copy link
Contributor

@abdulajet abdulajet left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@abdulajet abdulajet changed the base branch from main to 0.17.2 May 26, 2021 12:58
@abdulajet abdulajet merged commit 96459ff into opentok:0.17.2 May 26, 2021
@abdulajet abdulajet mentioned this pull request May 27, 2021
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