registerMediaMetadataObserver method Null safety

Future<void> registerMediaMetadataObserver()

Registers the metadata observer.

This method enables you to add synchronized metadata in the video stream for more diversified live broadcast interactions, such as sending shopping links, digital coupons, and online quizzes.

Note Call this method before the RtcEngine.joinChannel method.

Implementation

@override
Future<void> registerMediaMetadataObserver() {
  return _invokeMethod('registerMediaMetadataObserver');
}