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


Public Member Functions | |
| VideoData (const std::vector< std::string > &_streamIds, const std::string &_track, const int64_t _w, const int64_t _h, std::shared_ptr< Frame > _frameData) | |
| 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 | |
| const int64_t | w |
| const int64_t | h |
| std::shared_ptr< Frame > | frameData |
| Public Attributes inherited from privmx::endpoint::stream::Data | |
| DataType | type |
| const std::vector< std::string > | streamIds |
| const std::string | track |
Holds a video frame delivered by a remote track.
|
inline |
//doc-gen:ignore
| std::shared_ptr<Frame> privmx::endpoint::stream::VideoData::frameData |
the frame itself, which you convert to an image with Frame::ConvertToRGBA
| const int64_t privmx::endpoint::stream::VideoData::h |
height of the frame in pixels
| const int64_t privmx::endpoint::stream::VideoData::w |
width of the frame in pixels