Skip to content

Commit

Permalink
Add Capabilities
Browse files Browse the repository at this point in the history
Signed-off-by: Joas Schilling <[email protected]>
  • Loading branch information
nickvergessen committed Mar 27, 2018
1 parent 64b2ce9 commit a3258f3
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
15 changes: 15 additions & 0 deletions docs/api-v1.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 2 additions & 0 deletions lib/Capabilities.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ public function getCapabilities() {
'chat',
'guest-signaling',
'empty-group-room',
'guest-display-names',
'multi-room-users',
],
],
];
Expand Down
2 changes: 2 additions & 0 deletions tests/php/CapabilitiesTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ public function testGetCapabilities() {
'chat',
'guest-signaling',
'empty-group-room',
'guest-display-names',
'multi-room-users',
],
],
], $capabilities->getCapabilities());
Expand Down

0 comments on commit a3258f3

Please sign in to comment.