LiveKit C++ Client SDK v1.4.0
Real-time audio/video/data SDK for C++
Loading...
Searching...
No Matches
livekit::VideoFrameMetadata Struct Reference

Optional packet-trailer metadata carried alongside a video frame. More...

#include <video_source.h>

Public Attributes

std::optional< std::uint64_t > user_timestamp_us
 User-supplied capture time in microseconds.
 
std::optional< std::uint32_t > frame_id
 Monotonically increasing frame identifier.
 
std::optional< std::vector< std::uint8_t > > user_data
 Free-form data to attach to the frame.
 

Detailed Description

Optional packet-trailer metadata carried alongside a video frame.

Each field is independently optional. Enable the corresponding features in TrackPublishOptions before publishing the track.


The documentation for this struct was generated from the following file: