partey_workadventure/front
David Négrier ae9170ba85 Fixing camera led always on
This commit fixes a race condition in the "getUserMedia" call that could lead to the webcam being in an always on state.

If we open and close the webcam really quickly, the camera close was sometimes passing BEFORE the open was fully resolved (because getUserMedia can take a few 100ms to answer properly).
As a result, the webcam would stay open.
To solve this, we are putting all calls to getUserMedia in a resolve chain (`currentGetUserMediaPromise`)

Closes #2149
2022-05-10 12:01:51 +02:00
..
packages/iframe-api-typings Adding RXJS as a dependency in iframe-api-typings 2022-03-25 17:38:01 +01:00
public Remove .htaccess as it's no longer in use 2022-05-09 14:58:29 +02:00
src Fixing camera led always on 2022-05-10 12:01:51 +02:00
style Fix nes-container border on chrome 2022-05-09 14:56:17 +02:00
tests Zod EVERYWHERE (#2027) 2022-04-12 14:21:19 +02:00
.dockerignore Fixing Dockerfiles 2020-04-11 15:11:22 +02:00
.eslintrc.js Fine-tuning the @typescript-eslint/no-unused-vars rule 2022-04-22 18:09:39 +02:00
.gitignore Implement UI Website (#2087) 2022-05-04 18:30:31 +02:00
.prettierignore lazy load locales (#1940) 2022-04-25 16:45:02 +02:00
.prettierrc.json remove explicit definition of prettier-plugin-svelte 2022-02-03 19:26:25 +01:00
.typesafe-i18n.json Updating i18n-typesafe version to 5.4.0 2022-04-26 15:07:09 +02:00
Dockerfile Multi-platform images (#1924) 2022-03-08 11:21:17 +01:00
iframe-api.vite.config.ts add vite config to build iframe api 2022-02-02 00:20:46 +01:00
index.html update generic-type-guard and @geprog/vite-plugin-env-config 2022-02-19 00:13:25 +01:00
jasmine.json Adding PlayerMovement class to interpolate/extrapolate position along tests (installing Jasmine) 2020-06-02 10:48:04 +02:00
LICENSE.txt Changing license to AGPL + Commons Clause 2020-06-09 10:17:21 +02:00
nginx.conf Add * in access location of nginx configuration 2022-03-16 15:52:29 +01:00
package.json Implement UI Website (#2087) 2022-05-04 18:30:31 +02:00
templater.sh base front production image on official nginx image 2022-02-25 20:32:10 +01:00
tsconfig-for-iframe-api-typings.json build iframe-api-typings with tsc 2022-02-01 11:22:33 +01:00
tsconfig-for-jasmine.json Fixing Jasmine tests 2021-05-17 16:41:10 +02:00
tsconfig.json Fix error on undefined path of desktop app interfaces 2022-05-02 14:25:43 +02:00
vite.config.ts Improve profile menu to implement user identity connected URL (#2055) 2022-04-14 10:17:59 +02:00
yarn.lock Implement UI Website (#2087) 2022-05-04 18:30:31 +02:00