#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 |
Describes a remote track of a Stream you subscribe to.
| DataType privmx::endpoint::stream::Track::kind |
kind of content which the track delivers
| bool privmx::endpoint::stream::Track::muted |
determines whether the track is muted locally
| 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.
| std::string privmx::endpoint::stream::Track::trackId |
ID of the track
| 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.