|
Agora RTC Objective-C API Reference
Refactor
|
Inherits <NSObject>.
Instance Methods | |
| (NSInteger) | - metadataMaxSize |
| (NSData *_Nullable) | - readyToSendMetadataAtTimestamp:sourceType: |
The definition of the AgoraMediaMetadataDataSource protocol.
|
required |
Occurs when the SDK requests the maximum size of the metadata.
After successfully complete the registration by calling setMediaMetadataDelegate:withType:, the SDK triggers this callback once every video frame is sent. You need to specify the maximum size of the metadata in the return value of this callback.
buffer of the metadata that you want to use. The highest value is 1024 bytes. Ensure that you set the return value.
|
required |
Occurs when the SDK is ready to send metadata.
This callback is triggered when the SDK is ready to send metadata.
metadataMaxSize callback.| timestamp | The timestamp. |
| sourceType | Video data type. See AgoraVideoSourceType. |
uid: The ID of the remote user who sends the metadata.size: The size of the metadata.buffer: The metadata data.timeStampMs: The NTP timestamp (ms) when the metadata is sent.