Commit Graph

421 Commits

Author SHA1 Message Date
Alexis Faizeau d1e8243c47 Zod EVERYWHERE (#2027)
* Zod EVERYWHERE

* Add no-unused-vars rule to eslint in front

* Add no-unused-vars rule to eslint in pusher

* Add no-unused-vars rule to eslint in back

* Remove unused PlayerTexture guards

* Fix data providing on room connection

Co-authored-by: Alexis Faizeau <a.faizeau@workadventu.re>
2022-04-12 14:21:19 +02:00
Piotr 'pwh' Hanusiak 1df71e78e8 take both dominant speaker and jitsi participants count into consideration 2022-04-07 14:09:21 +02:00
Piotr 'pwh' Hanusiak 8cccc0f095 set is dominant speaker flag to false after leaving jitsi conversation 2022-04-07 14:09:21 +02:00
Piotr 'pwh' Hanusiak 0cce2a7ab8 show voice indicator above alpha-male (dominant) jitsi speaker 2022-04-07 14:09:21 +02:00
Piotr Hanusiak 32b777b5cf New custom woka scene full clothes (#2023)
* center grid if possible

* whole outfit for every slot

* switched bodyPart slots into buttons

* change categories and body parts with WSAD / arrow keys

Co-authored-by: Piotr 'pwh' Hanusiak <p.hanusiak@workadventu.re>
2022-04-04 13:01:21 +02:00
Alexis Faizeau 539a273263 Revert "Stabilize screensharing (#1982)" (#1984)
This reverts commit 33e78060d4.
2022-03-18 17:37:02 +01:00
Alexis Faizeau 15a0a2d1eb Add check if cowebsite still exist before highlight 2022-03-18 16:44:15 +01:00
Alexis Faizeau 33e78060d4 Stabilize screensharing (#1982)
Co-authored-by: Alexis Faizeau <a.faizeau@workadventu.re>
2022-03-17 17:50:39 +01:00
David Négrier 37e824c494 Fixing setInterval not freed for some volume analyzers
Also: using a 256 fftSize instead of 2048 to save on CPU cycles.
2022-03-16 15:34:39 +01:00
David Négrier 79db6c8f3b Fixing a race condition in Jitsi
When setting the name, in rare cases, Jitsi was not initialized yet and setting the name would cause a JS error.
We are now waiting for Jitsi to be properly initialized before setting the name.
2022-03-15 17:50:56 +01:00
Lukas Hass 2755489ccf Merge branch 'develop' into vite 2022-02-17 15:20:58 +01:00
Lukas Hass c163107875 import browserified version of simple-peer 2022-02-17 15:02:48 +01:00
David Négrier eae6c2c5e3 Merge pull request #1887 from thecodingmachine/master
Backporting cowebsites hot-fixes
2022-02-16 18:03:23 +01:00
Alexis Faizeau 06dd2202f6 Fix hidden main cowebsite swape 2022-02-15 17:28:15 +01:00
Alexis Faizeau a52ad233d8 Fix cowebsite swap 2022-02-15 17:28:02 +01:00
Alexis Faizeau 0f16d909e7 The second opened cowebsite must be displayed on highlighted 2022-02-15 17:27:32 +01:00
Lukas Hass 29cdb1a8e5 Merge branch 'develop' into vite 2022-02-13 11:46:26 +01:00
David Négrier e85f94998f Merge branch 'develop' of github.com:thecodingmachine/workadventure into feature-voice-chat-indicator 2022-02-11 18:40:03 +01:00
Alexis Faizeau a5e0c2a9cf Add main cowebsite minimize indicator 2022-02-10 19:30:41 +01:00
Alexis Faizeau 460d67534a Move all game scene game map properties listeners 2022-02-10 17:02:10 +01:00
Hanusiak Piotr 66375e6d53 merged develop 2022-02-10 16:00:56 +01:00
Alexis Faizeau 666b6df588 Fix Jitsi co-website reloading 2022-02-10 15:37:04 +01:00
Alexis Faizeau 7b6a3949bc Move CoWebsite to generic class 2022-02-10 11:47:56 +01:00
Hanusiak Piotr c58eeb8a0f Merge branch 'develop' into feature-voice-chat-indicator 2022-02-09 14:02:44 +01:00
Hanusiak Piotr d6f0c19838 cr fixes #1 2022-02-08 11:54:18 +01:00
Alexis Faizeau f5f71f32ee Fix cowebsite closing on fast opening/closing 2022-02-08 11:19:29 +01:00
Alexis Faizeau 7334d59c4f Remove priority on iframe add to cowebsites 2022-02-07 18:41:24 +01:00
Alexis Faizeau 75d42209f4 Hide main cowebsite 2022-02-07 17:09:52 +01:00
Hanusiak Piotr 330b6ea1c5 prettier 2022-02-07 15:10:20 +01:00
Alexis Faizeau 60c17ecea2 Re-implement set width of main cowebsite 2022-02-07 14:55:51 +01:00
Alexis Faizeau 9571a52f1e Re-implement action message on cowebsite trigger 2022-02-07 11:21:04 +01:00
Hanusiak Piotr 40aae25e11 listen to local volume change only if in bubble conversation 2022-02-03 13:43:20 +01:00
Hanusiak Piotr 4424c7cce1 prevent SoundMeter from being initialized if stream has no audio tracks available 2022-02-03 12:58:31 +01:00
Hanusiak Piotr e0f5529fa7 catch no audio track error 2022-02-03 12:21:30 +01:00
Lukas Hass ee92e19be6 Merge branch 'develop' into vite 2022-02-03 02:38:46 +01:00
Hanusiak Piotr 2c880c65b6 talk indicators wip 2022-02-02 15:47:38 +01:00
Alexis Faizeau 33e1a369de Add trigger message on cowebsite alt 2022-02-01 18:42:07 +01:00
Lukas Hass 5890e9c5cb remove await import simple-peer 2022-02-01 18:41:54 +01:00
Lukas Hass 446aa6cbe3 fix simple-peer import 2022-02-01 00:34:48 +01:00
Gregoire Parant 60b6bc6f75 Updating of warning message when we try to close screen sharing
Trying to close screen sharing is alway process when a peer connection is closed.

Signed-off-by: Gregoire Parant <g.parant@thecodingmachine.com>
2022-01-28 19:34:15 +01:00
Gregoire Parant 15be76655f Add todo to improve status management
Signed-off-by: Gregoire Parant <g.parant@thecodingmachine.com>
2022-01-28 18:42:48 +01:00
Gregoire Parant dfd594ec17 Fix screen sharing spinner
Check if the peer connection is already connected status. In this case, the status store must be set to 'connected'.
In the case or player A send stream and player B send a stream, it's same peer connection, also the status must be changed to connect.

Signed-off-by: Gregoire Parant <g.parant@thecodingmachine.com>
2022-01-28 18:33:42 +01:00
David Négrier d1c549335b Fix the way links are encoded in chat
Closes #1776
2022-01-27 22:55:32 +01:00
Alexis Faizeau b9ca630a15 Jitsi cowebsite close on hangup 2022-01-27 16:34:58 +01:00
David Négrier a4b4710f87 Menu bar for buttons 2022-01-27 16:34:58 +01:00
Alexis Faizeau 4f068c72be Co-website management move to Svelte 2022-01-27 16:34:58 +01:00
Alexis Faizeau 0bf1acfefb Improve game overlay UI 2022-01-27 16:34:58 +01:00
David Négrier 2cf51a058a Merge pull request #1757 from ValdoTR/typos
Fixed some typos :)
2022-01-25 21:06:24 +01:00
Valdo Romao aefb28d895 Fixed some typos :) 2022-01-25 19:43:27 +00:00
Alexis Faizeau 446b4639c7 Implement typesafe-i18n 2022-01-24 18:59:28 +01:00