MillicastSDK 2.0.0
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
millicast::FrameMetadata Struct Reference

#include <metadata.h>

Public Member Functions

 FrameMetadata ()=default
 
 FrameMetadata (FrameMetadata &&)=default
 
FrameMetadataoperator= (FrameMetadata &&)=default
 
 FrameMetadata (const FrameMetadata &)=delete
 
FrameMetadataoperator= (const FrameMetadata &)=delete
 

Public Attributes

std::vector< std::unique_ptr< SeiMessage > > sei_messages
 H264 Sei Messages extracted from the frame.
 
uint32_t rtp_timestamp
 This is the rtp timestamp of the frame from which this metadata was extracted. Use this along with VideoFrame::timestamp which is obtained from VideoRenderer::on_frame to truly synchronize metadata along with its frame.
 

Detailed Description

Metadata received on frames.

Constructor & Destructor Documentation

◆ FrameMetadata() [1/3]

millicast::FrameMetadata::FrameMetadata ( )
default

◆ FrameMetadata() [2/3]

millicast::FrameMetadata::FrameMetadata ( FrameMetadata &&  )
default

◆ FrameMetadata() [3/3]

millicast::FrameMetadata::FrameMetadata ( const FrameMetadata )
delete

Member Function Documentation

◆ operator=() [1/2]

FrameMetadata & millicast::FrameMetadata::operator= ( const FrameMetadata )
delete

◆ operator=() [2/2]

FrameMetadata & millicast::FrameMetadata::operator= ( FrameMetadata &&  )
default

Member Data Documentation

◆ rtp_timestamp

uint32_t millicast::FrameMetadata::rtp_timestamp

This is the rtp timestamp of the frame from which this metadata was extracted. Use this along with VideoFrame::timestamp which is obtained from VideoRenderer::on_frame to truly synchronize metadata along with its frame.

Remarks
even if you don't synchronize using the rtp timestamp, the difference is negligible ( ~< 5 ms)

◆ sei_messages

std::vector<std::unique_ptr<SeiMessage> > millicast::FrameMetadata::sei_messages

H264 Sei Messages extracted from the frame.

Remarks
this might contain unregistered data, pic timing, etc. We currently only have support for the user unregistered messages.

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