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

A single video frame event delivered by VideoStream::read(). More...

#include <video_stream.h>

Collaboration diagram for livekit::VideoFrameEvent:

Public Attributes

VideoFrame frame
 
std::int64_t timestamp_us
 WebRTC frame timestamp in microseconds.
 
VideoRotation rotation
 
std::optional< VideoFrameMetadatametadata
 

Detailed Description

A single video frame event delivered by VideoStream::read().

Member Data Documentation

◆ timestamp_us

std::int64_t livekit::VideoFrameEvent::timestamp_us

WebRTC frame timestamp in microseconds.

This may be translated onto WebRTC's internal capture-time timeline and should not be expected to match application-provided metadata such as VideoFrameMetadata::user_timestamp_us exactly.


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