diff options
author | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2021-05-06 22:04:54 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2021-05-19 16:24:40 +0300 |
commit | 3c8418e69e639021836b6373a7db2538cd3b682c (patch) | |
tree | f4af7ce2a692bc56ba2d4e8017ec8e05c2279a88 /appinfo/routes.php | |
parent | f8215200956f422091247d599e3fba7b2356c162 (diff) |
Unify STUN and TURN server URLs
The "stunservers" parameter was a list of several elements each one with
a "url" parameter, which was a string. Now the "stunservers" parameter
is a list of several elements (although in practice there will be just
one) each one with a "urls" parameter, which is a list of strings.
The "turnservers" parameter was a list of several elements each one with
a "url" parameter and a "urls" parameter, which were both a list of a
single string. Now the "turnservers" parameter is a list of several
elements each one with a "urls" parameter, which is a list of strings.
Each element of "turnservers" contain too "username" and "credential"
parameters that apply to all the elements in the "urls" parameter.
The format resembles the RTCIceServer format, so the returned values can
be directly used by the WebUI like done until now. Mobile clients will
need to be adjusted, though.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'appinfo/routes.php')
-rw-r--r-- | appinfo/routes.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php index 920a91fb5..229a7c7e2 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -62,7 +62,7 @@ return [ 'url' => '/api/{apiVersion}/signaling/settings', 'verb' => 'GET', 'requirements' => [ - 'apiVersion' => 'v(1|2)', + 'apiVersion' => 'v(1|2|3)', ], ], [ |