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

30 commits

Author SHA1 Message Date
Juliusz Chroboczek
0205695bd7 Fix disk writer when doing simulcast. 2021-05-12 16:39:46 +02:00
Juliusz Chroboczek
1130295e0b Use strings.EqualFold for comparing codec names. 2021-05-12 16:18:23 +02:00
Juliusz Chroboczek
c53cc20d26 Use Write instead of WriteRTP in the downTrack interface. 2021-05-11 23:48:17 +02:00
Juliusz Chroboczek
d3f53e6ada Move rate estimation into rtpDownTrack.WriteRTP. 2021-05-11 22:45:33 +02:00
Juliusz Chroboczek
c52e1f4ce0 Move keyframe handling to the sender side.
This is simpler and gets rid of ErrKeyframeNeeded.
2021-05-11 22:36:56 +02:00
Juliusz Chroboczek
26bf8a341a Don't send client parameters in delete message.
This avoids a race condition since the delete messages are sent
asynchronously.
2021-05-10 16:58:28 +02:00
Juliusz Chroboczek
795a40ceaf Simulcast. 2021-05-08 21:12:29 +02:00
Juliusz Chroboczek
3ba2394be7 Implement user statuses.
The server now maintains a set of statuses for each user that are not
interpreted by the server but communicated to the other members of the
group using 'user' messages.
2021-04-28 17:01:05 +02:00
Juliusz Chroboczek
f0a39fca48 Send user permissions to client.
We now maintain the user list in the serverConnection.
2021-04-28 00:07:19 +02:00
Juliusz Chroboczek
1fd8b92f02 Avoid race in newDiskConn. 2021-02-28 16:27:26 +01:00
Juliusz Chroboczek
c72cbe8f27 Don't attempt to replace empty connection in disk writer. 2021-02-04 22:01:41 +01:00
Juliusz Chroboczek
14a4303664 Rework connection replacement.
We used to signal connection replacement by reusing the same connection
id.  This turned out to be racy, as we couldn't reliably discard old
answers after a connection id was refused.

We now use a new id for every new connection, and explicitly signal
stream replacement in the offer message.  This requires maintaining a
local id on the client side.
2021-01-31 23:59:17 +01:00
Juliusz Chroboczek
6098d4af9d Implement autolock. 2021-01-14 03:56:37 +01:00
Juliusz Chroboczek
81e155a45f Implement saving to disk of VP9. 2021-01-03 22:19:25 +01:00
Juliusz Chroboczek
ddafca5780 Decrease keyframe interval when writing to disk. 2021-01-03 13:48:02 +01:00
Juliusz Chroboczek
f53276b89e Simplify the protocol and the protocol interface.
Split the id field into id and source, where source indicates the sender
of the message and id the entity being sent.  Remove the label request,
just use the offerer's username.  Maintain the username within the
ServerConnection, this removes a parameter from some methods.
2021-01-03 12:17:30 +01:00
Juliusz Chroboczek
6c8e20c445 Don't attempt to write unsupported track to disk. 2020-12-26 04:17:55 +01:00
Juliusz Chroboczek
26ca4f7969 Warn when attempting to record unsupported codec. 2020-12-25 21:04:17 +01:00
Juliusz Chroboczek
159a9b8147 Fix recording filename for Windows. 2020-12-23 23:15:36 +01:00
Juliusz Chroboczek
6969ae7d68 Warn when writing to disk fails. 2020-12-23 23:15:36 +01:00
Juliusz Chroboczek
d9dbb50bf5 Maintain a reference to client in disk connections. 2020-12-23 23:15:36 +01:00
Juliusz Chroboczek
325f288189 Move to github. 2020-12-19 17:37:48 +01:00
Juliusz Chroboczek
ef1c211b7f SFU is now called Galène. 2020-12-06 19:51:02 +01:00
Juliusz Chroboczek
2d07c5d317 Move to Pion v3 API. 2020-12-06 11:15:59 +01:00
Juliusz Chroboczek
0e7bf0b348 Carry group around when pushing connections.
This avoids a race condition if the group changes before the connections
are pushed.
2020-12-05 00:07:34 +01:00
Juliusz Chroboczek
6e5348101c Propagate kick originators. 2020-11-30 20:04:58 +01:00
Juliusz Chroboczek
4c0fd01258 Implement hashed passwords. 2020-11-29 22:17:51 +01:00
Juliusz Chroboczek
0c8df661b2 Don't drop first frame when recording to disk. 2020-10-12 16:18:57 +02:00
Juliusz Chroboczek
2a516674f2 Request a keyframe every 10s when saving to disk. 2020-10-11 22:56:15 +02:00
Juliusz Chroboczek
bda58b42c6 Rename disk to diskwriter. 2020-10-04 21:08:34 +02:00
Renamed from disk/disk.go (Browse further)