Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
Copyright (c) 2020 Kyle Simpson <getify@gmail.com> | ||
|
||
Permission is hereby granted, free of charge, to any person | ||
obtaining a copy of this software and associated documentation | ||
files (the "Software"), to deal in the Software without | ||
restriction, including without limitation the rights to use, | ||
copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the | ||
Software is furnished to do so, subject to the following | ||
conditions: | ||
|
||
The above copyright notice and this permission notice shall be | ||
included in all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES | ||
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | ||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT | ||
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, | ||
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | ||
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR | ||
OTHER DEALINGS IN THE SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# getUserMedia(): Try HD! - Browser Extension | ||
|
||
This browser extension attempts to fix a problem I've experienced on some video-calling sites (specifically, Zoom and WhereBy), where their web clients don't properly ask for HD (1280x720 or 1920x1080) resolution from your camera, and in some cases (like mine) it results in squished/distorted video instead of just nice cropping. | ||
|
||
This extension patches the built-in `getUserMedia(..)` API to intercept these kinds of calls and to force a request for 1280x720. Thus, if your camera supports that 16:9 HD aspect ratio, a proper non-squished feed will be returned to the web client. If your camera only supports 4:3 aspect ratio, such as 1024x768 or 640x480, then the request should nicely downgrade for your camera and still provide non-squished (albeit not-HD aspect ratio) video for your calls. | ||
|
||
By default, the settings for this extension only apply the patch to Zoom and WhereBy sites. You can change the settings to apply to different sites. There's also a handy enable/disable toggle switch if you want to quickly turn off the extension temporarily without actually uninstalling it. | ||
|
||
## License | ||
|
||
All code and documentation are (c) 2020 Kyle Simpson and released under the [MIT License](http://getify.mit-license.org/). A copy of the MIT License [is also included](LICENSE.txt). |