muteAudio property

bool muteAudio
final

If true, this will mute all audio streams like alarms, music, ring, ...

This is useful when you want to record audio without any background noise.

The streams are restored to their previous state after recording is stopped and will stay at current state on pause/resume.

Use at your own risks!

Implementation

final bool muteAudio;