1
Fork 0
Commit Graph

1051 Commits

Author SHA1 Message Date
Juliusz Chroboczek 3bdd82f06d Rework file transfer.
Split into the protocol (in protocol.js) and the user interface
(in galene.js).  Make the state automaton explicit, and improve
error-handling.  The new protocol is incompatible with the old one.
2022-07-25 18:54:52 +02:00
Juliusz Chroboczek 7d4133d1c3 Update CHANGES for 0.5.5. 2022-07-23 20:42:20 +02:00
Juliusz Chroboczek a8ce0b3f8c Update dependencies. 2022-07-23 20:38:51 +02:00
Juliusz Chroboczek b4edb7c0c7 Avoid overflow in FromDuration and ToDuration.
Thanks to lamhai1401.
2022-07-22 21:24:36 +02:00
Juliusz Chroboczek 7d01f0339b Avoid re-reading descriptions
We used to avoid re-reading descriptions when joining a group,
but we used to re-read them when updating the list of groups.
2022-07-12 20:06:34 +02:00
Juliusz Chroboczek 19a2700322 Upgrade to go 1.16, update dependencies.
We already depend on jwt, which requires go 1.16.
2022-07-12 16:49:38 +02:00
Juliusz Chroboczek 96f39ca315 Change z-level of contextual menu 2022-05-29 01:50:17 +02:00
Juliusz Chroboczek cf495d31b3 Remove dead CSS. 2022-05-29 01:26:55 +02:00
Juliusz Chroboczek b55c9f7a92 Fix wording of Safari warning. 2022-05-19 15:24:15 +02:00
Juliusz Chroboczek 7f4ad6b1d8 Update dependencies. 2022-05-19 15:08:11 +02:00
Juliusz Chroboczek 3d807677a7 Make warning against Safari screensharing stronger. 2022-05-19 13:24:44 +02:00
Juliusz Chroboczek 7a52ffdca7 Update dependencies. 2022-05-11 03:16:28 +02:00
Juliusz Chroboczek 4c8fdb8ea8 Update CHANGES for 0.5.4. 2022-05-05 13:43:09 +02:00
Juliusz Chroboczek 40bf93cdd0 Consistently use SPS for detecting H.264 keyframes.
This was already the case for FU NALUs, but not for simple NALUs.
2022-05-04 18:26:22 +02:00
Juliusz Chroboczek 0d1b804ded Update srtp to 2.0.6.
This contains some important optimisations for CTR mode.
2022-05-01 21:35:08 +02:00
Juliusz Chroboczek 340c2900cc Move TURN server into structure. 2022-04-30 22:37:06 +02:00
Juliusz Chroboczek fd228b09c2 Fix checking for username when token is present. 2022-04-29 01:36:02 +02:00
Juliusz Chroboczek 0416976e20 Update CHANGES for 0.5.3. 2022-04-25 13:13:54 +02:00
Juliusz Chroboczek df675f532d Fix forgotten "replace" directive.
Thanks (and sorry) to Fabrice Rouillier.
2022-04-25 13:11:15 +02:00
Juliusz Chroboczek fc9f28fd68 Minor cleanups. 2022-04-23 18:43:01 +02:00
Juliusz Chroboczek 9ab84741d9 Update dependencies.
Pion/ice v2.2.6 (included by webrtc v.3.1.34) fixes an issue
that could break connections when the peer implements aggressive
nomination.
2022-04-22 22:01:43 +02:00
Juliusz Chroboczek 8180d9bf50 Document jitter concurrency guarantees. 2022-04-21 01:39:05 +02:00
Juliusz Chroboczek 461c78b0e3 Fix race condition in estimator. 2022-04-21 01:28:41 +02:00
Juliusz Chroboczek b5f8ea0e23 Fix rounding in estimator.
The test was buggy.
2022-04-20 21:15:01 +02:00
Juliusz Chroboczek 474c58cc7d Update CHANGES for 0.5.2. 2022-04-20 19:55:33 +02:00
Juliusz Chroboczek 547ff1e6c4 Revert "Don't break lines manually in chat messages."
This reverts commit 2eca0e44d5.
2022-04-20 17:38:55 +02:00
Juliusz Chroboczek dd4ab058ef Update dependencies. 2022-04-20 12:53:41 +02:00
Juliusz Chroboczek a95d77f53a Update dependencies. 2022-04-17 22:27:20 +02:00
Juliusz Chroboczek 694169a412 Update CHANGES. 2022-04-17 21:11:14 +02:00
Juliusz Chroboczek db21575df3 Implement audio-video sync in diskwriter.
We used to simply synchronise on the first keyframe.  This
could lead to important time offets, since every audio frame
is a keyframe, while we only request video keyframes every
four seconds.

