sendMetaData abstract method
Sends media metadata.
If the metadata is sent successfully, the receiver receives the onMetadataReceived callback.
metadataThe media metadata. See Metadata.sourceTypeThe type of 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. See Error Codes for details and resolution suggestions. < 0: The method call fails. See Error Codes for details and resolution suggestions.
Implementation
Future<void> sendMetaData(
{required Metadata metadata, required VideoSourceType sourceType});