# On_deviceStatusReceived

Description

The notification indicating that the user’s device state has changed Description

EventHandler<string> On_deviceStatusReceived

Response example

{
    "event": "deviceStatusReceived",
    "peerId": "user1@some.server",
    "method": "event",
    "mic": 1,
    "confId": "00000351@some.server#vcs",
    "video": 0
}

Response Parameters

Name Description
confId Unique communication session identifier
mic The flag for the audio capture device. It can be as follows:
• 0 - A device is missing or not selected
• 1 - A device is selected but muted
• 2 - A device is selected and enabled
video The flag for the video capture device. It can be as follows:
• 0 - A device is missing or not selected
• 1 - A device is selected but muted
• 2 - A device is selected and enabled
peerId TrueConf ID, unique user identifier

See also

Last Updated: 09/12/2025