Voice Gateway Serve Action (voice-gateway/serve.ts)

NemoClaw · voice, Voice / Speech, gateway, http, server, serve

Starts the HTTP server for the voice gateway, validates configuration, and manages lifecycle signals for graceful shutdown.

// Source: https://github.com/mperkins0155/NemoClaw | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
// SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
// SPDX-License-Identifier: Apache-2.0

import type { Server } from "node:http";

import { createVoiceGatewayServer } from "../../adapters/http/voice-gateway-server";
import {
  DEFAULT_VOICE_GATEWAY_LISTEN_PORT,
  VOICE_GATEWAY_DEPLOYMENT_CREDENTIAL_FD,
  VOICE_GATEWAY_FEATURE_ENV,
  VOICE_GATEWAY_LISTEN_ADDRESS,
  VOICE_GATEWAY_OPENCLAW_CREDENTIAL_FD,
  type VoiceGatewayDiagnostic,
} from "../../voice-gateway/contracts";
import { readPrivateBearerDescriptors } from "../../voice-gate

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search 40K more like it.

Get a free API key