1
Fork 0
mirror of https://github.com/jech/galene.git synced 2024-11-23 00:55:58 +01:00
Commit graph

284 commits

Author SHA1 Message Date
Alexandre Iooss
c06bfa4519
Fix some warning messages and comment in galene.js 2021-03-30 07:28:20 +02:00
Alexandre Iooss
ce0cb1ef98
Add missing </p> in index.html 2021-03-30 07:27:35 +02:00
Alexandre Iooss
0df2ec1684
Set charset in galene.html 2021-03-30 07:27:07 +02:00
Alain Takoudjou
dc34c9e459 Fix users sidebar is partially hidden on some devices
Users list bars is partially hidden which troncate some username on certains devices.
2021-03-26 17:06:18 +01:00
Alain Takoudjou
8d5e23aae9 Fix elements overflow-y on right sidebar menu
When Settings menu element height is more that the menu content height some item are hidden. overflow to scroll to make them visible on scroll
2021-03-26 11:13:41 +01:00
Alain Takoudjou
ffcd866301 Fix show chat button always hidden on mobile layout
The maximum device with for mobile layout in css is 1024px, for device with > 768 (Ipad)
chat button will stay hidded while chat box is also hidden when there is a video call.
This commit fix the issue.
2021-03-26 11:12:45 +01:00
Juliusz Chroboczek
016c321484 Fix typing of userMessage value. 2021-02-26 16:22:55 +01:00
Juliusz Chroboczek
e04193f78c Display user message when browser doesn't do WebRTC.
Thanks to mscherer for the report.
2021-02-14 18:06:50 +01:00
Juliusz Chroboczek
fe9b89257a Set buttons visibility when disconnecting. 2021-02-04 23:11:40 +01:00
Juliusz Chroboczek
6054ae6cc6 Update client code for renegotiation.
We now need to deal with the case where a track disappears from the
labels array.
2021-02-03 20:26:05 +01:00
Juliusz Chroboczek
f63ecb3078 Support file playback on Mozilla. 2021-02-01 01:08:39 +01:00
Juliusz Chroboczek
14a4303664 Rework connection replacement.
We used to signal connection replacement by reusing the same connection
id.  This turned out to be racy, as we couldn't reliably discard old
answers after a connection id was refused.

