|
LiveKit C++ Client SDK v1.1.0
Real-time audio/video/data SDK for C++
|
Base class for local and remote room participants. More...
#include <participant.h>

Public Member Functions | |
| Participant (FfiHandle handle, std::string sid, std::string name, std::string identity, std::string metadata, std::unordered_map< std::string, std::string > attributes, ParticipantKind kind, DisconnectReason reason) | |
| const std::string & | sid () const noexcept |
| const std::string & | name () const noexcept |
| const std::string & | identity () const noexcept |
| const std::string & | metadata () const noexcept |
| const std::unordered_map< std::string, std::string > & | attributes () const noexcept |
| ParticipantKind | kind () const noexcept |
| DisconnectReason | disconnectReason () const noexcept |
| uintptr_t | ffiHandleId () const noexcept |
Protected Member Functions | |
| virtual std::shared_ptr< TrackPublication > | findTrackPublication (const std::string &sid) const =0 |
Friends | |
| class | Room |
| Room class is a friend to set the internal state of the participant Avoids awkward additional setter methods. | |
Base class for local and remote room participants.
|
protectedpure virtual |
Implemented in livekit::LocalParticipant, and livekit::RemoteParticipant.