From a3258f3f9005e379de0ef76a5d0f7d34eafec9d2 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Tue, 27 Mar 2018 11:36:31 +0200 Subject: [PATCH] Add Capabilities Signed-off-by: Joas Schilling --- docs/api-v1.md | 15 +++++++++++++++ lib/Capabilities.php | 2 ++ tests/php/CapabilitiesTest.php | 2 ++ 3 files changed, 19 insertions(+) diff --git a/docs/api-v1.md b/docs/api-v1.md index 55602387415..151b48d1f5f 100644 --- a/docs/api-v1.md +++ b/docs/api-v1.md @@ -48,6 +48,21 @@ Base endpoint is: `/ocs/v2.php/apps/spreed/api/v1` * `5` user following a public link +## Capabilities + +### 3.0 (Initial Talk release) +* `audio` - audio is supported +* `video` - video + screensharing is supported +* `chat` - simple text chat is supported + +### 3.1 +* `guest-signaling` - Guests can do signaling via api endpoints +* `empty-group-room` - Group rooms can be created without inviting a Nextcloud user group by default + +### 3.2 +* `guest-display-names` - Display names of guests are stored in the database, can be set via API (not WebRTC only) and are used on returned comments/participants/etc. +* `multi-room-users` - Users can be in multiple rooms at the same time now + ## Room management diff --git a/lib/Capabilities.php b/lib/Capabilities.php index a2d3d2d4059..5672725e65a 100644 --- a/lib/Capabilities.php +++ b/lib/Capabilities.php @@ -46,6 +46,8 @@ public function getCapabilities() { 'chat', 'guest-signaling', 'empty-group-room', + 'guest-display-names', + 'multi-room-users', ], ], ]; diff --git a/tests/php/CapabilitiesTest.php b/tests/php/CapabilitiesTest.php index b91c473dd2d..c2372f5d572 100644 --- a/tests/php/CapabilitiesTest.php +++ b/tests/php/CapabilitiesTest.php @@ -41,6 +41,8 @@ public function testGetCapabilities() { 'chat', 'guest-signaling', 'empty-group-room', + 'guest-display-names', + 'multi-room-users', ], ], ], $capabilities->getCapabilities());