Skip to content

Commit

Permalink
bumped to we-applet 0.14.0, added noiseSuppression and echoCancellation
Browse files Browse the repository at this point in the history
  • Loading branch information
matthme committed Jan 22, 2024
1 parent 6a8f5f8 commit 8a54db9
Show file tree
Hide file tree
Showing 6 changed files with 804 additions and 1,677 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@
.hc*
.hc
.running
ui/*.png
34 changes: 29 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ui",
"version": "0.1.8",
"version": "0.2.0",
"scripts": {
"start": "vite --port $UI_PORT --clearScreen false",
"build": "vite build",
Expand All @@ -16,7 +16,7 @@
"@holochain-open-dev/profiles": "^0.17.3",
"@holochain-open-dev/stores": "^0.8.9",
"@holochain-open-dev/utils": "^0.16.3",
"@lightningrodlabs/we-applet": "^0.12.3",
"@lightningrodlabs/we-applet": "^0.14.0",
"@lit/context": "^1.1.0",
"@lit/task": "^1.0.0",
"@lit/localize": "0.12.1",
Expand Down
5 changes: 4 additions & 1 deletion ui/src/room-view.ts
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,10 @@ export class RoomView extends LitElement {
let audioStream: MediaStream | undefined;
try {
audioStream = await navigator.mediaDevices.getUserMedia({
audio: true,
audio: {
noiseSuppression: true,
echoCancellation: true,
},
});
} catch (e: any) {
console.error(`Failed to get media devices (audio): ${e.toString()}`);
Expand Down
2 changes: 1 addition & 1 deletion ui/src/unzoom-app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ export class UnzoomApp extends LitElement {
class="column"
style="align-items: center; display: flex; flex: 1; width: 100vw;"
>
<span style="position: fixed; bottom: 0; left: 5px; color: #c8ddf9; font-size: 16px;">v0.1.8</span>
<span style="position: fixed; bottom: 0; left: 5px; color: #c8ddf9; font-size: 16px;">v0.2.0</span>
<div class="column top-panel">
<div style="position: absolute; top: 0; right: 20px;">
unzoom.
Expand Down
Loading

0 comments on commit 8a54db9

Please sign in to comment.