-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Add new JavaScript function: <b>Webrtc::getScreenShot()</b>. This function converts the RGB32 raw image to bitmap then to base64. The process is instantaneous and the base64 image could be used in JavaScript like this: ``` var image = new Image(); image.onload = function () { document.getElementById("mycanvas").getContext("2d").drawImage(image, 0, 0, width, height); }; image.src = "data:image/png;base64," + base64; ``` - Bug fix: - [Issue #6](../../issues/6): The active element tag flashes when the window is resized or scrolled - [Issue #7](../../issues/7): drawImage() function is toooo slooow - [Issue #8](../../issues/8): Color alignment issue in drawImage()
- Loading branch information
1 parent
2a26493
commit 42ac42e
Showing
18 changed files
with
1,402 additions
and
1,005 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
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
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
Oops, something went wrong.