What's the deinifition of `timestamp_us` in the r...
# ask-ai
a
What's the deinifition of
timestamp_us
in the received video frame
t
Thanks for reaching out, cc. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
The
timestamp_us
field in the received video frame is an integer that represents the timestamp of the video frame in microseconds. It is part of the
VideoFrameEvent
class, which also includes the fields
frame
and
rotation
. This timestamp is included in the event data when a frame is received through a
VideoStream
, and it can also be specified when capturing a frame using
VideoSource.capture_frame()
. Sources: livekit.rtc API documentation | livekit.rtc.video_stream API documentation