jjsa
fd63d5ef71
use button instead of wrong elements
2024-12-18 13:15:09 +01:00
Jean-Jacques Sarton
22e7526c18
Merge branch 'jech:master' into master
2024-12-18 12:46:22 +01:00
Juliusz Chroboczek
d0a0ffe8d4
Add missing copyright notice.
2024-12-16 14:58:57 +01:00
Juliusz Chroboczek
8dc2924369
Disable background blur on Safari.
2024-12-15 16:28:10 +01:00
Juliusz Chroboczek
f81094abda
Call addFilters asynchronously.
...
Since we now make HTTP requests from addFilter, this makes
startup slightly faster.
2024-12-15 15:30:22 +01:00
Juliusz Chroboczek
084cd3da1f
Don't fail findUpMedia when serverConnection is null.
...
This avoids throwing if the user changes their setting before
login. Thanks to Jean-Jacques Sarton.
2024-12-15 14:16:48 +01:00
Juliusz Chroboczek
0a14b78d67
Move MediaPipe initialisation to filter init.
...
We used to initialise MediaPipe at worker start, which prevented
us from handling errors. We now do it at filter init, and stop
the stream with an error message if initialisation fails.
2024-12-14 14:53:23 +01:00
Juliusz Chroboczek
3fbe274785
Handle errors in filter init.
...
We used to ignore errors in filter init, which could cause us
to send unblurred videos to the server.
2024-12-14 13:31:56 +01:00
jjsa
999ef3ba7b
changes for keyboard and scrennreader users
2024-12-14 13:19:39 +01:00
Juliusz Chroboczek
2c72a27453
Improve background blur blending.
...
We used blur the image then mask, which caused a halo around
the foreground. We now mask then blur.
2024-12-14 02:25:04 +01:00
Juliusz Chroboczek
bf46a9d6c1
Close the image segmenter result.
...
This doesn't currently do anything useful, since we're running
tflite on the CPU, but might avoid bugs if we get GPU support.
2024-12-13 22:59:53 +01:00
Juliusz Chroboczek
a38676c9f6
Replace var with let.
2024-12-13 18:08:56 +01:00
Juliusz Chroboczek
39c063a9d5
Use ImageBitmap.close when no longer needed.
...
This should free the underlying textures without waiting
for a GC to happen.
2024-12-13 15:54:52 +01:00
Juliusz Chroboczek
5bb54803dc
Make background blur optional.
2024-12-13 11:27:16 +01:00
Juliusz Chroboczek
a00b77fc8f
Add predicate support to filters.
2024-12-13 11:27:16 +01:00
Juliusz Chroboczek
a70a9a13ed
Implement background blur.
2024-12-13 11:27:16 +01:00
Juliusz Chroboczek
38807d5f6b
Make filters run asynchronously.
...
Drop a frame if a filter takes too long to run.
2024-12-12 15:42:05 +01:00
Juliusz Chroboczek
361ec64922
Widen configuration menus.
2024-12-12 14:24:11 +01:00
jjsa
c040dd2a1d
Toastify style moved to galene.css
2024-12-02 15:28:19 +01:00
Juliusz Chroboczek
192e6de6ef
Remove onicecandidate callback when closing file transfer.
...
This avoids an unsightly warning when an ICE candidate arrives
late.
2024-12-02 13:52:57 +01:00
Juliusz Chroboczek
86eeb3d8cf
Protect against sending a file to oneself.
...
When a user sends a file to oneself (which is only possible
as a chat command), then the two file transfer data structures
have the same id, which causes confusion. We used to detect
this case too late, detect it earlier.
Thanks to J.-J. Sarton for the report.
2024-12-01 21:40:50 +01:00
Juliusz Chroboczek
6f6cce94fa
Move chat button to the left on mobile.
...
This avoids a collision with the close video button.
Thanks to J.-J. Sarton.
2024-12-01 14:11:05 +01:00
Juliusz Chroboczek
9eb7428b98
Simplify interface to video filters.
...
Remove support for WebGL contexts, use concrete types.
2024-11-17 15:55:58 +01:00
Juliusz Chroboczek
b54119d508
Split out startup from Filter prototype.
2024-11-17 15:29:23 +01:00
Juliusz Chroboczek
82a94f9500
Upgrade toastify-js to version 1.12.
2024-11-16 18:17:07 +01:00
Juliusz Chroboczek
ee4174a4d6
Rename external directory to third-party.
2024-11-16 18:12:15 +01:00
Juliusz Chroboczek
a9e269e979
Implement caption support in the client.
2024-11-08 14:51:48 +01:00
Juliusz Chroboczek
d85a6ea203
Add versioning to file transfer protocol.
2024-11-02 14:22:52 +01:00
Juliusz Chroboczek
1745b6294e
Remove remainder of obsolete file transfer protocol.
2024-10-30 17:59:07 +01:00
Juliusz Chroboczek
1c71a73f8e
Fix remainders of old file transfer protocol.
2024-10-28 15:55:09 +01:00
Juliusz Chroboczek
123d51e011
Implement selective clearchat.
2024-08-17 16:56:06 +02:00
Juliusz Chroboczek
eb72069c9b
Add id to chat messages.
2024-08-17 16:56:06 +02:00
Juliusz Chroboczek
4fb0b3334a
Simplify peer-to-peer file transfer.
2024-08-17 16:56:06 +02:00
Juliusz Chroboczek
dd979652c2
Handle cancelled file transfer in initial callback.
...
If the client cancelled a file upload in the initial callback,
we would incorrectly proceed with the handshake.
2024-08-11 17:38:55 +02:00
Juliusz Chroboczek
8fe2e9ca5f
Force a user interaction before token login.
...
This avoids issues with autoplay being disabled.
2024-06-11 11:59:51 +02:00
Juliusz Chroboczek
242875e55c
Implement a client-side timeout.
...
We already had a server-side timeout, but it didn't prevent
a client from hanging when it lost connectivity with the server.
2024-06-10 21:33:31 +02:00
Juliusz Chroboczek
7151fad149
Simplify the initial connection protocol.
...
The ServerConnection.connect method is no longer async,
we rely on the onconnected callback only. The onconnected
callback is now only called after the initial handshake
completes. There is a new onerror callback.
2024-06-10 21:12:47 +02:00
Juliusz Chroboczek
58934a1a46
Call reflectSettings synchronously.
...
We could previously attempt to display a remote stream before
reflectSetting initialised the settings.
2024-06-10 16:08:36 +02:00
Juliusz Chroboczek
e7af7cbed4
Add receive support to example client.
2024-06-10 15:58:30 +02:00
Juliusz Chroboczek
6a55139c94
Fix typo in ondowntrack callback.
...
Fortunately we're not using the mistyped arguments.
2024-06-10 15:38:44 +02:00
Juliusz Chroboczek
45ae8c5339
Minor fixes to example.
2024-06-08 18:30:14 +02:00
Juliusz Chroboczek
ac47a82e2f
Add minimal client example.
2024-06-08 15:05:00 +02:00
Juliusz Chroboczek
b925bae5de
Assume browsers support showModal.
2024-05-08 17:19:41 +02:00
Juliusz Chroboczek
1315084185
Implement message permission and shutup command.
2024-05-08 16:24:32 +02:00
Juliusz Chroboczek
e59880e267
Implement /stopshare.
2024-05-08 15:14:45 +02:00
Juliusz Chroboczek
9f2df6af2a
Add wildcard support to management.js.
2024-05-08 15:01:33 +02:00
Juliusz Chroboczek
a12331ee09
Use JSON arrays instead of plain text in API.
...
Suggested by Dianne Skoll.
2024-05-03 18:54:22 +02:00
Juliusz Chroboczek
aa35408dba
Rename /galene-api/0/ to /v0/.
2024-05-03 18:33:37 +02:00
Juliusz Chroboczek
0090ae71dd
Omit trailing slashes in management.js.
2024-05-02 23:07:58 +02:00
Juliusz Chroboczek
8be8e6fec7
Use management stubs in change-password.js.
2024-05-02 18:48:51 +02:00