- 03 Apr, 2023 11 commits
-
-
Juliusz Chroboczek authored
-
Juliusz Chroboczek authored
If a token does not specify a username, the server will request one by failing the join message. Disconnect from the WebSocket in that case, and display the login dialog with the password field invisible.
-
Juliusz Chroboczek authored
We now report ErrUsernameRequired and ErrDuplicateUsername errors by setting the "error" field of messages.
-
Juliusz Chroboczek authored
-
Juliusz Chroboczek authored
-
Juliusz Chroboczek authored
Stateful tokens look just like cryptographic tokens to the client. Unlike cryptographic tokens, they are stored in a file and are revokable and editable.
-
Juliusz Chroboczek authored
-
Juliusz Chroboczek authored
The "time" field of messages is now a string in RFC 3339 format, and there is a new "error" field in messages.
-
Juliusz Chroboczek authored
Tokens are now an interface, and all the token logic is encapsulated in the token module.
-
Juliusz Chroboczek authored
We used to set sc.group even if joining failed, which would cause us to spuriously call the onJoined callback when we disconnected.
-
Juliusz Chroboczek authored
-
- 01 Apr, 2023 2 commits
-
-
Alexandre Iooss authored
-
Juliusz Chroboczek authored
-
- 22 Mar, 2023 1 commit
-
-
Juliusz Chroboczek authored
-
- 22 Jan, 2023 1 commit
-
-
Juliusz Chroboczek authored
Avoid copying data when sending, improve error handling.
-
- 16 Jan, 2023 2 commits
-
-
Juliusz Chroboczek authored
-
Juliusz Chroboczek authored
Split out deleting of buttons during file transfer into its own function.
-
- 14 Jan, 2023 1 commit
-
-
Juliusz Chroboczek authored
We now distinguish between tokens that specify an empty username (sub="") and tokens that don't specify sub. The latter are considered invalid for now.
-
- 11 Jan, 2023 2 commits
-
-
Juliusz Chroboczek authored
-
Juliusz Chroboczek authored
Simulcast doesn't seem to work well with screen sharing: only one layer is sent, which has very low throughput since we send the low layer first. Disable simulcast for screen sharing.
-
- 09 Jan, 2023 2 commits
-
-
Juliusz Chroboczek authored
Only the first byte of the VP8 header is mandatory, but we used to reject packets smaller than 4 bytes. The major part of the fix is actually in pion/rtp.
-
Juliusz Chroboczek authored
-
- 06 Jan, 2023 1 commit
-
-
Juliusz Chroboczek authored
-
- 30 Dec, 2022 2 commits
-
-
Juliusz Chroboczek authored
addMapping assumes the piddelta is constant, so it doesn't need the pid.
-
Juliusz Chroboczek authored
When using an identity packetmap, we used to update the next seqno even when packets were not increasing. Not a big deal, we'd still recover at the next sequential packet.
-
- 17 Dec, 2022 1 commit
-
-
Juliusz Chroboczek authored
Don't disconnect the client for some more errors.
-
- 16 Dec, 2022 3 commits
-
-
Juliusz Chroboczek authored
-
Juliusz Chroboczek authored
This does not yet support the new 'need-username' error.
-
Juliusz Chroboczek authored
-
- 12 Nov, 2022 1 commit
-
-
Juliusz Chroboczek authored
The code turned out not to port to FreeBSD. Disable the check, and assume that FreeBSD admins read the docs. Thanks to Amatis-51.
-
- 04 Nov, 2022 1 commit
-
-
Juliusz Chroboczek authored
Pion is unfortunately breaking Go 1.16.
-
- 23 Oct, 2022 2 commits
-
-
Juliusz Chroboczek authored
-
Juliusz Chroboczek authored
-
- 21 Oct, 2022 5 commits
-
-
Juliusz Chroboczek authored
-
Juliusz Chroboczek authored
It was introduced in Go 1.19.
-
Juliusz Chroboczek authored
-
Juliusz Chroboczek authored
-
Juliusz Chroboczek authored
The strategy of computing the base URL from the request doesn't necessarily work if we're behind a reverse proxy. proxyURL can be set in cases where our guess is incorrect. Thanks to Dianne Skoll.
-
- 09 Oct, 2022 1 commit
-
-
Juliusz Chroboczek authored
We were computing the scheme incorrectly, which caused us to compute the wrong websocket URL when -insecure is set. Thanks to Fabien de Montgolfier.
-
- 07 Oct, 2022 1 commit
-
-
Juliusz Chroboczek authored
-