PrivMX Endpoint v2.8.0
Loading...
Searching...
No Matches
privmx::endpoint::stream::StreamSubscriber Struct Reference

#include <privmx/endpoint/stream/Types.hpp>

Public Attributes

std::string userId
std::vector< StreamSubscriptionsubscriptions
std::optional< StreamInfopublishedStream

Detailed Description

Holds information about a participant of a Stream Room. A participant may have no subscriptions and publish no Stream - such a participant is a Joiner, a user who has joined the Stream Room and can listen for the events about the Streams in it.

Member Data Documentation

◆ publishedStream

std::optional<StreamInfo> privmx::endpoint::stream::StreamSubscriber::publishedStream

Stream published by the participant, or no value if they publish nothing

◆ subscriptions

std::vector<StreamSubscription> privmx::endpoint::stream::StreamSubscriber::subscriptions

list of the participant's current subscriptions

◆ userId

std::string privmx::endpoint::stream::StreamSubscriber::userId

ID of the participant


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