sendMetaData abstract method
Sends media metadata.
If the metadata is sent successfully, the SDK triggers the onMetadataReceived callback on the receiver.
metadataMedia metadata. See Metadata.sourceTypeThe type of the video source. See VideoSourceType.
Returns When the method call succeeds, there is no return value; when fails, the AgoraRtcException exception is thrown. You need to catch the exception and handle it accordingly. < 0: Failure.
Implementation
Future<void> sendMetaData(
{required Metadata metadata, required VideoSourceType sourceType});