Agora RTC Objective-C API Reference  Refactor
Properties
AgoraMetadata Class Reference

Inherits <NSObject>.

Properties

NSString *_Nonnull channelId
 
NSInteger uid
 
NSData *_Nonnull data
 
NSTimeInterval timestamp
 

Detailed Description

The AgoraMetadata class, which reports the metadata of the received video frame.

Property Documentation

◆ channelId

- (NSString* _Nonnull) channelId
readwritenonatomiccopy

The channel ID of the metadata.

◆ uid

- (NSInteger) uid
readwritenonatomicassign

The User ID that sent the metadata.

◆ data

- (NSData* _Nonnull) data
readwritenonatomicstrong

The received metadata.

◆ timestamp

- (NSTimeInterval) timestamp
readwritenonatomicassign

The NTP timestamp (ms) when the metadata is sent.

Note
If the receiver is audience, the receiver cannot get the NTP timestamp (ms).