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


Public Member Functions | |
| PlainData (const std::vector< std::string > &_streamIds, const std::string &_track, const core::Buffer &_data, const uint64_t &_seq, bool _binary, const uint64_t &_statusCode) | |
| Public Member Functions inherited from privmx::endpoint::stream::Data | |
| Data (DataType _type, const std::vector< std::string > &_streamIds, const std::string &_track) | |
| virtual | ~Data ()=default |
Public Attributes | |
| core::Buffer | data |
| uint64_t | seq |
| bool | binary |
| uint64_t | statusCode |
| Public Attributes inherited from privmx::endpoint::stream::Data | |
| DataType | type |
| const std::vector< std::string > | streamIds |
| const std::string | track |
Holds a decrypted message delivered by a remote data track.
|
inline |
//doc-gen:ignore
| bool privmx::endpoint::stream::PlainData::binary |
determines whether the sender sent the message as binary data rather than as text
| core::Buffer privmx::endpoint::stream::PlainData::data |
content of the message
| uint64_t privmx::endpoint::stream::PlainData::seq |
sequence number of the message, which grows with every message the sender sends
| uint64_t privmx::endpoint::stream::PlainData::statusCode |
status code of decryption of the message. A value other than 0 means that the message failed to decrypt or that its data integrity has been violated.