Joachim Bauch
1f20907092
Merge pull request #234 from strukturag/dependabot/go_modules/github.com/nats-io/nats-server/v2-2.8.1
...
Bump github.com/nats-io/nats-server/v2 from 2.7.4 to 2.8.1
2022-04-25 09:03:06 +02:00
Joachim Bauch
ef8d5ff628
Merge pull request #228 from strukturag/send-to-session
...
Send directly to local session with disconnected client.
2022-04-11 17:00:58 +02:00
Joachim Bauch
5f97794691
Send directly to local session with disconnected client.
...
Before it was using NATS to deliver the message to the session.
2022-04-11 16:53:47 +02:00
Joachim Bauch
681ba401a3
Merge pull request #226 from strukturag/dependabot/github_actions/actions/setup-go-3
...
Bump actions/setup-go from 2 to 3
2022-04-11 10:23:31 +02:00
Joachim Bauch
144eefa2fb
make: Fix unnecessary building of easyjson.
2022-04-11 10:22:22 +02:00
Joachim Bauch
156a8a2086
Merge pull request #221 from danxuliu/fix-media-type-not-updated-after-publisher-renegotiations
...
Fix mediaType not updated after publisher renegotiations
2022-04-07 08:24:57 +02:00
Joachim Bauch
e5f2d4d3cf
Merge pull request #220 from strukturag/golang-updates
...
Use features from newer Golang versions
2022-04-06 10:07:20 +02:00
Joachim Bauch
43530aa301
Merge pull request #222 from strukturag/dependabot/go_modules/go.etcd.io/etcd/client/v3-3.5.2
...
Bump go.etcd.io/etcd/client/v3 from 3.5.1 to 3.5.2
2022-04-06 08:35:11 +02:00
Joachim Bauch
2a491ec3f0
Use "T.Cleanup()" instead of manually deferred shutdown function.
2022-04-05 12:57:40 +02:00
Joachim Bauch
81a52389aa
Stop using deprecated ioutil package.
2022-04-05 12:48:27 +02:00
Joachim Bauch
9c2df744c1
Switch to "T.TempDir()" to avoid manual cleanup.
2022-04-05 12:40:26 +02:00
Joachim Bauch
b98a00ec10
Merge pull request #190 from strukturag/dependabot/go_modules/github.com/prometheus/client_golang-1.12.1
...
Bump github.com/prometheus/client_golang from 1.11.0 to 1.12.1
2022-04-05 11:51:59 +02:00
Joachim Bauch
1ad487b790
Merge pull request #179 from strukturag/etcd-update
...
Update etcd to v3.5.1
2022-04-05 11:38:07 +02:00
Joachim Bauch
72965533b9
make: Setup PATH to include path to go binary when running easyjson.
2022-04-05 11:29:56 +02:00
Joachim Bauch
58b4beb3ba
Update etcd to v3.5.1
...
Requires at least Golang 1.14
2022-04-05 11:16:38 +02:00
Joachim Bauch
5fc886913c
Merge pull request #207 from strukturag/dependabot/go_modules/github.com/nats-io/nats-server/v2-2.7.4
...
Bump github.com/nats-io/nats-server/v2 from 2.2.6 to 2.7.4
2022-04-05 11:09:03 +02:00
Joachim Bauch
75c56ee9dd
Merge pull request #161 from strukturag/dependabot/go_modules/github.com/golang-jwt/jwt-3.2.2incompatible
...
Bump github.com/golang-jwt/jwt from 3.2.1+incompatible to 3.2.2+incompatible
2022-04-05 11:01:21 +02:00
Joachim Bauch
0bb00d4cfa
Merge pull request #219 from strukturag/ci-last-two-golang
...
Only support last two versions of Golang (1.17 / 1.18).
2022-04-05 10:55:29 +02:00
Joachim Bauch
54715aa6d7
lint: Install dependencies with Golang 1.17
2022-04-05 10:49:12 +02:00
Joachim Bauch
b066785b00
CI: Update cache paths.
2022-04-05 10:46:04 +02:00
Joachim Bauch
320f643a87
make: Update for Go 1.17+
2022-04-05 10:32:10 +02:00
Joachim Bauch
3cc074896a
go.mod: Update version to 1.17 and run "go mod tidy".
2022-04-05 09:57:13 +02:00
Joachim Bauch
dcc4723154
Update minimum version in readme.
2022-04-05 09:55:16 +02:00
Joachim Bauch
88ef423934
CI: Only test with the last two versions of Golang.
...
Currently this is Go 1.17 and 1.18.
2022-04-05 09:53:23 +02:00
Joachim Bauch
03bd3a334b
Merge pull request #213 from strukturag/dependabot/go_modules/github.com/oschwald/maxminddb-golang-1.9.0
...
Bump github.com/oschwald/maxminddb-golang from 1.8.0 to 1.9.0
2022-04-05 09:45:11 +02:00
Joachim Bauch
cd091ec578
Merge pull request #214 from strukturag/dnsservice-discovery
...
Support DNS discovery for proxy server URLs.
2022-04-05 09:38:58 +02:00
Joachim Bauch
659730d371
Support DNS discovery for proxy server URLs.
...
If the hostname of a proxy server resolves to multiple IP addresses,
a connection is established to each of them.
Changes to the DNS are monitored regularly and proxy connections are
created or deleted as necessary.
2022-04-04 16:17:22 +02:00
Joachim Bauch
f1b2401088
Merge pull request #216 from strukturag/dependabot/pip/docs/sphinx-4.5.0
...
Bump sphinx from 4.2.0 to 4.5.0 in /docs
2022-04-04 16:15:36 +02:00
Joachim Bauch
b267f0dc50
Merge pull request #218 from strukturag/ci-workflows
...
CI: Only run workflows if relevant files have changed.
2022-04-04 16:14:44 +02:00
Joachim Bauch
16072d020c
CI: Only run workflows if relevant files have changed.
2022-04-04 16:12:33 +02:00
Joachim Bauch
692879be78
Merge pull request #215 from strukturag/ci-fix-readthedocs
...
CI: Pin dependencies to fix readthedocs build.
2022-04-04 16:03:38 +02:00
Joachim Bauch
bbbe81e597
dependabot: Check rtd requirements for updates.
2022-04-04 15:58:59 +02:00
Joachim Bauch
090a1cfd3f
CI: Pin dependencies to fix readthedocs build.
2022-04-04 15:54:37 +02:00
Joachim Bauch
b87f071336
CI: Include all tests in coverage reports.
2022-03-23 13:28:40 +01:00
Joachim Bauch
7bfba499ba
Merge pull request #212 from strukturag/token-in-future
...
Return dedicated error if proxy receives token that is not valid yet
2022-03-23 13:21:32 +01:00
Joachim Bauch
5101b16df3
Return dedicated error if proxy receives token that is not valid yet.
...
This can happen for example if the times of the machines running the
signaling server and proxy don't match.
2022-03-23 13:13:32 +01:00
Joachim Bauch
fde95ddc93
make: Also run tests in subfolders.
2022-03-23 13:12:50 +01:00
Joachim Bauch
9f86c80c33
Only stop MCU if started before.
2022-03-23 11:46:17 +01:00
Joachim Bauch
57eb2388ca
Merge pull request #209 from strukturag/ci-golang-1.18
...
CI: Also test with Golang 1.18
2022-03-23 11:29:32 +01:00
Joachim Bauch
2ebd93d71d
make: Install easyjson for Golang 1.17+
2022-03-23 11:11:36 +01:00
Joachim Bauch
8849d547a3
Merge pull request #208 from strukturag/incall-change-all
...
Add special events to update "incall" flags of all sessions.
2022-03-23 09:20:08 +01:00
Joachim Bauch
97f2a1d5f0
Add special events to update "incall" flags of all sessions.
2022-03-23 09:15:22 +01:00
Joachim Bauch
5ffa8c32d7
Merge pull request #211 from strukturag/dependabot/github_actions/actions/cache-3
...
Bump actions/cache from 2.1.7 to 3
2022-03-22 08:39:15 +01:00
Joachim Bauch
008879aefa
Merge pull request #210 from strukturag/metrics-documentation
...
Add documentation on the available metrics.
2022-03-17 10:25:57 +01:00
Joachim Bauch
3442a8a36a
Add documentation on the available metrics.
2022-03-17 10:17:15 +01:00
Joachim Bauch
e6d39d149e
CI: Also test with Golang 1.18
2022-03-17 09:26:15 +01:00
Joachim Bauch
4b002e0952
Merge pull request #205 from strukturag/dependabot/github_actions/actions/checkout-3
...
Bump actions/checkout from 2.4.0 to 3
2022-03-02 14:27:14 +01:00
Joachim Bauch
49cc6e3af9
Merge pull request #202 from strukturag/dependabot/github_actions/golangci/golangci-lint-action-3.1.0
...
Bump golangci/golangci-lint-action from 2.5.2 to 3.1.0
2022-03-02 14:27:00 +01:00
Joachim Bauch
bdb9b6e5da
Merge pull request #206 from strukturag/ci-lint-fixes
...
CI: Fix linter errors
2022-03-02 14:09:15 +01:00
Joachim Bauch
73bad27ea1
CI: Ignore "error-strings" for revive linter.
2022-03-02 14:03:51 +01:00
Joachim Bauch
7b631b0b2a
Format code using "gofmt".
2022-02-25 09:20:26 +01:00
Joachim Bauch
8fd9c688b6
Merge pull request #195 from danxuliu/send-updated-offers-to-subscribers-after-publisher-renegotiations
...
Send updated offers to subscribers after publisher renegotiations
2022-02-25 09:16:10 +01:00
Joachim Bauch
d1417751ed
Merge pull request #193 from strukturag/transient-data
...
Add API for transient room data.
2022-02-16 12:40:32 +01:00
Joachim Bauch
ae82acf9ff
Document transient data.
2022-02-16 12:30:39 +01:00
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
eafeae8972
Merge pull request #198 from strukturag/dependabot/go_modules/github.com/gorilla/websocket-1.5.0
...
Bump github.com/gorilla/websocket from 1.4.2 to 1.5.0
2022-02-16 11:38:00 +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
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
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