Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix error message handling in getusermedia/gum. (#1664)
* Fix error message handling in getusermedia/gum. Currently, when some errors occur in the getusermedia/gum demo, the error message isn't handled correctly because the constraints object might not have required properties in some cases. This patch fixes the error message handling by using the error object directly and dumping it as a JSON string.
- Loading branch information