Skip to content

Commit f528171

Browse files
authored
Update mute-participants-how-to-java.md
add participant muted event
1 parent 70e487b commit f528171

File tree

1 file changed

+51
-2
lines changed

1 file changed

+51
-2
lines changed

articles/communication-services/how-tos/call-automation/includes/mute-participants-how-to-java.md

Lines changed: 51 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,5 +79,54 @@ var callConnectionAsync = callAutomationClientAsync.getCallConnectionAsync(CALL_
7979
callConnectionAsync.muteParticipantsAsync(target).block();
8080
```
8181

82-
## Subscribing to events
83-
82+
## Participant muted event
83+
84+
``` json
85+
{
86+
"id": "9dff6ffa-a496-4279-979d-f6455cb88b22",
87+
"source": "calling/callConnections/401f3500-08a0-4e9e-b844-61a65c845a0b",
88+
"type": "Microsoft.Communication.ParticipantsUpdated",
89+
"data": {
90+
"participants": [
91+
{
92+
"identifier": {
93+
"rawId": "8:acs:0f6adfcd-1795-4f59-b72a-b88ab6721971_00000017-a511-a8bd-1000-343a0d0045c3",
94+
"kind": "communicationUser",
95+
"communicationUser": {
96+
"id": "8:acs:0f6adfcd-1795-4f59-b72a-b88ab6721971_00000017-a511-a8bd-1000-343a0d0045c3"
97+
}
98+
},
99+
"isMuted": true
100+
},
101+
{
102+
"identifier": {
103+
"rawId": "8:acs:0f6adfcd-1795-4f59-b72a-b88ab6721971_becb5f68-7d55-4b4c-9010-d925a7b100d6",
104+
"kind": "communicationUser",
105+
"communicationUser": {
106+
"id": "8:acs:0f6adfcd-1795-4f59-b72a-b88ab6721971_becb5f68-7d55-4b4c-9010-d925a7b100d6"
107+
}
108+
},
109+
"isMuted": false
110+
},
111+
{
112+
"identifier": {
113+
"rawId": "8:acs:0f6adfcd-1795-4f59-b72a-b88ab6721971_00000017-a511-de0e-1000-343a0d0045d0",
114+
"kind": "communicationUser",
115+
"communicationUser": {
116+
"id": "8:acs:0f6adfcd-1795-4f59-b72a-b88ab6721971_00000017-a511-de0e-1000-343a0d0045d0"
117+
}
118+
},
119+
"isMuted": false
120+
}
121+
],
122+
"sequenceNumber": 4,
123+
"callConnectionId": "401f3500-08a0-4e9e-b844-61a65c845a0b",
124+
"serverCallId": "aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEyLTAxLmNvbnYuc2t5cGUuY29tL2NvbnYvRkhjV1lURXFZMENUY0VKUlJ3VHc1UT9pPTQmZT02MzgxNDkzMTEwNDk0NTM2ODQ=",
125+
"correlationId": "e47198fb-1798-4f3e-b245-4fd06569ad5c"
126+
},
127+
"time": "2023-03-21T17:22:35.4300007+00:00",
128+
"specversion": "1.0",
129+
"datacontenttype": "application/json",
130+
"subject": "calling/callConnections/401f3500-08a0-4e9e-b844-61a65c845a0b"
131+
}
132+
```

0 commit comments

Comments
 (0)