|
LiveKit C++ SDK
Real-time audio/video SDK for C++
|
#include <room_event_types.h>

Public Attributes | |
| std::vector< std::uint8_t > | data |
| DataPacketKind | kind = DataPacketKind::Reliable |
| RemoteParticipant * | participant = nullptr |
| std::string | topic |
Fired when a user data packet (non-SIP) is received.
| std::vector<std::uint8_t> livekit::UserDataPacketEvent::data |
Payload data.
| DataPacketKind livekit::UserDataPacketEvent::kind = DataPacketKind::Reliable |
Delivery kind (reliable or lossy).
| RemoteParticipant* livekit::UserDataPacketEvent::participant = nullptr |
Remote participant that sent this packet, or nullptr if server (owned by Room).
| std::string livekit::UserDataPacketEvent::topic |
Optional topic associated with this data (may be empty).