getMediaDeviceManager method

  1. @override
TUIRoomDeviceManager getMediaDeviceManager()
override

12.5 Get media device manager

Implementation

@override
TUIRoomDeviceManager getMediaDeviceManager() {
  if (_deviceManager == null) {
    _engineNative.getMediaDeviceManager();
    _deviceManager = TUIRoomDeviceManagerImpl();
  }
  return _deviceManager!;
}