Skip to content

Commit

Permalink
feat: update embeddable and enable noise reduction (#81)
Browse files Browse the repository at this point in the history
  • Loading branch information
embbnux authored Jan 8, 2024
1 parent 549d869 commit 273a4cc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<html>
<head>
<meta http-equiv="Content-Security-Policy" content="script-src 'self' https://ringcentral.github.io">
<meta http-equiv="Content-Security-Policy" content="script-src 'self' https://apps.ringcentral.com">
<title>RingCentral Phone (Community)</title>
<style type="text/css">
html, body {
Expand Down
4 changes: 2 additions & 2 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ function createMainWindow() {
mainWindow.setBrowserView(mainView);
mainView.setBounds({ x: 0, y: 37, width: 300, height: 500 });
mainView.setAutoResize({ width: true, height: true });
let appUrl = 'https://ringcentral.github.io/ringcentral-embeddable/app.html';
appUrl = `${appUrl}?appVersion=${version}&userAgent=RingCentralEmbeddableForLinux/${version}&enableRingtoneSettings=1`;
let appUrl = 'https://apps.ringcentral.com/integration/ringcentral-embeddable/latest/app.html';
appUrl = `${appUrl}?appVersion=${version}&userAgent=RingCentralEmbeddableForLinux/${version}&enableRingtoneSettings=1&enableNoiseReductionSetting=1`;
if (rcClientId) {
appUrl = `${appUrl}&clientId=${rcClientId}`;
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "ringcentral-embeddable-voice-app",
"description": "A RingCentral phone desktop client, built with RingCentral Embeddable and Electron",
"version": "0.2.4",
"version": "0.3.0",
"main": "main.js",
"license": "MIT",
"author": {
Expand Down

0 comments on commit 273a4cc

Please sign in to comment.