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. 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)keeps app-facing PCM and LC3 audio continuous for external STT, recording, and playback.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.
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.