Fix that by parsing the RTCP synchronisation data and adjusting
timestamp offsets accordingly.  If we have no RTCP sync, we simply
assume that the first frames received are synchronised.
2022-04-17 21:07:49 +02:00
Juliusz Chroboczek e3c8645897 Split reopen into close/open.
Only call close if there's already a writer, which avoids flushing
packets before the first call.
2022-04-17 18:24:08 +02:00
Juliusz Chroboczek 99055e5cae Make duration functions work with negative values. 2022-04-16 01:20:29 +02:00
Juliusz Chroboczek d36111d9f9 Set keyframe flag on audio samples. 2022-04-16 01:19:12 +02:00
Juliusz Chroboczek 6669a93ae3 Don't use high-quality audio for screenshare.
We used to set high-quality audio by default for screenshare,
but that makes the video blurry under bad network conditions.
Obey the hqaudio setting for all streams.
2022-04-15 00:36:47 +02:00
Juliusz Chroboczek af462329ab Set time offsets and cname as soon as possible. 2022-03-27 23:32:25 +02:00
ericgaspar e673cf1225 Rename lower hand to unraise. 2022-03-26 11:55:30 +01:00
Juliusz Chroboczek eb21c1ab20 Maintain stream information for oneself.
We used to maintain stream information for all users except oneself.
2022-03-25 18:21:03 +01:00
Juliusz Chroboczek e303992e45 Call onuser when deleting stream. 2022-03-25 17:04:31 +01:00
Juliusz Chroboczek 7527aeba3d Factorise out setUserStatus. 2022-03-25 16:49:09 +01:00
Juliusz Chroboczek d8db7567e4 Allow displaying chat messages when unconnected.
This makes commands such as /set work before you connect.
2022-03-25 16:30:31 +01:00
Juliusz Chroboczek 2eca0e44d5 Don't break lines manually in chat messages.
This is no longer necessary since we use "pre-wrap" in the CSS.
2022-03-25 16:23:51 +01:00
Juliusz Chroboczek a7ccfba407 Update CHANGES for 0.5.1. 2022-03-25 10:44:45 +01:00
Juliusz Chroboczek f66cabd6f4 Fix file transfer error handling. 2022-03-23 00:58:55 +01:00
Juliusz Chroboczek 8aaa6d1466 Obey forceRelay for file transfers. 2022-03-23 00:12:51 +01:00
Juliusz Chroboczek 55ae4a684b Remove parameter from the onpeerconnection callback.
The distinction is not likely to be useful, and it doesn't make
sense in all cases.
2022-03-23 00:11:12 +01:00
Juliusz Chroboczek 8d4bafe05c Tweak documentation of protocol.js. 2022-03-23 00:08:16 +01:00
Juliusz Chroboczek c0413a43ee Update CHANGES. 2022-03-22 18:49:52 +01:00
Juliusz Chroboczek 34b21a2598 Add preference forceRelay.
This may be useful to get around network blocks in some cases.
2022-03-22 18:23:16 +01:00
Juliusz Chroboczek 4053d9ca77 Display warning when joining a locked group. 2022-03-22 18:18:04 +01:00
Juliusz Chroboczek 5353d0a856 Update CHANGES. 2022-03-22 02:45:56 +01:00