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

1291 commits

Author SHA1 Message Date
Juliusz Chroboczek
4de2953037 Fix incorrect closure in pushConnsAction.
This was causing us to lose connections.
2020-12-09 01:05:24 +01:00
Juliusz Chroboczek
f7048e4dae Fix codec check in rtpwriter. 2020-12-07 19:50:10 +01:00
Juliusz Chroboczek
f8e2f755d6 Implement redirection to canonical host. 2020-12-07 03:01:24 +01:00
Juliusz Chroboczek
ef1c211b7f SFU is now called Galène. 2020-12-06 19:51:02 +01:00
Juliusz Chroboczek
2d07c5d317 Move to Pion v3 API. 2020-12-06 11:15:59 +01:00
Juliusz Chroboczek
d47c1e7dd4 Fix typo in README. 2020-12-06 10:53:02 +01:00
Juliusz Chroboczek
3cbbfbacdd Implement command renegotiate. 2020-12-05 21:02:28 +01:00
Juliusz Chroboczek
c6108f08d5 Allow renegotiate to be called on down streams. 2020-12-05 20:44:55 +01:00
Juliusz Chroboczek
f002a83806 Keep track of stream direction.
This simplifies the interface since close does the right thing
without help from the application.  Also improves error checking.
2020-12-05 20:44:42 +01:00
Juliusz Chroboczek
1c5bce2a38 Improve documentation for protocol functions. 2020-12-05 20:29:03 +01:00
Juliusz Chroboczek
b6a6165650 Make fullscreen work on Safari. 2020-12-05 20:29:03 +01:00
Juliusz Chroboczek
9bb2499b85 Rework flushing of ICE candidates.
We now treat local and remote candidates differently, and flush
local candidates immediately after sending an offer.
2020-12-05 20:29:03 +01:00
Juliusz Chroboczek
96e5030d54 Work around Safari's autoplay restrictions. 2020-12-05 03:07:22 +01:00
Juliusz Chroboczek
e8c732c54c Fix error handling at websocket close. 2020-12-05 03:07:22 +01:00
Juliusz Chroboczek
26e6ecc3bc Fix error handling on negotiation failure. 2020-12-05 00:32:01 +01:00
Juliusz Chroboczek
0e7bf0b348 Carry group around when pushing connections.
This avoids a race condition if the group changes before the connections
are pushed.
2020-12-05 00:07:34 +01:00
Juliusz Chroboczek
b134bfcf13 Improve error handling on join failure.
Solves the issue of groups with a name ending in "/".
2020-12-04 22:56:29 +01:00
Juliusz Chroboczek
e3098899e1 Log errors from PushConn. 2020-12-04 12:15:37 +01:00
Juliusz Chroboczek
ca6c371ec4 Send chat history after joined message.
This was broken when we eliminated the login message.
2020-12-04 11:31:20 +01:00
Juliusz Chroboczek
120bfc92c7 Upgrade pion/rtcp, use nack.Range instead of PacketList. 2020-12-03 23:46:19 +01:00
Antonin Décimo
f0cbe9c0c1 Fix wrong label reference. 2020-12-03 22:53:51 +01:00
Juliusz Chroboczek
c5638a544f Mirror own video. 2020-12-03 18:38:36 +01:00
Alain Takoudjou
29e98f4f37 Fixed size for both present and unpresent button
To prevent size of menu to change when user click on present the unpresent button
2020-12-03 16:46:20 +01:00
Juliusz Chroboczek
1a11548192 Delay playing of video until connection is in good state. 2020-12-03 01:14:34 +01:00
Juliusz Chroboczek
27a2e45500 Implement /subgroups. 2020-12-02 19:47:32 +01:00
Juliusz Chroboczek
43047fc00e Allow empty values in clientMessage. 2020-12-02 19:33:53 +01:00
Juliusz Chroboczek
4a4973fc44 Rename Present button to Panic. 2020-12-02 19:05:02 +01:00
Antonin Décimo
20fe37b459 Align checkboxes with labels in optionsdiv. 2020-12-02 13:49:53 +01:00
Juliusz Chroboczek
2546aae7c1 Eliminate login from protocol.
The login message is replaced with handshake, which only carries
the client id.  Username and password is now in the join message.
Permissions is replaced with joined.
2020-12-02 13:49:53 +01:00
Juliusz Chroboczek
b30d4fe537 Add delay after login failure. 2020-12-02 00:07:31 +01:00
Juliusz Chroboczek
2f6c710f29 Fix side menu input elements.
Input elements have no contents.  Thanks to Antonin Décimo.
2020-12-01 21:17:10 +01:00
Antonin Décimo
7d4dabe30f JSDoc doesn't recognize {Promise<void>[]}, use {Array.<>}. 2020-12-01 21:07:44 +01:00
Antonin Décimo
59507c811f Make type of array of objects compatible with JSDoc and TSDoc.
The best TSDoc type is (Text|HTMLElement)[], but to JSDoc the array is
not distributive. JSDoc prefers Text[]|HTMLElement[], but TSDoc
rejects that syntax. In the end, both are fine with
Array.<Text|HTMLElement>.
2020-12-01 21:07:44 +01:00
Antonin Décimo
22f9442cf4 Fix typos. 2020-12-01 21:07:44 +01:00
Juliusz Chroboczek
0265df6331 Expire idle groups from memory.
Also get rid of dead groups, they're not useful.
2020-12-01 21:07:44 +01:00
Juliusz Chroboczek
dc3256ca19 Remove left over debugging message. 2020-12-01 18:24:45 +01:00
Juliusz Chroboczek
e68882fff0 Fix replacing of a video with a new one.
This was broken when we implemented local videos.
2020-12-01 16:20:25 +01:00
Juliusz Chroboczek
2b19a1034f Improve command error handling when not connected. 2020-12-01 03:01:19 +01:00
Juliusz Chroboczek
f4c5d6a6ef Display message header when time delta is larger than a minute. 2020-12-01 02:51:15 +01:00
Juliusz Chroboczek
e8df60cbbe Move automatic presentation into gotPermissions.
Don't attempt to present if we don't have the present permission,
don't display the friendly popup if we've selected presentation.
2020-12-01 00:26:14 +01:00
Juliusz Chroboczek
71744c44ca Implement mike-only login. 2020-11-30 22:16:10 +01:00
Juliusz Chroboczek
9110d03a9a Fix handling of empty strings in reflectSettings. 2020-11-30 21:54:48 +01:00
Juliusz Chroboczek
8df19bc760 Remove more side menu entries when not allowed to present. 2020-11-30 20:53:12 +01:00
Juliusz Chroboczek
1a92535957 Respect whitespace in chat messages. 2020-11-30 20:04:58 +01:00
Juliusz Chroboczek
02504bcf9b Hide mute button when user is not allowed to present. 2020-11-30 20:04:58 +01:00
Juliusz Chroboczek
6e5348101c Propagate kick originators. 2020-11-30 20:04:58 +01:00
Juliusz Chroboczek
d98c9b95b2 Implement commands /warn and /wall. 2020-11-30 20:04:58 +01:00
Juliusz Chroboczek
ed531cefc2 More spoofing protection. 2020-11-30 20:04:58 +01:00
Juliusz Chroboczek
aa71205fa2 Include username and id in group and user actions. 2020-11-30 20:04:58 +01:00
Juliusz Chroboczek
74b3683cf1 Protect against chat message spoofing. 2020-11-30 20:04:58 +01:00