matrix-org / matrix-spec

The Matrix protocol specification
Apache License 2.0
188 stars 94 forks source link

`/turnServer` doesn't specify error when homeserver has no TURN server #1795

Open Kladki opened 5 months ago

Kladki commented 5 months ago

Link to problem area:

https://spec.matrix.org/v1.10/client-server-api/#get_matrixclientv3voipturnserver

Issue

In the spec, it does not tell homeservers what to respond with for requests to /voip/turnServer when there is no TURN server configured. Currently:

What would be the correct behavior? The empty body, an (M_NOT_FOUND) error code, or something else?