Commit graph

356 commits

Author SHA1 Message Date
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 75493c4327
Merge pull request #197 from strukturag/ci-golint
CI: Enable golint linter.
2022-02-11 12:15:53 +01:00
Joachim Bauch d84f628deb
CI: Enable revive linter (drop-in replacement of golint). 2022-02-11 12:09:43 +01:00
Joachim Bauch 614c5f6e21
Fix issues reported by revive. 2022-02-11 12:09:42 +01:00
Joachim Bauch 267f383bb6
Merge pull request #196 from strukturag/ci-lint-format
CI: Check format in linter.
2022-02-11 10:50:47 +01:00
Joachim Bauch 0f9c64a038
CI: Enable gofmt linter. 2022-02-11 10:39:48 +01:00
Joachim Bauch cbb25097ef
CI: Use latest version of golangci-lint. 2022-02-11 10:32:23 +01:00
Joachim Bauch 7fbd0b4580
Add documentation badge. 2022-02-10 15:11:58 +01:00
Joachim Bauch 46bcdfc18b
Remove trailing whitespace. 2022-02-10 15:11:39 +01:00
Joachim Bauch afa72b576f
Merge pull request #194 from strukturag/api-docs
Add API docs
2022-02-10 14:58:00 +01:00
Joachim Bauch 5bda595cce
Add configuration for readthedocs.io 2022-02-10 14:53:31 +01:00
Joachim Bauch 826f4314a7
Update link to API of PHP backend. 2022-02-10 14:45:57 +01:00
Joachim Bauch 0bce422e30
Add API documentation.
Taken from commit deb2494193a51321273070b39739e625651d40ea of
https://github.com/nextcloud/spreed/

Should be kept at the signaling server repository as the API is defined
and implemented here.
2022-02-10 14:09:23 +01:00
Joachim Bauch e4214eb95d
Merge pull request #188 from strukturag/changelog-0.4.1
Update changelog for 0.4.1
2022-01-25 10:14:01 +01:00
Joachim Bauch 2e2861d1b8
Update changelog for 0.4.1 2022-01-25 10:07:29 +01:00
Joachim Bauch d806922764
Merge pull request #183 from strukturag/custom-bandwidth
Clients can provide the maximum publishing bandwidth in offer requests.
2022-01-10 15:22:49 +01:00
Joachim Bauch ffd8a30f61
Clients can provide the maximum publishing bandwidth in offer requests.
This will still be capped to any backend / proxy / Janus limits.
2022-01-10 15:14:56 +01:00
Joachim Bauch 414f78dd87
Fix formatting of non-string variable. 2022-01-10 15:03:54 +01:00
Joachim Bauch 552eee0812
Merge pull request #178 from strukturag/join-event-with-roomsessionid
Include room session id in "joined" events.
2021-12-17 16:27:22 +01:00
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 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