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

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

Inheritance diagram for privmx::endpoint::stream::Data:

Public Member Functions

 Data (DataType _type, const std::vector< std::string > &_streamIds, const std::string &_track)
virtual ~Data ()=default

Public Attributes

DataType type
const std::vector< std::string > streamIds
const std::string track

Detailed Description

Holds the content which a remote track delivers.

Read type to learn what arrived, then cast the struct to VideoData, AudioData, or PlainData.

Constructor & Destructor Documentation

◆ Data()

privmx::endpoint::stream::Data::Data ( DataType _type,
const std::vector< std::string > & _streamIds,
const std::string & _track )
inline

//doc-gen:ignore

◆ ~Data()

virtual privmx::endpoint::stream::Data::~Data ( )
virtualdefault

//doc-gen:ignore

Member Data Documentation

◆ streamIds

const std::vector<std::string> privmx::endpoint::stream::Data::streamIds

IDs of the remote Streams which the content comes from

◆ track

const std::string privmx::endpoint::stream::Data::track

ID of the track which delivered the content

◆ type

DataType privmx::endpoint::stream::Data::type

kind of the delivered content, which tells you the type to cast this struct to


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