LiveKit C++ SDK
Real-time audio/video SDK for C++
Loading...
Searching...
No Matches
livekit::ParticipantDisconnectedEvent Struct Reference

#include <room_event_types.h>

Collaboration diagram for livekit::ParticipantDisconnectedEvent:

Public Attributes

RemoteParticipantparticipant = nullptr
 
DisconnectReason reason = DisconnectReason::Unknown
 

Detailed Description

Fired when a remote participant leaves the room.

Member Data Documentation

◆ participant

RemoteParticipant* livekit::ParticipantDisconnectedEvent::participant = nullptr

The participant that disconnected (owned by Room).

◆ reason

DisconnectReason livekit::ParticipantDisconnectedEvent::reason = DisconnectReason::Unknown

Reason for the disconnect, if known.


The documentation for this struct was generated from the following file: