Commit graph

540 commits

Author SHA1 Message Date
Joachim Bauch d1fb860d2c
Merge pull request #262 from solracsf/patch-2
Add Go Report card
2022-05-16 15:14:11 +02:00
Joachim Bauch 7267a0c92d
Processed classes implement the "json.Marshaler/Unmarshaler" interfaces. 2022-05-16 15:13:50 +02:00
Git'Fellow 11fa78bf5d
Add Go Report card
Can help building better code and detect some issues.
See https://goreportcard.com/report/github.com/strukturag/nextcloud-spreed-signaling
2022-05-16 14:30:46 +02:00
Git'Fellow eea27785ae
Update Alpine to 3.15 version, fix CVE-2022-28391
See https://github.com/advisories/GHSA-h8c3-8522-vxc6
2022-05-16 14:09:29 +02:00
Joachim Bauch 68f0393842
Merge pull request #257 from solracsf/patch-1
Update Dockerfile versions
2022-05-16 13:33:38 +02:00
Git'Fellow 54c1af7f4f Bump usrsctp 2022-05-16 11:09:57 +00:00
Git'Fellow 91a99e8907 Update Dockerfile versions
Running these without issues ATM.
2022-05-16 11:09:57 +00:00
Joachim Bauch 0b8c337534
Merge pull request #260 from strukturag/command-rebase
Add command bot for "/rebase".
2022-05-16 13:07:53 +02:00
Joachim Bauch fc66c8869f
Add command bot for "/rebase". 2022-05-16 13:04:59 +02:00
Joachim Bauch 8ec99a49c0
Merge pull request #256 from strukturag/dependabot/go_modules/github.com/prometheus/client_golang-1.12.2
Bump github.com/prometheus/client_golang from 1.12.1 to 1.12.2
2022-05-16 11:01:23 +02:00
Joachim Bauch 68138eacbd
Merge pull request #259 from strukturag/official-coturn-docker
Switch to official Coturn docker image.
2022-05-16 11:00:11 +02:00
Joachim Bauch c91dfc558d
Switch to official Coturn docker image. 2022-05-16 10:55:46 +02:00
Joachim Bauch da87913c0e
CI: Fix condition for running Docker builds.
Follow-up to #258.
2022-05-16 10:51:10 +02:00
Joachim Bauch d71043c7bc
Merge pull request #258 from strukturag/ci-docker-coturn-janus
CI: Test building coturn/janus Docker images.
2022-05-16 10:10:25 +02:00
Joachim Bauch 5be6966891
CI: Test building coturn/janus Docker images. 2022-05-16 10:05:52 +02:00
dependabot[bot] c99ce7095d
Bump github.com/prometheus/client_golang from 1.12.1 to 1.12.2
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.12.1 to 1.12.2.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/v1.12.2/CHANGELOG.md)
- [Commits](https://github.com/prometheus/client_golang/compare/v1.12.1...v1.12.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-13 20:07:37 +00:00
Joachim Bauch 6b1dd1ed4c
Improve locking and allow concurrent reading. 2022-05-13 16:24:18 +02:00
Joachim Bauch 9a24694f37
Merge pull request #253 from strukturag/improve-test-coverage
Improve test coverage
2022-05-13 15:37:12 +02:00
Joachim Bauch e2a8a21756
Merge pull request #255 from strukturag/increase-allowed-body-size
Increase allowed body size for backend requests.
2022-05-13 15:07:47 +02:00
Joachim Bauch c3040c7b06
Increase allowed body size for backend requests. 2022-05-13 14:59:15 +02:00
Joachim Bauch 8ff62829ee
Add tests for etcd proxy tokens. 2022-05-13 14:37:21 +02:00
Joachim Bauch a098a7381b
Add go.etcd.io/etcd/server/v3 v3.5.4 2022-05-13 14:36:41 +02:00
Joachim Bauch cdf5cd47cb
Merge pull request #252 from strukturag/refactor-capabilities
Move capabilities handling to own file and refactor http client pool.
2022-05-13 10:21:13 +02:00
Joachim Bauch eb9e93b811
CI: Setup GOROOT environment variable so gcov2lcov uses correct path. 2022-05-13 10:16:46 +02:00
Joachim Bauch 79f7d85a53
Add tests for capabilities. 2022-05-13 10:16:45 +02:00
Joachim Bauch e9f2e037fd
Add methods to get config values from the capabilities. 2022-05-13 09:21:53 +02:00
Joachim Bauch 4856f63de8
Move capabilities handling to own file and refactor http client pool. 2022-05-13 09:20:31 +02:00
Joachim Bauch cbcd27bd74
Merge pull request #247 from strukturag/dependabot/github_actions/golangci/golangci-lint-action-3.2.0
Bump golangci/golangci-lint-action from 3.1.0 to 3.2.0
2022-05-12 10:06:40 +02:00
dependabot[bot] ab182daf12
Bump golangci/golangci-lint-action from 3.1.0 to 3.2.0
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 3.1.0 to 3.2.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v3.1.0...v3.2.0)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-12 07:55:35 +00:00
Joachim Bauch b517b01503
Merge pull request #249 from strukturag/ci-runon-yaml-change
CI: Run when workflow yaml file has changed.
2022-05-12 09:54:50 +02:00
Joachim Bauch f2e159e429
CI: Run when workflow yaml file has changed. 2022-05-12 09:49:35 +02:00
Joachim Bauch 94ee083d59
Merge pull request #248 from strukturag/dependabot/pip/docs/readthedocs-sphinx-search-0.1.2
Bump readthedocs-sphinx-search from 0.1.1 to 0.1.2 in /docs
2022-05-12 09:44:55 +02:00
dependabot[bot] 5aff1a47f7
Bump readthedocs-sphinx-search from 0.1.1 to 0.1.2 in /docs
Bumps [readthedocs-sphinx-search](https://github.com/readthedocs/readthedocs-sphinx-search) from 0.1.1 to 0.1.2.
- [Release notes](https://github.com/readthedocs/readthedocs-sphinx-search/releases)
- [Changelog](https://github.com/readthedocs/readthedocs-sphinx-search/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/readthedocs/readthedocs-sphinx-search/compare/0.1.1...0.1.2)

---
updated-dependencies:
- dependency-name: readthedocs-sphinx-search
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-11 20:36:35 +00:00
Joachim Bauch c0f56ff81a
Merge pull request #239 from strukturag/toggle-audio-video
Support toggling audio/video in subscribed streams.
2022-05-10 11:39:10 +02:00
Joachim Bauch ec7bc6874e
Remove redundant check for "nil" (fixes linter error). 2022-05-10 10:52:19 +02:00
Joachim Bauch 3cb8fc1117
Support toggling audio/video in subscribed streams.
The command `selectStream` also supports optional boolean flags `audio`
and `video` that can be used to enable/disable receiving the corresponding
media from the stream.
2022-05-10 10:29:44 +02:00
Joachim Bauch 6e5497cfff
Merge pull request #243 from strukturag/dependabot/go_modules/github.com/nats-io/nats.go-1.15.0
Bump github.com/nats-io/nats.go from 1.14.0 to 1.15.0
2022-05-06 08:22:02 +02:00
Joachim Bauch fd4208ae9c
Merge pull request #244 from strukturag/dependabot/github_actions/docker/build-push-action-3
Bump docker/build-push-action from 2 to 3
2022-05-06 08:21:50 +02:00
Joachim Bauch 8ec7b03180
Merge pull request #245 from strukturag/dependabot/github_actions/docker/setup-buildx-action-2
Bump docker/setup-buildx-action from 1 to 2
2022-05-06 08:21:33 +02:00
dependabot[bot] f7a51b03d5
Bump docker/setup-buildx-action from 1 to 2
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 1 to 2.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-05 20:10:01 +00:00
dependabot[bot] 3580ffc7eb
Bump docker/build-push-action from 2 to 3
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 2 to 3.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-05 20:09:59 +00:00
dependabot[bot] 5cb02c7ee9
Bump github.com/nats-io/nats.go from 1.14.0 to 1.15.0
Bumps [github.com/nats-io/nats.go](https://github.com/nats-io/nats.go) from 1.14.0 to 1.15.0.
- [Release notes](https://github.com/nats-io/nats.go/releases)
- [Commits](https://github.com/nats-io/nats.go/compare/v1.14.0...v1.15.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>
2022-05-05 20:09:36 +00:00
Joachim Bauch e92d2bd543
Merge pull request #242 from strukturag/dependabot/go_modules/github.com/nats-io/nats-server/v2-2.8.2
Bump github.com/nats-io/nats-server/v2 from 2.8.1 to 2.8.2
2022-05-05 08:35:14 +02:00
dependabot[bot] ba49cbf7ca
Bump github.com/nats-io/nats-server/v2 from 2.8.1 to 2.8.2
Bumps [github.com/nats-io/nats-server/v2](https://github.com/nats-io/nats-server) from 2.8.1 to 2.8.2.
- [Release notes](https://github.com/nats-io/nats-server/releases)
- [Changelog](https://github.com/nats-io/nats-server/blob/main/.goreleaser.yml)
- [Commits](https://github.com/nats-io/nats-server/compare/v2.8.1...v2.8.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-04 20:07:15 +00:00
Joachim Bauch 7e40df3592
Merge pull request #240 from danxuliu/fix-signaling-server-messages-total-stat-not-being-incremented
Fix "signaling_server_messages_total" stat not being incremented
2022-05-03 14:08:27 +02:00
Daniel Calviño Sánchez 3f7ebc8ef9 Fix "signaling_server_messages_total" stat not being incremented
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2022-05-03 13:56:35 +02:00
Joachim Bauch 135df8c50d
Merge pull request #191 from danxuliu/add-support-for-request-offers-to-update-subscriber-connections
Add support for request offers to update subscriber connections
2022-04-28 08:39:13 +02:00
Daniel Calviño Sánchez 86bad15337 Add support for request offers to update subscriber connections
The "sid" parameter of "requestOffer" messages is now checked to update
the current Janus connection when it matches the "sid" of the subscriber
rather than closing it and creating a new one.

Updating a connection is needed for clients to renegotiate their
received media without interrupting the current connection. For example,
to stop receiving video by triggering a new offer from Janus and then
setting the video transceiver direction as inactive before creating the
answer.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2022-04-27 16:53:14 +02:00
Joachim Bauch f8f2adb0e2
Merge pull request #227 from strukturag/hide-displaynames
Add "permission" for sessions that may not receive display names.
2022-04-27 16:19:23 +02:00
Joachim Bauch 93746a4d9d
Merge pull request #229 from danxuliu/add-specific-id-for-connections-and-replace-update-parameter-with-it
Add specific id for connections and replace "update" parameter with it
2022-04-27 16:17:17 +02:00