#include <stream/webrtc/include_pub/privmx/endpoint/stream/webrtc/OnTrackInterface.hpp>
|
| | Data (DataType _type, const std::vector< std::string > &_streamIds, const std::string &_track) |
| virtual | ~Data ()=default |
Holds the content which a remote track delivers.
Read type to learn what arrived, then cast the struct to VideoData, AudioData, or PlainData.
◆ Data()
| privmx::endpoint::stream::Data::Data |
( |
DataType | _type, |
|
|
const std::vector< std::string > & | _streamIds, |
|
|
const std::string & | _track ) |
|
inline |
◆ ~Data()
| virtual privmx::endpoint::stream::Data::~Data |
( |
| ) |
|
|
virtualdefault |
◆ 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: