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

853 commits

Author SHA1 Message Date
Juliusz Chroboczek
8257a7ff19 Remove dead variables. 2020-05-11 02:51:44 +02:00
Antonin Décimo
31a5a8e8f1 Fix escaping of \ in character class.
> Rejeté. Ce n'est pas un escape.

D’après mes tests, c’est considéré comme un escape. Doubler le
caractère serait suffisant.

    const url = 'https://example\\.com';
    const urlRegexp1 = /https?:\/\/[-a-zA-Z0-9@:%/._\+~#=?]+[-a-zA-Z0-9@:%/_\+~#=]/g;
    const urlRegexp2 = /https?:\/\/[-a-zA-Z0-9@:%/._\\+~#=?]+[-a-zA-Z0-9@:%/_\\+~#=]/g;
    console.log(url.length); // 20
    console.log(urlRegexp1.exec(url)); // ["https://example"]
    console.log(urlRegexp2.exec(url)); // ["https://example\.com"]
2020-05-11 00:33:58 +02:00
Antonin Décimo
33610e89f8 Introduce a lexical block in case. 2020-05-10 22:42:48 +02:00
Antonin Décimo
61b45ace5a Correctly close input tags. 2020-05-10 21:43:09 +02:00
Antonin Décimo
38a341de95 Fix unsafe negation.
https://eslint.org/docs/rules/no-unsafe-negation
2020-05-10 21:41:46 +02:00
Antonin Décimo
1064c4a47b Remove mentions of #anonymous-users. 2020-05-10 21:41:33 +02:00
Antonin Décimo
f595da8fa9 Add missing semicolons. 2020-05-10 21:39:42 +02:00
Juliusz Chroboczek
89695c3713 Implement reception of audio only. 2020-05-09 22:44:34 +02:00
Juliusz Chroboczek
0c7b77d919 Only send RTCP feedback if supported by the peer. 2020-05-09 18:49:22 +02:00
Juliusz Chroboczek
fd6b9f6bdd Limit the video rate when we have large numbers of presenters. 2020-05-09 12:17:22 +02:00
Juliusz Chroboczek
ffee80440b Update pion/webrtc to 2.2.9. 2020-05-09 10:42:49 +02:00
Juliusz Chroboczek
7c83f2fa5a Don't pass group to rtcpDownListener. 2020-05-07 10:29:48 +02:00
Juliusz Chroboczek
e205596775 Increate receiver report timeout to 8s.
The previous value caused statistics to occasionally timeout spuriously.
2020-05-07 10:26:38 +02:00
Juliusz Chroboczek
f78030c482 Initial implementation of mike and camera selection.
We're closing and reopening the connection each time, we should be
renegotiating instead.
2020-05-05 20:50:27 +02:00
Juliusz Chroboczek
175b08bb08 Remove dead code. 2020-05-05 17:30:56 +02:00
Juliusz Chroboczek
3fec035132 Let setLocal and SharedMedia take the new state as an explicit parameter. 2020-05-04 23:49:44 +02:00
Juliusz Chroboczek
ac50973a99 Don't reset remote track on failure.
That would be racy.
2020-05-03 19:45:36 +02:00
Juliusz Chroboczek
3d751465de Fix README. 2020-05-03 18:30:01 +02:00
Juliusz Chroboczek
0c4a625244 Simplify computation of available down bitrate.
Don't take packet loss into account, just clamp at 384kbps.
2020-05-03 18:30:01 +02:00
Juliusz Chroboczek
ae7e32a36a Implement loss-based congestion control on the down side. 2020-05-03 18:30:01 +02:00
Juliusz Chroboczek
5205c0773b Delete upstream connections on ICE failure. 2020-05-03 11:06:08 +02:00
Juliusz Chroboczek
92de141b97 Rework sending of NACKs. 2020-05-03 11:06:08 +02:00
Juliusz Chroboczek
98a1776ce7 Include jitter in track statistics. 2020-05-03 11:06:08 +02:00
Juliusz Chroboczek
4dd245712f Include jitter and delay in receiver reports. 2020-05-03 11:06:08 +02:00
Juliusz Chroboczek
7961d7279b Move monotonic time to separate package, use microseconds. 2020-05-03 11:06:08 +02:00
Juliusz Chroboczek
1f50b42ee0 Disable checkbox on media failure in setLocal and SharedMedia. 2020-05-03 11:06:08 +02:00
Juliusz Chroboczek
5715182978 Fix TotalLost value in receiver reports. 2020-05-03 11:06:08 +02:00
Juliusz Chroboczek
100f72e76c Don't count NACK recovery as properly received packets. 2020-05-03 11:06:08 +02:00
Juliusz Chroboczek
78cf9d0dbc Resize videos automatically. 2020-05-03 11:06:08 +02:00
Juliusz Chroboczek
b818d1890a Sort public groups. 2020-05-03 11:06:08 +02:00
Juliusz Chroboczek
a74e4f68b5 Don't honour NACKs if we're congested. 2020-05-03 11:06:08 +02:00
Juliusz Chroboczek
5a1ef1ddd7 Use a proper accessor for timestampedByterate. 2020-05-03 11:06:08 +02:00
Juliusz Chroboczek
8fa68f9605 Remove track muting. 2020-05-03 11:06:08 +02:00
Juliusz Chroboczek
118ad7a3a7 Display actual rate in statistics. 2020-05-03 11:06:08 +02:00
Juliusz Chroboczek
5dd27e5067 Implement rate estimation. 2020-05-03 11:06:08 +02:00
Juliusz Chroboczek
10526d474e Add command /clear. 2020-04-30 19:13:32 +02:00
Juliusz Chroboczek
fd1772ed72 Add .gitignore. 2020-04-30 19:13:32 +02:00
Juliusz Chroboczek
34eacafe5c Add sample ice-servers.json. 2020-04-30 19:13:32 +02:00
Juliusz Chroboczek
f1deb84576 Increase the size of the NACK cache. 2020-04-30 19:13:32 +02:00
Juliusz Chroboczek
4996cf6931 Don't log unknown RTCP. 2020-04-30 19:13:32 +02:00
Juliusz Chroboczek
4173d6170e Ignore PLI and NACK for muted tracks. 2020-04-30 19:13:32 +02:00
Juliusz Chroboczek
6ba5315a48 Don't mute clients unless they are suffering packet loss.
Otherwise we never recover from low throughput.
2020-04-29 18:49:09 +02:00
Juliusz Chroboczek
aef0c731b3 Add README. 2020-04-29 18:31:54 +02:00
Juliusz Chroboczek
3f7439fc48 Add primitive monitoring interface. 2020-04-29 16:08:07 +02:00
Juliusz Chroboczek
17941fa96d Parse receiver reports, save loss rate. 2020-04-29 16:03:54 +02:00
Juliusz Chroboczek
b042bed9a3 Maintain reception statistics, send receiver reports. 2020-04-29 13:27:51 +02:00
Juliusz Chroboczek
e2d89c7c17 Merge packet list and window into cache. 2020-04-29 11:11:07 +02:00
Juliusz Chroboczek
a813cc9ce4 Split out sending loop into a separate function. 2020-04-29 02:00:40 +02:00
Juliusz Chroboczek
9bd093e78c Stop tracks before closing stream.
Otherwise the camera status light stays on.
2020-04-29 01:22:39 +02:00
Juliusz Chroboczek
81dfabbe50 Implement sending NACKs on the upstream connection. 2020-04-28 23:45:19 +02:00