Commit Graph
335 Commits
Author SHA1 Message Date
Joachim Bauch 76ad24ca62 Include room session id in "joined" events.
This helps with matching signaling sessions with sessions in Talk.
2021-12-17 16:02:22 +01:00
Joachim Bauch 468470d128 Merge pull request #177 from strukturag/continentmap-source
Change source of country -> continent map.
2021-12-06 09:37:46 +01:00
Joachim Bauch 38c836011b Update tests for new continent map. 2021-12-06 09:31:06 +01:00
Joachim Bauch 99bb30af20 Update continentmap from 137e1f84ad 2021-12-06 09:21:46 +01:00
Joachim Bauch 137e1f84ad Change source of country -> continent map.
The previous source at https://datahub.io/JohnSnowLabs/ no longer exists.
2021-12-06 09:20:28 +01:00
Joachim Bauch 0df708a74e Merge pull request #171 from strukturag/dependabot/github_actions/actions/cache-2.1.7
Bump actions/cache from 2.1.6 to 2.1.7
2021-11-24 09:00:06 +01:00
dependabot[bot] e74d5fdd7e Bump actions/cache from 2.1.6 to 2.1.7
Bumps [actions/cache](https://github.com/actions/cache) from 2.1.6 to 2.1.7.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2.1.6...v2.1.7)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-23 20:08:39 +00:00
Joachim Bauch f60ea3fcbb Fix formatting. 2021-11-10 15:22:56 +01:00
Joachim Bauch e856c41377 Finalize date for 0.4.0 v0.4.0 2021-11-10 15:18:42 +01:00
Joachim Bauch e8f634a008 Update changelog for 0.4.0 2021-11-10 15:15:35 +01:00
Joachim Bauch 13314d646a Merge pull request #169 from strukturag/audio-video-permission-changes
Check individual audio/video permissions on change.
2021-11-10 15:13:24 +01:00
Joachim Bauch 4630c5f38c Add testcase with PERMISSION_MAY_PUBLISH_MEDIA. 2021-11-08 12:16:26 +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 572176b4f5 Add first tests for split audio/video permissions. 2021-11-08 12:08:13 +01:00
Joachim Bauch 06e4f0aac8 Remove debug output. 2021-11-08 10:12:50 +01:00
Joachim Bauch 7628a15e61 Merge pull request #157 from strukturag/split-audio-video-permissions
Support separate permissions for publishing audio / video.
2021-11-03 15:39:50 +01:00
Joachim Bauch 61f039bb88 Introduce feature flag for split audio/video permissions.
The flag name "audio-video-permissions" will be used for this.
2021-11-03 15:24:28 +01:00
Joachim Bauch a05acc9cb4 Include available features in header of backend requests to Nextcloud.
The header "X-Spreed-Signaling-Features" will contain a comma-separated list
of feature flags.
2021-11-03 15:24:27 +01:00
Joachim Bauch 2f8e7f9f66 Return available features in header of backend responses.
The header "X-Spreed-Signaling-Features" will contain a comma-separated list
of feature flags.
2021-11-03 15:24:27 +01:00
Joachim Bauch 70b37364d3 Support separate permissions for publishing audio / video.
Clients with permission "publish-media" can publish any audio/video. Other
clients need to have "publish-audio" and/or "publish-video" to publish the
corresponding media types. For this the SDP in the offer is parsed to check
what will be sent.
2021-11-03 15:24:25 +01:00
Joachim Bauch 3b26003b12 Merge pull request #167 from strukturag/rtt-logging
Reduce RTT logging
2021-11-03 15:02:09 +01:00
Joachim Bauch 782503a141 Don't log RTT of proxy clients. 2021-11-03 14:56:51 +01:00
Joachim Bauch 42dc476033 Only log RTT of connections to proxy if larger than 500ms. 2021-11-03 14:56:25 +01:00
Joachim Bauch 31294aee1d Merge pull request #166 from strukturag/dependabot/github_actions/actions/checkout-2.4.0
Bump actions/checkout from 2.3.5 to 2.4.0
2021-11-03 08:27:19 +01:00
dependabot[bot] 9589f8de90 Bump actions/checkout from 2.3.5 to 2.4.0
Bumps [actions/checkout](https://github.com/actions/checkout) from 2.3.5 to 2.4.0.
- [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.3.5...v2.4.0)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-02 20:09:55 +00:00
Joachim Bauch fb12b359e0 Merge pull request #163 from strukturag/dependabot/github_actions/actions/checkout-2.3.5
Bump actions/checkout from 2.3.4 to 2.3.5
2021-10-19 13:33:02 +02:00
Joachim Bauch 628abe470e Merge pull request #159 from strukturag/subscribe-internal-clients
Internal clients always may subscribe all streams.
2021-10-19 13:32:28 +02:00
dependabot[bot] c88ce09011 Bump actions/checkout from 2.3.4 to 2.3.5
Bumps [actions/checkout](https://github.com/actions/checkout) from 2.3.4 to 2.3.5.
- [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.3.4...v2.3.5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-15 20:07:32 +00:00
Joachim Bauch fdf43a7787 Merge pull request #160 from strukturag/migrate-jwt
deps: Migrate to "github.com/golang-jwt/jwt".
2021-10-11 15:20:23 +02:00
Joachim Bauch e09022c78d deps: Migrate to "github.com/golang-jwt/jwt".
The previous "gopkg.in/dgrijalva/jwt-go.v3" is no longer maintained.
2021-10-11 14:02:57 +02:00
Joachim Bauch 1190856414 Merge pull request #158 from strukturag/dependabot/go_modules/github.com/nats-io/nats.go-1.13.0
Bump github.com/nats-io/nats.go from 1.12.3 to 1.13.0
2021-10-11 13:45:48 +02:00
Joachim Bauch c51276596b Internal clients always may subscribe all streams.
Follow-up to #133.
2021-10-11 13:44:54 +02:00
dependabot[bot] 27d7d43e32 Bump github.com/nats-io/nats.go from 1.12.3 to 1.13.0
Bumps [github.com/nats-io/nats.go](https://github.com/nats-io/nats.go) from 1.12.3 to 1.13.0.
- [Release notes](https://github.com/nats-io/nats.go/releases)
- [Commits](https://github.com/nats-io/nats.go/compare/v1.12.3...v1.13.0)

---
updated-dependencies:
- dependency-name: github.com/nats-io/nats.go
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-08 20:11:20 +00:00
Joachim Bauch aeb7834ff7 Merge pull request #133 from strukturag/check-subscribe-call
Only allow subscribing if both users are in the same room and call.
2021-09-23 13:38:37 +02:00
Joachim Bauch a663dd43f9 Add option to allow subscribing of any streams (disabled by default). 2021-09-23 09:05:49 +02:00
Joachim Bauch b398591447 Only allow subscribing if both users are in the same room and call.
Previously it was possible to subscribe any stream if the session id of the
publisher was known.
2021-09-23 09:05:25 +02:00
Joachim Bauch 7a6f9577fe Merge pull request #154 from strukturag/dependabot/go_modules/github.com/nats-io/nats.go-1.12.3
Bump github.com/nats-io/nats.go from 1.12.1 to 1.12.3
2021-09-22 08:55:32 +02:00
dependabot[bot] b165aa178d Bump github.com/nats-io/nats.go from 1.12.1 to 1.12.3
Bumps [github.com/nats-io/nats.go](https://github.com/nats-io/nats.go) from 1.12.1 to 1.12.3.
- [Release notes](https://github.com/nats-io/nats.go/releases)
- [Commits](https://github.com/nats-io/nats.go/compare/v1.12.1...v1.12.3)

---
updated-dependencies:
- dependency-name: github.com/nats-io/nats.go
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-21 20:18:40 +00:00
Joachim Bauch 4530b91434 Merge pull request #153 from strukturag/ci-go-1.17
CI: Also test with Golang 1.17
2021-09-14 14:03:18 +02:00
Joachim Bauch 93a4bf1949 CI: Also test with Golang 1.17 2021-09-14 13:58:13 +02:00
Joachim Bauch 6d4c8bba20 Merge pull request #150 from strukturag/dependabot/go_modules/github.com/nats-io/nats.go-1.12.1
Bump github.com/nats-io/nats.go from 1.11.0 to 1.12.1
2021-09-13 09:12:33 +02:00
dependabot[bot] ef3c250e21 Bump github.com/nats-io/nats.go from 1.11.0 to 1.12.1
Bumps [github.com/nats-io/nats.go](https://github.com/nats-io/nats.go) from 1.11.0 to 1.12.1.
- [Release notes](https://github.com/nats-io/nats.go/releases)
- [Commits](https://github.com/nats-io/nats.go/compare/v1.11.0...v1.12.1)

---
updated-dependencies:
- dependency-name: github.com/nats-io/nats.go
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-06 20:17:16 +00:00
Joachim Bauch c0603d6b4d Merge pull request #144 from strukturag/dependabot/go_modules/github.com/prometheus/client_golang-1.11.0
Bump github.com/prometheus/client_golang from 1.10.0 to 1.11.0
2021-08-11 08:58:55 +02:00
dependabot[bot] d93144f77d Bump github.com/prometheus/client_golang from 1.10.0 to 1.11.0
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.10.0 to 1.11.0.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prometheus/client_golang/compare/v1.10.0...v1.11.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-10 20:10:39 +00:00
Joachim Bauch 29cd282691 Merge pull request #99 from strukturag/prometheus-metrics
Add prometheus metrics
2021-08-10 10:08:50 +02:00
Joachim Bauch 4c77ae04ef Close publishers/subscribers if proxy session is closed. 2021-08-10 09:24:59 +02:00
Joachim Bauch 6841d1495f Fixup: don't decrement virtual sessions twice. 2021-08-10 08:50:41 +02:00
Joachim Bauch ce1b3fc6e2 Add more metrics on rooms / sessions / backends. 2021-08-10 08:50:41 +02:00
Joachim Bauch 5d431e5612 Lint prometheus stats. 2021-08-10 08:50:40 +02:00
Joachim Bauch 70f9f7ea91 Also track subscriber streams by type. 2021-08-10 08:50:40 +02:00