#include <stream/webrtc/include_pub/privmx/endpoint/stream/webrtc/OnTrackInterface.hpp>
Public Member Functions | |
| virtual int | ConvertToRGBA (uint8_t *dst_argb, int dst_stride_argb, int dest_width, int dest_height)=0 |
Holds a single video frame.
|
pure virtual |
Converts the frame into an RGBA image.
| dst_argb | buffer to write the image to |
| dst_stride_argb | number of bytes between the beginnings of two consecutive rows of the buffer |
| dest_width | width of the resulting image in pixels |
| dest_height | height of the resulting image in pixels |