Commit Graph
15 Commits
Author SHA1 Message Date
Joachim Bauch f7db8a38e1 Send initial "welcome" message when clients connect.
This can be used to detect server features before performing the
actual "hello" handshake.
2022-07-07 09:57:10 +02:00
Joachim Bauch 6fa4a8b434 Also return in-order list of "join" events. 2022-04-11 17:01:08 +02:00
Joachim Bauch 97f2a1d5f0 Add special events to update "incall" flags of all sessions. 2022-03-23 09:15:22 +01:00
Joachim Bauch fca30af201 Add API for transient room data. 2022-02-16 12:30:39 +01:00
Joachim Bauch 99f5fb0be1 Add method "RunUntilJoinedAndReturnIgnored". 2022-02-16 12:21:45 +01:00
Joachim Bauch 42a5506da7 Support multiple "joined" entries when waiting for clients. 2022-02-16 12:21:44 +01:00
Joachim Bauch 614c5f6e21 Fix issues reported by revive. 2022-02-11 12:09:42 +01:00
Joachim Bauch 707b125730 Check individual audio/video permissions on change.
If a client publishes audio/video and no longer has the video permission,
the whole publisher will be closed. Previously this was only checking
the generic "media" permission.
2021-11-08 12:08:14 +01:00
Joachim Bauch 4d991725c3 Add method to get pending messages from testclient. 2021-06-08 13:45:58 +02:00
Joachim Bauch 9a473b9bf1 Wait for close message to be processed in test client before closing. 2021-06-07 17:14:31 +02:00
Joachim Bauch 0d1c546355 Use buffered channel to receive read error. 2021-06-04 15:13:34 +02:00
Joachim Bauch 5d87df4b8e Return error if unknown hello session was received while waiting for joined events. 2021-04-27 08:48:36 +02:00
Joachim Bauch 9cf796640c Don't require certain order of own/other "joined" events. 2021-04-27 08:39:19 +02:00
Joachim Bauch c8e4bfe007 Fix various issues found by golangci-lint. 2021-04-26 17:25:52 +02:00
Joachim Bauch 8ba2e0ad64 Switch dependency tracking to Go modules.
With that bump minimum required version to Go 1.13.
2021-04-09 16:15:00 +02:00