Skip to content

Commit

Permalink
Merge branch 'release/v0.1.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
jptrsn committed Aug 5, 2024
2 parents 37986e4 + 0a58c93 commit e2fd360
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 12 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "zip-captions",
"version": "0.1.1",
"license": "MIT",
"version": "0.1.2",
"license": "GPL-3.0-only",
"scripts": {
"ng": "nx",
"start:client": "nx serve client --host=0.0.0.0 --poll=500",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -213,10 +213,6 @@ export class RecognitionService {
.map((result: SpeechRecognitionResult) => {
return result[0];
})
// TODO: Allow adjustment of confidence threshold
.filter((result: SpeechRecognitionAlternative) => {
return result.transcript.length && result.confidence > 0;
})
.map((result) => result.transcript)
.join('');
} else {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export class BrowserCompatibilityService {
const rtn: { platform: AppPlatform, error?: string, warning?: string} = {
platform: AppPlatform.desktop
};
if (this.platform.FIREFOX || this.platform.EDGE) {
if (this.platform.FIREFOX) {
rtn.platform = AppPlatform.unsupported;
rtn.error = 'ERRORS.missingApi';
} else {
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
28 changes: 23 additions & 5 deletions packages/client/src/manifest.webmanifest
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"theme_color": "#1976d2",
"background_color": "#fafafa",
"display": "fullscreen",
"scope": "./",
"scope": ".",
"start_url": "./",
"dir": "ltr",
"lang": "en",
Expand Down Expand Up @@ -51,22 +51,40 @@
{
"src": "assets/screenshots/screenshot-landing_411x730.png",
"sizes": "411x730",
"type": "image/png"
"type": "image/png",
"form_factor": "narrow"
},
{
"src": "assets/screenshots/screenshot-render_411x730.png",
"sizes": "411x730",
"type": "image/png"
"type": "image/png",
"form_factor": "narrow"
},
{
"src": "assets/screenshots/screenshot-peer_411x730.png",
"sizes": "411x730",
"type": "image/png"
"type": "image/png",
"form_factor": "narrow"
},
{
"src": "assets/screenshots/screenshot-settings_411x730.png",
"sizes": "411x730",
"type": "image/png"
"type": "image/png",
"form_factor": "narrow"
},
{
"src": "assets/screenshots/screenshot-landing-desktop_1919x934.png",
"sizes": "1919x934",
"type": "image/png",
"form_factor": "wide",
"label": "Landing Page"
},
{
"src": "assets/screenshots/screenshot-render-desktop_1919x934.png",
"sizes": "1919x934",
"type": "image/png",
"form_factor": "wide",
"label": "Live caption render"
}
],
"icons": [
Expand Down

0 comments on commit e2fd360

Please sign in to comment.