# deviceStatusReceived

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

Example:

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

Parameter 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

  • peerIdTrueConf ID, unique user identifier

See also: