sendMetaData abstract method
Sends media metadata.
If the metadata is sent successfully, the SDK triggers the onMetadataReceived callback on the receiver.
metadata
Media metadata. See Metadata.sourceType
The 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});