enableFakeMedia function

Future<void> enableFakeMedia()

Configures media acquisition to use fake devices instead of actual camera and microphone.

This must be called before any other function to work properly.

Implementation

Future<void> enableFakeMedia() async {
  if (api != null) {
    await api!.enableFakeMedia();
  }
}