Commit graph

75 commits

Author SHA1 Message Date
Joachim Bauch d23a392a1b
Process NATS messages directly without passing to channel in client.
Already in per-client/-session goroutines, so won't block others.
2020-08-03 14:30:43 +02:00
Joachim Bauch 68477474f8
Don't use "select" with a single case that reads from a channel but read channel directly. 2020-07-31 15:32:42 +02:00
Joachim Bauch 7d874ac1a7
Don't cast bytes to string but use "String()" method. 2020-07-31 15:26:18 +02:00
Joachim Bauch 6ffed30ddc
Remove unused error result (was always "nil"). 2020-07-31 15:23:41 +02:00
Joachim Bauch 5964a98218
Remove unnecessary assignment to "err". 2020-07-31 15:22:18 +02:00
Joachim Bauch efc232fb9c
Don't call "Fatal" from inside a goroutine. 2020-07-31 15:19:11 +02:00
Joachim Bauch 67c5bebdcb
Remove unused members. 2020-07-31 15:00:39 +02:00
Joachim Bauch 3f4693dca4
Remove unnecessary sub-loop. 2020-07-31 14:58:23 +02:00
Joachim Bauch b8c9e816b3
Remove unnecessary assignments to the blank identifier. 2020-07-31 14:57:04 +02:00
Joachim Bauch 1ef50ea18c
Update wording. 2020-07-31 14:07:07 +02:00
Joachim Bauch 30877d01a1
Fix behaviour if "allowall" is configured. 2020-07-31 14:07:06 +02:00
Joachim Bauch 0198599a64
Fix test message. 2020-07-31 14:07:06 +02:00
Joachim Bauch eb6deff32b
Add support for multiple Nextcloud backends. 2020-07-31 14:07:06 +02:00
Joachim Bauch 8772ea83fd
Add sleep between joining multiple clients to the same room. 2020-07-31 14:00:29 +02:00
Joachim Bauch b165c44080
Reuse existing "WaitForUsersJoined" for test. 2020-07-31 13:50:15 +02:00
Joachim Bauch 75abe6d653
Allow one millisecond less delay to account for time variance on CI runners. 2020-07-31 13:44:43 +02:00
Joachim Bauch 7f92d105e5
Keep the continent map in the repository to avoid download on build.
Regularly check through CI cron job that it is the latest version.
2020-07-31 11:52:59 +02:00
Joachim Bauch 5bd525eae0
Add "reason" field to disinvite message.
This is required so clients can differentiate between no longer being
invited or the room being deleted. Fixes #25.
2020-07-07 09:54:26 +02:00
Joachim Bauch 3d73ab48db
Merge pull request #16 from strukturag/stats-api
Add basic stats API.
2020-06-30 17:01:48 +02:00
Joachim Bauch b22d9076a3
Unregister subscriber if "joinRoom" reconnect didn't work.
This will cause a new subscriber object to be created/connected if the client
retries the request.
2020-06-30 16:20:30 +02:00
Joachim Bauch 6455e70f15
Add basic stats API.
Can be used to query number of sessions, rooms and (if Janus is configured),
overall MCU clients and publishers.
2020-05-28 16:02:04 +02:00
Joachim Bauch 4ef06867dd
Move processing of deferred method to dedicated DeferredExecutor.
This fixes an issue where re-joining a room after error stopped the
internal processing of deferred functions.
2020-05-28 10:11:43 +02:00
morph027 fbbb8315ac
remove credentials from log, fixes #11 2020-05-26 07:06:46 +02:00
Stefan Weil 859ba9ec2c Fix some typos in comments and error messages (found by codespell)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2020-05-23 09:35:00 +02:00
Joachim Bauch 5dcfeda1e9
Initial commit of the OpenSource version.
This corresponds to nextcloud-spreed-signaling 0.0.13
2020-05-12 09:46:20 +02:00