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

#include <stream/webrtc/include_pub/privmx/endpoint/stream/webrtc/OnTrackInterface.hpp>

Public Attributes

DataType kind
std::vector< std::string > streamIds
std::string trackId
bool muted
std::function< void(bool)> updateMute

Detailed Description

Describes a remote track of a Stream you subscribe to.

Member Data Documentation

◆ kind

DataType privmx::endpoint::stream::Track::kind

kind of content which the track delivers

◆ muted

bool privmx::endpoint::stream::Track::muted

determines whether the track is muted locally

◆ streamIds

std::vector<std::string> privmx::endpoint::stream::Track::streamIds

IDs of the remote Streams which the track belongs to. The data tracks carry no Stream IDs.

◆ trackId

std::string privmx::endpoint::stream::Track::trackId

ID of the track

◆ updateMute

std::function<void(bool)> privmx::endpoint::stream::Track::updateMute

mutes and unmutes the track for the local user only. It changes nothing for the other participants and the data tracks ignore it.


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