/mwdat-android:audio-streamingfrom mwdat-android
Configures and collects synchronized PCM audio frames alongside Camera Stream on Android. Covers permissions, codec setup, and stream lifecycle.
Ships in mwdat-android. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Audio Streaming is an experimental extension of Camera Stream, not a separate capability. Follow the camera-streaming skill for session and Camera setup, then add audio configuration and collection.
The app needs Camera and Audio Streaming approval in Wearables Developer Center plus both Permission.CAMERA and Permission.MICROPHONE. Check first and launch permission requests only after a user action.
Set a non-null codec in StreamConfiguration:
val configuration = StreamConfiguration(
audioCodec = AudioCodec.PCM(
sampleRate = AudioSampleRate.RATE_16000,
numberOfChannels = 1,
),
videoQuality = VideoQuality.MEDIUM,
frameRate = 24,
)
Pass this configuration to addCamera using the Camera Streaming flow. Then collect audio before starting its Stream:
audioJob = lifecycleScope.launch(Dispatchers.IO) {
camera.stream.audioStream.collect { frame ->
consumePCM(frame.buffer, frame.presentationTimeUs)
}
}
camera.stream.start().onFailure { error, _ -> showError(error.description) }
Supported sample rates are 16,000, 44,100, and 48,000 Hz. Configure downstream processing with the same rate and channel count. Use presentationTimeUs to preserve order or align audio with video. Process PCM off the main thread because slow collectors can drop frames.
Audio shares Stream state and errors. A microphone denial is surfaced as a stream permission failure; do not model a separate audio lifecycle.
Cancel audio and any other Stream collectors before calling camera.stop(). Stopping Camera cascades to its Stream, and the instances cannot be restarted.
MockDeviceKit can negotiate an audio-enabled Camera stream, but it does not provide a public deterministic audio-frame injection API. Do not assume mock PCM frames will arrive.
Audio Streaming is experimental. Apps can use it for development and beta testing, but cannot publish it to production release channels yet.
What SKILL.md sets; muted values are Claude Code's defaults
18 skills in this plugin
/camera-captureCapture standalone high-quality photos from connected glasses on Android/camera-streamingSession and Stream capability setup, video frames, photo capture, resolution and frame rate configuration/dat-conventionsKotlin patterns, DatResult, session and capability conventions for DAT SDK Android development/dat-docs-mcpUse the Wearables DAT MCP server for live DAT documentation search with `search_dat_docs`, Muse Code, Claude Code, Codex, Cursor, and MCP Inspectornpx claudepluginhub meta/meta-wearables-dat-android --plugin mwdat-androidOther plugins' skills for the same job