1
Fork 0
Commit Graph

1051 Commits

Author SHA1 Message Date
Juliusz Chroboczek 8c21ede9d2 Don't allow group names to start with a period. 2021-10-28 20:01:11 +02:00
Juliusz Chroboczek d440cdf898 Don't redirect inexistent groups. 2021-10-28 19:55:40 +02:00
Juliusz Chroboczek 869eb9b839 Move password checking into group.go.
It used to be delegated to clients.
2021-10-27 04:15:44 +02:00
Juliusz Chroboczek 8135f6b91d Fix typo in setTitle. 2021-10-26 22:38:05 +02:00
Juliusz Chroboczek de7dc9252f Use /group/name/ as the main page for the group.
We used to omit the slash, which users found confusing.
2021-10-26 19:36:05 +02:00
Alain Takoudjou 5b1bc8141a Allow scrolling in login box.
This makes it possible to login on small devices.
2021-10-01 22:53:56 +02:00
Mathieu 7aefb5e969 Remove scrollbar in side menu 2021-09-18 17:56:51 +02:00
Juliusz Chroboczek 09c5ba0d06 Protect against tracks without a stream. 2021-09-16 17:19:19 +02:00
Juliusz Chroboczek e81ee4af5e Remove userId and userName from rtpconn.
They're redundant with the client field.
2021-09-16 16:53:44 +02:00
Juliusz Chroboczek c860fb96a3 Move server shutdown into group.go. 2021-09-11 15:42:14 +02:00
Juliusz Chroboczek 184bd30077 Protect against nil dereference in group.Get. 2021-09-11 15:14:13 +02:00
Juliusz Chroboczek f683675ab4 Use a dedicated error value for anonymous users. 2021-09-09 22:26:08 +02:00
Juliusz Chroboczek d33e4dea9b Update CHANGES for 0.4. 2021-09-05 18:35:19 +02:00
Juliusz Chroboczek fcd5734e15 Update dependencies. 2021-09-04 01:03:14 +02:00
Juliusz Chroboczek 5beb13b21a Early paranoia in group name validation.
We will fail malicious paths in openDescriptionFile, but it
doesn't harm to be paranoid early.
2021-08-24 00:31:46 +02:00
Juliusz Chroboczek 0d0a745aa3 Fix typo in KickError.Error. 2021-08-24 00:04:30 +02:00
Juliusz Chroboczek 475e36d884 Pass description to descriptionChanged.
Thanks to Jeroen van Veen.
2021-08-23 20:45:04 +02:00
Juliusz Chroboczek f1a8f2a307 Normalise recordings URLs. 2021-08-23 20:41:24 +02:00
Juliusz Chroboczek cf9c0edb89 Update Pion to 3.1.0-beta.3, new samplebuilder. 2021-08-23 18:15:55 +02:00
Juliusz Chroboczek 2d1763a743 Remove obsolete test.
It's no longer easy to test group expiration.
2021-08-23 18:14:38 +02:00
Juliusz Chroboczek 06f2ecec16 Update the list of public groups when expiring.
Thanks to Jeroen van Veen for suggesting the feature.
2021-08-22 16:36:18 +02:00
Juliusz Chroboczek f837c59d60 Move certificate handling into a separate module. 2021-08-20 01:20:57 +02:00
Juliusz Chroboczek 31491aba9b Tweak CHANGES. 2021-08-18 20:31:16 +02:00
Juliusz Chroboczek 10becd3828 Minor tweaks to web server. 2021-08-18 18:30:45 +02:00
Antonin Décimo 5db63685a2 Simplify /help code. 2021-08-07 18:12:37 +02:00
Antonin Décimo e99aa7d498 Fix localMessage call to addToChatbox.
Commit b527c8757a added the `kind`
parameter to `addToChatbox`, but the change wasn't reflected here.
2021-08-07 18:12:37 +02:00
Juliusz Chroboczek 3e09c0ab29 Split README into README and INSTALL. 2021-08-06 16:59:46 +02:00
Juliusz Chroboczek 34017cd130 Fix codecs tests. 2021-08-06 13:35:04 +02:00
Juliusz Chroboczek 18b5b6cb6d Fix rewriting of VP9. 2021-08-06 13:34:51 +02:00
Juliusz Chroboczek 6aa7a9394a More tweaks to layer switching.
I'm not seeing any non-keyframe spatial sync frames, so simplify
the code by only switching spatial layers on keyframes.
2021-08-05 00:03:42 +02:00
Mathieu d29f6d6e5d Make video close button more visible.
Adds a round black semi-transparent background to the white cross icon,
making it visible in any situation.
2021-08-04 20:13:06 +02:00
Juliusz Chroboczek 9093339b62 Rework handling of buffered keyframes.
Instead of buffering the last keyframe, we merely keep track of its
seqno, and use the main cache for recovering.  We also send the whole
sequence of packets rather than just the keyframe itself.
2021-08-04 02:58:24 +02:00
Juliusz Chroboczek f4aa86a491 Switch spatial layers at the right point. 2021-08-03 23:21:44 +02:00
Juliusz Chroboczek d96a48f805 Don't rewrite PID for VP9.
Rewriting is not useful for VP9, and even harmful, as it breaks the
offsets in the scalability structure.
2021-08-03 22:51:14 +02:00
Juliusz Chroboczek 48a9b10ce8 Use spatial scalability when simulcast is not available.
If the client requested a low-resolution stream and there is none,
switch to SID=0.
2021-08-03 13:14:11 +02:00
Juliusz Chroboczek 4f7be19644 Implement pid and mark rewriting for VP9, fix VP9 sync bits.
The sync bits were incorrect.  In addition, we need to set the
marker at the new end of the frame when doing spatial decimation.
2021-08-03 13:09:43 +02:00
Juliusz Chroboczek 56226a2934 Export the max requested rate in track statistics. 2021-08-03 03:28:36 +02:00
Juliusz Chroboczek 200c0dd68c Refresh layer info after adjusting in down.Write.
Otherwise we might act on outdated info, which could cause a spurious
drop.
2021-08-03 03:15:08 +02:00
Juliusz Chroboczek 3d21a79880 Don't carry up tracks explicitly.
Left over from the old data structure.
2021-08-03 02:51:44 +02:00
Juliusz Chroboczek 51c31ab729 Improve error handling for negotiation failures.
Now that we constrain tracks in offers properly, there is no need
to manually check that the codecs have been matched correctly.
2021-08-02 20:00:23 +02:00
Juliusz Chroboczek 816b7a54df Restrict negotiation of downstream codecs, allow multiple profiles.
We now restrict the allowable codecs in the downstream direction,
which leads to a clean failure instead of a silent track.  We also
allow multiple profiles for a single codec.
2021-08-02 18:08:37 +02:00
Juliusz Chroboczek 845e798467 Fix location of FAQ in README. 2021-08-02 02:50:29 +02:00
Juliusz Chroboczek a3f559875f Increase time interval in TestTime.
The lower interval made us too sensible too scheduling.
2021-08-02 01:59:46 +02:00
Juliusz Chroboczek dd4dbeaee5 Add spatial scalability support.
Only used as a last-resort fallback.
2021-08-01 13:57:14 +02:00
Juliusz Chroboczek efb298f002 Use sendonly transceiver for down tracks, embed receiver in track. 2021-08-01 13:33:01 +02:00
Juliusz Chroboczek 63cfce9eec Update dependencies.
Pion is making incompatible changes, so stick with webrtc 3.0 and
rtp 1.6 for now.
2021-07-31 23:38:19 +02:00
Juliusz Chroboczek f26cf32abb Fix group_test.go. 2021-07-31 23:38:19 +02:00
Juliusz Chroboczek 3bdcb8af28 Fix typo in down layer selection. 2021-07-31 23:22:01 +02:00
Juliusz Chroboczek c227b113f6 Use id for determining source of chat message.
We used to check the nick, which is not necessarily unique.
2021-07-31 17:22:09 +02:00
Juliusz Chroboczek b527c8757a Add chathistory message. 2021-07-31 14:42:26 +02:00