canShareAudio property

FutureOr<bool> get canShareAudio

Indicates whether this platform supports system audio capture.

Implementation

static FutureOr<bool> get canShareAudio {
  if (_systemAudioCaptureIsAvailable != null) {
    return _systemAudioCaptureIsAvailable ?? false;
  }

  return Future(() async {
    return _systemAudioCaptureIsAvailable = await webrtc
        .systemAudioCaptureIsAvailable();
  });
}