Update 6.1. Conference Protocol

This commit is contained in:
Sébastien Blin 2021-11-12 12:00:31 -05:00
parent 7b8700458a
commit aabaee7e97
1 changed files with 31 additions and 3 deletions

View File

@ -94,6 +94,7 @@ A moderator is added if on the same device as the host for now.
### Implementation
#### Layouts
To change a layout, the moderator can send a payload with "application/confOrder+json" as type:
```
@ -102,6 +103,10 @@ To change a layout, the moderator can send a payload with "application/confOrder
}
```
where **0** is a grid, **1** is one user in big, others in small, **2** is one in big
#### Active participant
To set a participant as active, the moderator can send a payload with "application/confOrder+json" as type:
```
@ -110,10 +115,33 @@ To set a participant as active, the moderator can send a payload with "applicati
}
```
#### Moderator mute
```
{
"muteParticipant": "uri",
"muteState": "true"
}
```
#### Hangup participant
```
{
"hangupParticipant": "uri"
}
```
### Controlling moderators
There is actually 3 possibilities:
+ Changing account's config to add a list of moderators (In the config.yml (`defaultModerators` can contains a list of default moderators)
+ If `localModeratorsEnabled` is true, all accounts of the device will be moderators
+ If `allModeratorsEnabled` is true, anybody in the conference will be a moderator
## Future
+ Control moderators on a conference
+ Moderators can hangup
+ Moderators can mute/unmute
+ Multiple master management
+ Separate streams to allow more controls?