Skip to content
Snippets Groups Projects
Commit 3a56ed2e authored by Tobias Hildebrandt's avatar Tobias Hildebrandt Committed by Sébastien Blin
Browse files

update confOrder with voiceActivity

Change-Id: I75a733a98fa33dbd8cc09f8a4816eb3b3d501f7a
parent 125087ad
No related branches found
No related tags found
No related merge requests found
...@@ -79,8 +79,7 @@ Possible keys are: ...@@ -79,8 +79,7 @@ Possible keys are:
+ audioModeratorMuted = if the audio is muted by moderators + audioModeratorMuted = if the audio is muted by moderators
+ isModerator = if it's a moderator + isModerator = if it's a moderator
+ handRaised = if the hand is raised + handRaised = if the hand is raised
+ voiceActivity = if the stream has voice activity
In the future, `isTalking` will probably be added
### New API ### New API
...@@ -137,6 +136,7 @@ For now, there is no action supported, however, in the future `moderator: true/f ...@@ -137,6 +136,7 @@ For now, there is no action supported, however, in the future `moderator: true/f
+ `muteAudio` only doable by moderators to mute the audio of a participant + `muteAudio` only doable by moderators to mute the audio of a participant
+ `muteVideo` not supported yet. + `muteVideo` not supported yet.
+ `active` to mark the media as active. + `active` to mark the media as active.
+ `voiceActivity` to indiciate a media stream's voice activity status (only relevant for audio)
### Example ### Example
...@@ -145,7 +145,7 @@ So, the `application/confOrder+json` will contains: ...@@ -145,7 +145,7 @@ So, the `application/confOrder+json` will contains:
```json ```json
{ {
"989587609427420" : { "989587609427420" : {
"moderator": true/false "moderator": true/false,
"devices": { "devices": {
"40940943604396R64363": { "40940943604396R64363": {
"hangup": true, "hangup": true,
...@@ -154,12 +154,13 @@ So, the `application/confOrder+json` will contains: ...@@ -154,12 +154,13 @@ So, the `application/confOrder+json` will contains:
"3532532662432" : { "3532532662432" : {
"muteAudio": true/false, "muteAudio": true/false,
"muteVideo": true/false, "muteVideo": true/false,
"active": true/false "active": true/false,
} "voiceActivity": true/false
} }
} }
} }
} }
},
"layout": 0/1/2, "layout": 0/1/2,
} }
``` ```
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment