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

508 commits

Author SHA1 Message Date
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
Juliusz Chroboczek
e5dae16da1 Rate-limit PLI. 2020-04-28 23:45:19 +02:00
Juliusz Chroboczek
bfeeeb4bcd Handle NACKs arriving on down connections. 2020-04-28 23:45:19 +02:00
Juliusz Chroboczek
d84604832d Don't complain on ErrClosedPipe. 2020-04-28 20:13:03 +02:00
Juliusz Chroboczek
151f37c062 Pass a track to the RTCP listener. 2020-04-28 20:13:03 +02:00
Juliusz Chroboczek
d9a7f3d6c0 Avoid reallocating the list of local tracks at each packet. 2020-04-28 20:13:03 +02:00
Juliusz Chroboczek
87f70c4345 Mute clients when bitrate is too low. 2020-04-28 20:13:03 +02:00
Juliusz Chroboczek
1de42bd80e Kill obsolete function. 2020-04-28 15:07:58 +02:00
Juliusz Chroboczek
038ab46d2b Use a separate track for each down connection. 2020-04-28 14:54:50 +02:00
Juliusz Chroboczek
9c9748b888 Unmarshal RTP directly instead of using helper functions.
This avoids allocating a new header each time.
2020-04-28 14:52:36 +02:00
Juliusz Chroboczek
015699a9cd Gofmt. 2020-04-27 03:08:03 +02:00
Juliusz Chroboczek
4cebaa6dc2 Enable Trickle ICE. 2020-04-27 03:06:45 +02:00
Juliusz Chroboczek
d24aafd314 Remove all down connections at websocket close. 2020-04-27 01:37:27 +02:00
Juliusz Chroboczek
e7e1f248ea Dont send close on abort. 2020-04-27 01:33:05 +02:00
Juliusz Chroboczek
087f804100 Clear error after connecting. 2020-04-26 22:00:48 +02:00
Juliusz Chroboczek
eed3d2aff7 Display upstream throughput. 2020-04-26 22:00:48 +02:00
Juliusz Chroboczek
e19d704a0a Format error messages on the client side. 2020-04-26 19:15:02 +02:00
Juliusz Chroboczek
c441b49d26 Send rate updates over RTCP. 2020-04-26 03:03:39 +02:00
Juliusz Chroboczek
98034c0f6f Rename streamCount to trackCount. 2020-04-26 00:39:07 +02:00
Juliusz Chroboczek
78d3b7ab40 Simplify sendPLI.
We use identical SSRC values on both sides, no need to map.
2020-04-26 00:25:22 +02:00
Juliusz Chroboczek
c86b1c87d5 Add timeout for initial handshake. 2020-04-25 22:49:07 +02:00
Juliusz Chroboczek
b201c3d93c Implement ping/pong exchanges and client timeouts. 2020-04-25 22:44:24 +02:00
Juliusz Chroboczek
0dfa71ed71 Improve error handling when reading groups. 2020-04-25 21:40:43 +02:00
Juliusz Chroboczek
df924cd468 Make g.clients be a map. 2020-04-25 21:29:21 +02:00
Juliusz Chroboczek
4ea4e7c0eb Implement chat history. 2020-04-25 21:19:11 +02:00
Juliusz Chroboczek
1d90f44315 Kill Message field in clientMessage.
Having both Message and Value is confusing.
2020-04-25 20:49:21 +02:00
Juliusz Chroboczek
695cbad31c Make clientMessage.me a plain boolean. 2020-04-25 20:30:33 +02:00
Juliusz Chroboczek
fc4bac3f16 Hide overflow on user list. 2020-04-25 20:15:47 +02:00
Juliusz Chroboczek
78003fdc7d Disallow usernames with spaces. 2020-04-25 20:15:47 +02:00
Juliusz Chroboczek
563545bd13 Fix error handling at connection start. 2020-04-25 19:58:54 +02:00
Juliusz Chroboczek
965b59c9d5 Change user matching to ignore wildcards on password failure. 2020-04-25 19:08:14 +02:00
Juliusz Chroboczek
2e841c082e Implement leave command. 2020-04-25 18:43:22 +02:00
Juliusz Chroboczek
2811506dfb Allow anonymous users to send commands. 2020-04-25 18:42:06 +02:00
Juliusz Chroboczek
caa2264390 Close up connections when presenter permission lost. 2020-04-25 18:35:32 +02:00
Juliusz Chroboczek
3ea63c394c Implement abort message in the downstream direction.
This is not quite correct, we're sending a spurious close.
2020-04-25 18:29:44 +02:00
Juliusz Chroboczek
8bfdc2b040 Display username, rename admin to op. 2020-04-25 18:10:37 +02:00
Juliusz Chroboczek
a45914fec4 fixup! Implement kick, op and friends. 2020-04-25 17:56:22 +02:00
Juliusz Chroboczek
5c40b95e9a Discard permissions when disconnecting. 2020-04-25 17:49:50 +02:00
Juliusz Chroboczek
d46014242d Set page title. 2020-04-25 17:43:56 +02:00
Juliusz Chroboczek
25825e5b22 Implement kick, op and friends. 2020-04-25 17:36:35 +02:00
Juliusz Chroboczek
e0eee9e7e2 Implement client.error. 2020-04-25 17:30:19 +02:00
Juliusz Chroboczek
b053a64631 Clarify error message. 2020-04-25 16:54:20 +02:00
Juliusz Chroboczek
6f7c809b71 Unshare screen when stream ends. 2020-04-25 15:42:43 +02:00
Juliusz Chroboczek
b018b14c80 Display bitrate. 2020-04-25 15:42:43 +02:00
Juliusz Chroboczek
38e3260e77 Fix typo in bitrate setting. 2020-04-25 15:42:36 +02:00
Juliusz Chroboczek
dd96f120a9 Don't allow empty group name in mainpage. 2020-04-25 14:34:47 +02:00