Commit Graph

227 Commits

Author SHA1 Message Date
Joachim Bauch 9b83993d48
Assume one Janus server is only used by one signaling server / -proxy.
With that, we can notify publisher events locally instead of through NATS
and can remove code that looks up publisher rooms by their ids on Janus.
2021-06-04 14:52:23 +02:00
Joachim Bauch d7bd809c54
Add class no notify named waiters. 2021-06-04 14:26:03 +02:00
Joachim Bauch f38ebdc518
Merge pull request #113 from strukturag/serialize-turn-credentials
Don't include TURN credentials in log message.
2021-06-01 08:30:10 +02:00
Joachim Bauch 5ed89af1eb
Don't include TURN credentials in log message. 2021-06-01 08:24:48 +02:00
Joachim Bauch dcc32bd682
Merge pull request #112 from strukturag/ci-codeql
CI: Add CodeQL Analysis.
2021-05-31 17:13:16 +02:00
Joachim Bauch ca8ce625e4
CI: Add CodeQL Analysis. 2021-05-31 17:05:08 +02:00
Joachim Bauch 9919e5a7e6
Merge pull request #110 from strukturag/dependabot/github_actions/actions/cache-2.1.6
Bump actions/cache from 2.1.5 to 2.1.6
2021-05-31 12:30:27 +02:00
dependabot[bot] 028c40707f
Bump actions/cache from 2.1.5 to 2.1.6
Bumps [actions/cache](https://github.com/actions/cache) from 2.1.5 to 2.1.6.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2.1.5...v2.1.6)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-28 06:26:41 +00:00
Joachim Bauch 52c1514978
Always use auth userid in ping requests.
Fixes issue introduced in 3a2adffab6 where some
ping requests were not evaluated correctly if a userid was given in the room
session data.
2021-05-19 16:24:15 +02:00
Joachim Bauch da5890a1c7
Merge pull request #108 from strukturag/dependabot/github_actions/actions/checkout-2.3.4
Bump actions/checkout from 2 to 2.3.4
2021-05-12 08:27:22 +02:00
Joachim Bauch 327597f768
Merge pull request #107 from strukturag/dependabot/github_actions/golangci/golangci-lint-action-2.5.2
Bump golangci/golangci-lint-action from 2 to 2.5.2
2021-05-12 08:27:03 +02:00
Joachim Bauch 87b8e3bfd2
Merge pull request #106 from strukturag/dependabot/github_actions/actions/cache-2.1.5
Bump actions/cache from 2 to 2.1.5
2021-05-12 08:26:47 +02:00
dependabot[bot] a84ad07022
Bump actions/checkout from 2 to 2.3.4
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 2.3.4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v2.3.4)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-12 06:18:11 +00:00
dependabot[bot] 643d1261f9
Bump golangci/golangci-lint-action from 2 to 2.5.2
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 2 to 2.5.2.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v2...v2.5.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-12 06:18:07 +00:00
dependabot[bot] 4b22a1439a
Bump actions/cache from 2 to 2.1.5
Bumps [actions/cache](https://github.com/actions/cache) from 2 to 2.1.5.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2...v2.1.5)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-12 06:18:03 +00:00
Joachim Bauch d432b0c1a9
Merge pull request #103 from strukturag/dependabot/github_actions/jandelgado/gcov2lcov-action-v1.0.8
Bump jandelgado/gcov2lcov-action from v1.0.2 to v1.0.8
2021-04-27 10:47:25 +02:00
Joachim Bauch 58cf21b63f
Merge pull request #102 from strukturag/dependabot/github_actions/coverallsapp/github-action-v1.1.2
Bump coverallsapp/github-action from v1.1.1 to v1.1.2
2021-04-27 10:46:38 +02:00
dependabot[bot] d118db9a24
Bump jandelgado/gcov2lcov-action from v1.0.2 to v1.0.8
Bumps [jandelgado/gcov2lcov-action](https://github.com/jandelgado/gcov2lcov-action) from v1.0.2 to v1.0.8.
- [Release notes](https://github.com/jandelgado/gcov2lcov-action/releases)
- [Changelog](https://github.com/jandelgado/gcov2lcov-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jandelgado/gcov2lcov-action/compare/v1.0.2...2477d9ec11814a9326e7fdde8d315783d163edb7)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-27 08:35:35 +00:00
dependabot[bot] 1182a36c90
Bump coverallsapp/github-action from v1.1.1 to v1.1.2
Bumps [coverallsapp/github-action](https://github.com/coverallsapp/github-action) from v1.1.1 to v1.1.2.
- [Release notes](https://github.com/coverallsapp/github-action/releases)
- [Commits](https://github.com/coverallsapp/github-action/compare/v1.1.1...8cbef1dea373ebce56de0a14c68d6267baa10b44)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-27 08:35:32 +00:00
Joachim Bauch e143ada50d
Merge pull request #101 from strukturag/dependabot-actions
dependabot: check github actions for updates.
2021-04-27 09:05:12 +02:00
Joachim Bauch 1d12bfb107
dependabot: check github actions for updates. 2021-04-27 09:01:07 +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 73acd90f2b
Merge pull request #32 from strukturag/ci-golang-lint
CI: Also run golangci-lint
2021-04-26 17:36:42 +02:00
Joachim Bauch 929ac80b86
CI: Also run golangci-lint 2021-04-26 17:32:43 +02:00
Joachim Bauch 4298c082eb
Merge pull request #100 from strukturag/lint-fixes
Fix various issues found by golangci-lint.
2021-04-26 17:32:16 +02:00
Joachim Bauch c8e4bfe007
Fix various issues found by golangci-lint. 2021-04-26 17:25:52 +02:00
Joachim Bauch e849dc8cbd
Add coverage status badge. 2021-04-23 15:53:09 +02:00
Joachim Bauch 16c4cc14bf
Merge pull request #34 from strukturag/ci-coverage
CI: Show coverage report.
2021-04-23 15:48:23 +02:00
Joachim Bauch a07d7e1305
Update flag name. 2021-04-23 15:36:11 +02:00
Joachim Bauch 0f12ec33f8
Pin version. 2021-04-23 15:36:11 +02:00
Joachim Bauch ba4e05ab68
CI: Show coverage report. 2021-04-23 15:36:09 +02:00
Joachim Bauch 0c53f10fd7
No need to manually close rooms in testing, will be done by hub on client disconnects. 2021-04-23 15:26:05 +02:00
Joachim Bauch 8052df4ef5
Wait for clients to be terminated before destroying hub in tests.
This should help with the flaky test failures on CI.
2021-04-23 15:12:09 +02:00
Blackclaws cc0004d60c
[Fix][Documentation] Fix Caddy v2 Example Config (#97)
Fix Caddy V2 Example
2021-04-23 14:57:23 +02:00
Joachim Bauch a5faca00cd
Pass backend when fetching room for managing virtual sessions.
The internal room id is different depending on the backend.
2021-04-23 14:39:42 +02:00
Joachim Bauch d21ace3114
python3 is no longer needed for building since #29 has been merged. 2021-04-23 10:16:26 +02:00
Joachim Bauch cbeffdc8ed
Don't include bin and vendor folders in Docker build context. 2021-04-23 10:14:10 +02:00
Joachim Bauch 3b8b6fbda6
Merge pull request #82 from schleiftier/master
fix(docs): update config example for Apache proxy config
2021-04-23 10:03:27 +02:00
Joachim Bauch f89584845b
Merge pull request #76 from strukturag/bandwidth-proxy
Support defining maximum bandwidths at diferent levels.
2021-04-23 09:54:56 +02:00
Joachim Bauch 1ceb806c20
Support defining maximum bandwidths at diferent levels.
- Individually for each backend.
- For the proxy client (i.e. signaling server using cluster of proxies).
- For the proxy server / MCU.

The smallest bandwidth configured will be used, e.g. if a backend has a
larger limit than the MCU assigned for the stream, the limit of the MCU
server will be used.
2021-04-23 09:18:05 +02:00
Joachim Bauch e8012d99d0
Remove log entries about changed flags. 2021-04-22 14:23:06 +02:00
Joachim Bauch 3a2adffab6
Get userid from room session data if present. 2021-04-22 14:18:35 +02:00
Joachim Bauch 047e6655a1
Remove unnecessary assignments. 2021-04-21 14:12:11 +02:00
Joachim Bauch 0dd2e8a086
Remove remaining virtual sessions if client session is closed.
Previously any virtual sessions that have not been explicitly closed were
not removed from the backend if the client session was closed / expired.
2021-04-21 14:05:45 +02:00
Joachim Bauch d772e10fec
Fix typo in JSON option. 2021-04-21 13:48:34 +02:00
kleener fab080f16a
Update Docker components (#78)
Updates to Docker build:
* Alpine 1.13,
* usrsctp 70d42ae95a1de83bd317c8cc9503f894671d1392
* libsrtp 2.3.0
* Janus 0.11.1
* Added libogg-dev
* Nats 2.2.1
* golang 1.16

Co-authored-by: root <root@kleener.eu>
2021-04-15 08:21:20 +02:00
Joachim Bauch 048b3b2f7d
Merge pull request #96 from strukturag/cache-easyjson
make: Cache easyjson results.
2021-04-14 15:17:35 +02:00
Joachim Bauch b95a538e87
make: Cache easyjson results. 2021-04-14 15:11:39 +02:00
Joachim Bauch b6f20b20f2
Update to go.etcd.io/etcd 3.4.15 2021-04-14 15:00:39 +02:00