On_deviceStatusReceived

TrueConf7/5/26About 1 min

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

NameDescription
confIdUnique communication session identifier
micThe 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
videoThe 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
peerIdTrueConf ID, unique user identifier

See also

Last Updated: