Mentra Live has microphone input and speaker playback support.
Microphone Input
UsesetMicState when your app wants microphone audio from the connected glasses or phone microphone path.
enabled turns microphone capture on or off. useGlassesMic selects the glasses microphone when true, or the phone microphone when false.
Microphone audio events are emitted continuously from the selected microphone path while capture is enabled. The SDK does not apply phone-side Voice Activity Detection gating to PCM or LC3 events. Glasses-side Voice Activity Detection can be enabled or disabled with setVoiceActivityDetectionEnabled(...); the current setting is reported through voice_activity_detection_status. Mentra Live’s center-microphone loudness gate (“Barrier”) is controlled separately with setLoudnessGateEnabled(...). When supported by the connected glasses, speaking_status reports whether the glasses currently detect speech. Microphone events also include the latest voiceActivityDetectionEnabled value.
- React Native
- Android
- iOS
Local Transcription
- React Native
- Android
- iOS
Microphone Audio Events
React Native can listen for microphone PCM events. PCM events are self-describing so apps can pass the buffer directly to STT, WAV writing, or playback code without reading native SDK sources:mic_pcm emits continuous 16 kHz, 16-bit, mono, signed little-endian PCM while microphone capture is enabled.
mic_lc3 emits SDK-encoded LC3 frames with sampleRate, channels, frameDurationMs, frameSizeBytes, bitrate, packetizedFromGlasses, and voiceActivityDetectionEnabled. For SDK-encoded LC3 events, packetizedFromGlasses is false: the SDK decodes glasses microphone LC3 and re-encodes it to the SDK’s canonical LC3 output format before emitting app-facing LC3 events.
Native Android and iOS apps receive MicPcmEvent and MicLc3Event objects with the same metadata through the SDK listener/delegate surfaces. Disable microphone audio callbacks when the app finishes using them.
Voice Activity Detection
Voice Activity Detection means the glasses firmware is detecting whether the microphone signal currently contains speech. Use it as a signal, not as a replacement for microphone capture:setVoiceActivityDetectionEnabled(false)disables VAD packet suppression. App-facing PCM and LC3 remain continuous for external STT, recording, and voice-agent use.voice_activity_detection_statusreports whether glasses-side Voice Activity Detection is enabled.speaking_statusreports the current speaking/not-speaking state when the connected glasses provide it.
Quiet Audio Barrier
setLoudnessGateEnabled(enabled) controls Mentra Live’s center-microphone
loudness gate, also called Barrier:
- When enabled, quiet input is represented as silence while audio frames continue. This preserves a continuous audio timeline for voice agents.
- When disabled, quiet center-microphone input passes through unchanged.
- The standalone public Bluetooth SDK default is enabled. The Mentra App manages separate persisted OS-level microphone preferences.
- The SDK retains the setting and reapplies it when Mentra Live reconnects.
Mentra Live Speaker Playback
Mentra Live uses two Bluetooth paths:- The SDK’s BLE connection controls glasses features and receives device events.
- The phone OS’s Bluetooth media connection carries speaker audio from the phone to the glasses.
- React Native
- Android
- iOS
setOwnAppAudioPlaying(true) does not route audio by itself. It tells the SDK that your app is playing audio so the Mentra Live microphone path can avoid conflicting with speaker playback. Set it back to false when playback finishes or stops.
Mentra Live Media Volume
Mentra Live exposes step-based media volume helpers where supported:- React Native
- Android
- iOS
Production Notes
- Always provide a user-visible microphone permission explanation.
- Let users disable microphone streaming.
- For Mentra Live speaker features, explain that users may need to pair/select the glasses as the phone’s Bluetooth media output.
- Expect model availability to differ by platform, locale, and app configuration.
- Keep cloud upload and retention policies explicit in your privacy disclosures.
- Disable microphone audio callbacks when the app finishes using them.

