{"record":{"id":"b31117fb4a6af7e6","repo":"NousResearch/hermes-agent","slug":"this-runtime-does-not-support-microphone-recording","errorCode":null,"errorMessage":"This runtime does not support microphone recording.","messagePattern":"This runtime does not support microphone recording\\.","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"apps/desktop/src/app/chat/composer/hooks/use-mic-recorder.ts","lineNumber":175,"sourceCode":"          }\n        }\n\n        animationRef.current = window.requestAnimationFrame(tick)\n      }\n\n      tick()\n    } catch {\n      setLevel(0)\n    }\n  }\n\n  const start: MicRecorderHandle['start'] = async (options = {}) => {\n    if (recorderRef.current) {\n      return\n    }\n\n    if (!navigator.mediaDevices?.getUserMedia || typeof MediaRecorder === 'undefined') {\n      throw new Error(copy.microphoneUnsupported)\n    }\n\n    const permitted = await window.hermesDesktop?.requestMicrophoneAccess?.()\n\n    if (permitted === false) {\n      throw new Error(copy.microphoneAccessDenied)\n    }\n\n    let stream: MediaStream\n\n    try {\n      stream = await navigator.mediaDevices.getUserMedia({\n        audio: { echoCancellation: true, noiseSuppression: true }\n      })\n    } catch (error) {\n      throw micError(error, copy)\n    }\n","sourceCodeStart":157,"sourceCodeEnd":193,"githubUrl":"https://github.com/NousResearch/hermes-agent/blob/c896c09c42910c584c4c7d2325b58c14713ea42c/apps/desktop/src/app/chat/composer/hooks/use-mic-recorder.ts#L157-L193","documentation":"Error \"This runtime does not support microphone recording.\" thrown in NousResearch/hermes-agent.","triggerScenarios":"Thrown at apps/desktop/src/app/chat/composer/hooks/use-mic-recorder.ts:175 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Use a runtime that exposes microphone capture (desktop app or a browser with getUserMedia).","Type the message instead of using voice input on this platform."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"c896c09c42910c584c4c7d2325b58c14713ea42c","analyzedAt":"2026-08-14T17:18:01.089Z","schemaVersion":2},"datasetVersion":"2026-08-15T22:17:37.221Z"}