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

1072 commits

Author SHA1 Message Date
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
Juliusz Chroboczek
fd09564c05 Remove H.264 Baseline profile.
Some devices only support the Constrained Baseline profile.
2022-03-22 01:03:56 +01:00
Juliusz Chroboczek
a183ac4bcd Increase the size of the diskwriter's reordering buffer.
This must be larger than the samplebuilder's MaxLate.
2022-03-21 23:38:09 +01:00
Juliusz Chroboczek
a2ce703512 Reduce MaxLate values in diskwriter. 2022-03-21 21:40:33 +01:00
Juliusz Chroboczek
de63449150 More paranoid match for Firefox bandwidth workaround. 2022-03-21 19:40:41 +01:00
Juliusz Chroboczek
a698011aef Don't set rid when not simulcasting.
It turns out that the bandwidth limitation is not effective
in Firefox when the rid is set unless we're simulcasting.
2022-03-21 19:19:19 +01:00
Juliusz Chroboczek
70163094e9 Update dependencies. 2022-03-20 23:53:17 +01:00
Juliusz Chroboczek
d798cfec75 Fix simulcast statistics display for Firefox.
Firefox doesn't include the rid in the statistics result.
Use the SSID instead.
2022-03-20 22:34:39 +01:00
Juliusz Chroboczek
148c49d253 Enable simulcast on Firefox.
Firefox uses a non-standard protocol for simulcast, which has been
supported by Pion for a while now.  Enable simulcast in Firefox.
2022-03-20 21:52:24 +01:00
Juliusz Chroboczek
ba75bfeb3a Update CHANGES for 0.5. 2022-03-08 16:07:38 +01:00
Juliusz Chroboczek
c69ccd098e Fix typo in documentation.
Thanks to Miroslav36.
2022-03-08 16:07:38 +01:00
Juliusz Chroboczek
1b492114ad Fix typo in permissionsChangedAction. 2022-03-04 22:23:25 +01:00
Juliusz Chroboczek
96588d0aa3 Remove galene-link.
Our tokens are not revocable, they should not be generated with
a large lifetime.  Don't encourage users to do that.
2022-03-04 22:19:06 +01:00
Juliusz Chroboczek
e19716489c Update CHANGES. 2022-02-21 23:47:39 +01:00
Juliusz Chroboczek
96a46c695a Add presenting files to context menu. 2022-02-21 18:36:36 +01:00
Juliusz Chroboczek
296fe622df Share audio in addition to video. 2022-02-21 18:19:25 +01:00
Juliusz Chroboczek
3c98e15229 Control preprocessing and high-quality audio. 2022-02-21 18:18:03 +01:00
Juliusz Chroboczek
aa30c34863 Increase audio quality for presented files. 2022-02-21 17:41:49 +01:00
Juliusz Chroboczek
cbcfbb3f74 Make presenting files a chat command. 2022-02-21 17:32:32 +01:00
Juliusz Chroboczek
5ecb3a1f93 Fix file transfer.
We had two functions with the same name.
2022-02-21 16:53:22 +01:00
Juliusz Chroboczek
797f9f5430 Update CHANGES. 2022-02-20 20:11:27 +01:00
Juliusz Chroboczek
298a4639f4 Update dependencies. 2022-02-20 18:16:35 +01:00
Juliusz Chroboczek
de3a016f4d Set the username in the server when using tokens.
This avoids the need to pass the username in the URL without
requiring the client to parse tokens.
2022-02-20 15:33:11 +01:00
Juliusz Chroboczek
c4d46d20aa Add the galene-link utility. 2022-02-20 01:16:26 +01:00
Juliusz Chroboczek
37ef768ac0 Fix token parsing when aud is an array. 2022-02-20 01:05:21 +01:00
Juliusz Chroboczek
a9c9581465 Implement authPortal. 2022-02-19 23:58:31 +01:00
Juliusz Chroboczek
a86fb08f6c Replace ClientPermissions with a list of strings.
Now that we support external auth, the permissions list is
open-ended.  Make it a list for simplicity.
2022-02-19 23:44:57 +01:00
Juliusz Chroboczek
439dbabaa5 Replace custom SVG with icon. 2022-02-19 03:50:30 +01:00
Juliusz Chroboczek
4ce9a91c40 Implement passing tokens in URL search parameters.
It is now possible to autojoin by going to a URL such as

  https://galene.example.org/group/test?username=jch&token=...
2022-02-18 20:27:53 +01:00
Juliusz Chroboczek
1d583e5367 Don't verify token issuer.
This makes it possible to use token authentication without
an authentication server.
2022-02-18 19:21:02 +01:00