We now use a new id for every new connection, and explicitly signal
stream replacement in the offer message.  This requires maintaining a
local id on the client side.
2021-01-31 23:59:17 +01:00
Juliusz Chroboczek
aa69538057 Minor typos and tweaks in galene.html. 2021-01-25 13:06:09 +01:00
Juliusz Chroboczek
8e395e38ac Add option to disable mirror view. 2021-01-23 01:15:53 +01:00
Juliusz Chroboczek
8a44726f89 Save blackboard mode and activity detection across reloads. 2021-01-23 01:13:27 +01:00
Juliusz Chroboczek
7d216f650c Add replace parameter to onclose stream callback.
This indicates that the stream is being replaced by another one with
the same id.  This avoids moving videos around when they are being
renegotiated.
2021-01-17 20:20:35 +01:00
Juliusz Chroboczek
2380e2e183 The up streams rework broke renegotiation. Don't attempt to
renegotiate, just close the stream and open it again.
2021-01-15 22:41:40 +01:00
Juliusz Chroboczek
8168c2a9e6 Rework the up connection state machine.
It is now more similar to the down connection, using the onclose
callback for resource management.
2021-01-14 23:50:40 +01:00
Juliusz Chroboczek
82827453f0 Use clearInterval instead of clearTimer. 2021-01-13 20:15:39 +01:00
Juliusz Chroboczek
2eb61d877f Allow filters to maintain state. 2021-01-13 18:31:18 +01:00
Juliusz Chroboczek
769c698894 Properly stop up media in delUpMediaKind. 2021-01-13 17:07:54 +01:00
Juliusz Chroboczek
c6ed27c100 More filter fixes. 2021-01-13 17:07:40 +01:00
Juliusz Chroboczek
8120a30725 Don't reset srcStream if not changing.
This avoids flicker upon renegotiation.
2021-01-13 14:59:43 +01:00
Juliusz Chroboczek
d5e3429262 Reset transform at the end of filters. 2021-01-13 14:36:29 +01:00
Juliusz Chroboczek
45c2711522 Add contextAttributes to filter definition. 2021-01-13 14:20:23 +01:00
Juliusz Chroboczek
684c8c5df8 Add user interface for filter selection. 2021-01-13 13:57:05 +01:00
Juliusz Chroboczek
b24bd5c0ed Rework filters.
Make it possible to attach filters dynamically.  Work around bugs
in Firefox.
2021-01-13 13:39:55 +01:00
Juliusz Chroboczek
cf6c1203c8 Better typing for filters, allow filters to skip frames. 2021-01-12 03:52:23 +01:00
Juliusz Chroboczek
a5b57976d2 Lock filter framerate to webcam framerate. 2021-01-12 03:36:51 +01:00
Juliusz Chroboczek
ca6020a27e Implement filters.
No user interface yet.
2021-01-12 02:29:46 +01:00
Juliusz Chroboczek
e7d7c2dd0a Call revokeObjectURL in the onclose callback.
This avoids special-casing file streams.
2021-01-12 02:23:52 +01:00
Juliusz Chroboczek
371289793b Call onclose on up streams too. 2021-01-12 02:23:22 +01:00
Juliusz Chroboczek
820b303e84 Send localDescription instead of original SDP. 2021-01-11 20:41:34 +01:00
Juliusz Chroboczek
70e80afd6c Implement localMessage. 2021-01-11 19:28:57 +01:00
Juliusz Chroboczek
63e1a6f47d Tweak relay-test. 2021-01-11 18:50:29 +01:00
Juliusz Chroboczek
165c942dc7 Add undocumented command /relay-test. 2021-01-11 18:24:54 +01:00
Juliusz Chroboczek
b600be8100 Implement /muteall. 2021-01-11 16:30:19 +01:00
Juliusz Chroboczek
63e2b5a4c4 Implement 'noecho' field in client messages. 2021-01-11 16:30:07 +01:00
Antonin Décimo
fb30fe3bb7 Fix removal of stream.onremovetrack callback. 2021-01-05 21:59:50 +01:00
Antonin Décimo
056ffcd2cf Add missing semicolons. 2021-01-05 21:59:47 +01:00
Juliusz Chroboczek
d2f7010141 Call ondowntrack on each track.
We used to call it on just the first track.  Also remove obsolete
remains of the onlabel callback.
2021-01-04 20:43:39 +01:00
Juliusz Chroboczek
69bb12014e Fix omitted break in gotUserMessage. 2021-01-04 13:15:50 +01:00
Juliusz Chroboczek
0ec9f92dad Make 'clearchat' into a user message. 2021-01-03 17:47:56 +01:00
Juliusz Chroboczek
e393819eda Carry raw SDP in the protocol. 2021-01-03 17:00:58 +01:00
Juliusz Chroboczek
f53276b89e Simplify the protocol and the protocol interface.
Split the id field into id and source, where source indicates the sender
of the message and id the entity being sent.  Remove the label request,
just use the offerer's username.  Maintain the username within the
ServerConnection, this removes a parameter from some methods.
2021-01-03 12:17:30 +01:00
Juliusz Chroboczek
a0418d26ec Send RTC configuration with joined message.
This avoids one HTTP request, and is potentially more flexible.
2020-12-28 02:55:19 +01:00
Juliusz Chroboczek
d09c0f0a80 Make the value field of client messages carry arbitrary types. 2020-12-28 01:49:27 +01:00
Juliusz Chroboczek
5e831ab536 Append message footer to /me messages too. 2020-12-28 01:49:27 +01:00
Juliusz Chroboczek
2dfa175bd1 Create video element early. 2020-12-25 20:29:46 +01:00
Juliusz Chroboczek
e3fd9a963a Improve error handling during negotiation. 2020-12-25 18:54:18 +01:00