|
LiveKit C++ Client SDK v1.12.2
Real-time audio/video/data SDK for C++
|
One complete pre-encoded video access unit. More...
#include <encoded_video_source.h>
Public Attributes | |
| bool | is_keyframe = false |
| True if this access unit is independently decodable. | |
| std::uint32_t | width = 0 |
| Encoded frame width in pixels. | |
| std::uint32_t | height = 0 |
| Encoded frame height in pixels. | |
| std::int64_t | timestamp_us = 0 |
| Capture timestamp in microseconds. Set to zero to use the current time. | |
| std::vector< std::uint8_t > | data |
| Complete encoded access-unit payload. | |
| std::optional< VideoFrameMetadata > | metadata |
| Optional packet-trailer metadata. | |
One complete pre-encoded video access unit.
| std::uint32_t livekit::EncodedVideoSource::Frame::height = 0 |
Encoded frame height in pixels.
Set both width and height to zero to use the source resolution.
| std::uint32_t livekit::EncodedVideoSource::Frame::width = 0 |
Encoded frame width in pixels.
Set both width and height to zero to use the source resolution.