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

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

Public Attributes

std::string type
int64_t mindex
std::string mid
bool disabled
std::optional< std::string > codec
std::optional< std::string > description
bool moderated
bool simulcast

Detailed Description

Holds information about a single track.

Member Data Documentation

◆ codec

std::optional<std::string> privmx::endpoint::stream::StreamTrackInfo::codec

codec used by the track, if known

◆ description

std::optional<std::string> privmx::endpoint::stream::StreamTrackInfo::description

track description provided by its publisher

◆ disabled

bool privmx::endpoint::stream::StreamTrackInfo::disabled

determines whether the track is currently disabled by its publisher. A disabled track may have been paused or completely removed by the publisher.

◆ mid

std::string privmx::endpoint::stream::StreamTrackInfo::mid

media line ID of the track in the SDP

◆ mindex

int64_t privmx::endpoint::stream::StreamTrackInfo::mindex

index of the track's media line in the SDP

◆ moderated

bool privmx::endpoint::stream::StreamTrackInfo::moderated

determines whether the track has been muted by a moderator

◆ simulcast

bool privmx::endpoint::stream::StreamTrackInfo::simulcast

determines whether the track is sent using simulcast

◆ type

std::string privmx::endpoint::stream::StreamTrackInfo::type

type of the track (e.g. "audio", "video", "data")

  • audio means audioTrack
  • video means videoTrack
  • data means data channel

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