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

#include <room_event_types.h>

Collaboration diagram for livekit::TrackSubscribedEvent:

Public Attributes

std::shared_ptr< Tracktrack
 
std::shared_ptr< RemoteTrackPublicationpublication
 
RemoteParticipantparticipant = nullptr
 

Detailed Description

Fired when a remote track is successfully subscribed.

Member Data Documentation

◆ participant

RemoteParticipant* livekit::TrackSubscribedEvent::participant = nullptr

Remote participant who owns the track (owned by Room).

◆ publication

std::shared_ptr<RemoteTrackPublication> livekit::TrackSubscribedEvent::publication

Publication associated with the track.

◆ track

std::shared_ptr<Track> livekit::TrackSubscribedEvent::track

Subscribed remote track.


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