这个页面的代码没跑起来。

直接从文件夹里打开 index.html,浏览器会拦下 JavaScript 模块,于是你选好a microphone之后,页面不会有任何反应。改用 http 把这个文件夹提供出去:

powershell -ExecutionPolicy Bypass -File serve.ps1

然后打开 http://localhost:8080/。

Local Walkie-Talkie

Start a named channel, then hold to talk or speak hands-free. Connect directly on your local network, or choose Cloud relay for listeners over the internet.

版本: v2.0.6 · 1439a1c7a1
关于工具版本
语言: 简体中文
查看源码
Direct voice by default. Choose Cloud relay when needed. No recording.

Host and listen in your browser without installing anything. Internet access introduces the devices and helps them reconnect. Each listener has a separate encrypted WebRTC connection to the host. Direct uses no relay; Cloud relay sends encrypted audio through Cloudflare when both devices choose that route. New channels require host approval before listeners can hear audio. You can turn approval off before starting. Share invitations carefully.

实时检查: 检查中…

离线: 检查中…

The introduction service sees channel names, listed listener invitations, room identifiers, network addresses and timing, never audio. Cloudflare keeps seven-day invocation metadata logs. Optional Cloud relay also forwards encrypted audio and sees connection addresses, timing and traffic volume; it cannot decrypt the WebRTC audio. The tool never switches routes automatically.

Available connections

发现范围: 本地网络
使用私密群组

创建群组代码并分享给其他设备,或输入收到的代码。同一个代码适用于全部五种连接设备工具;每个页面只列出本工具支持的连接。

任何知道代码的人都能找到向此群组公开的会话。群组会话不会显示在本地网络列表中。密码和主机批准要求仍然有效。代码只保留在当前打开的页面中,重新加载后需要再次输入。不同网络的设备应由主机选择云中继。

图标含义
  • 直连——设备之间直接连接。
  • 云中继——通过加密的互联网中继连接。
  • 需要密码。
  • 不需要密码,仍可能需要主机批准。
  • 需要主机批准。
  • 主机可能要求批准。
连接

两台设备都需要保持互联网连接以进行发现和配对。本地直连需要双方可互通的共享网络;云中继可以连接不同网络的设备。

使用 Wi-Fi 或手机热点

  1. 在手机设置中开启 iPhone 的“个人热点”或 Android 的 Wi-Fi 热点。
  2. 在另一台设备的 Wi-Fi 设置中连接这个热点。两台设备都需保留互联网连接,以便发现附近设备和配对。
  3. 在两台设备上打开此工具,选择目标连接旁的“Join”。如有要求,请输入密码或等待主机批准。列表中没有目标时,请使用主机的链接或代码。

网络必须允许设备之间互通。有些热点、访客网络、VPN 和受管理设备会阻止直连。附近列表中出现条目,不代表它一定可连接或可信。此页面无法开启手机热点。

Looking for available connections…

    No channels are listed yet. Ask the host for a listener link, or start a channel below.

    Join to listen using the channel’s connection type. Your microphone stays off.

    One voice, several listeners

    Host

    One host speaks; everyone else listens. Use Direct on your local network, or choose Cloud relay to connect through the internet. Find a channel in Available connections or use its listener link.

    Join an available channel, or start your own.

    List this channel in your discovery scope, or turn this off to invite only by link.

    0 listeners connected

    连接

    内容直接在你的设备之间传输。此选项绝不会自动切换到中转。

    This page keeps your channel connected when hidden or locked, and hands-free talking continues while your browser allows it. Phones can still pause audio or suspend the page. After an interruption, return to the same tab; recovery keeps the invitation and leaves talking off. Use Resume microphone or Resume channel if shown. End broadcast closes this channel; the next start creates a new invitation.

    How devices connect

    Available connections lists both Direct and Cloud relay channels. Local network discovery groups devices by public IPv4 address or IPv6 subnet and website origin; shared gateways can include strangers and VPNs can hide physically nearby devices. Choose Private group and enter the same group code on each device to discover channels across networks. A private group lists channels only for people with that code, not in the local-network directory. Starting with Make this channel discoverable selected shares its name and listener invitation in your selected scope. Ending or losing the host connection removes the listing.

    An internet service introduces the browsers using connection metadata. Direct sends encrypted voice between them without a relay. If both devices choose Cloud relay, Cloudflare forwards encrypted audio and sees connection metadata and traffic volume, but cannot decrypt the audio. There is no recording feature.

    Direct needs a network where the devices can reach one another. Guest Wi-Fi, device isolation and some VPNs or firewalls can block it. Cloud relay is an explicit alternative that needs internet throughout; a failed connection never switches routes automatically.

    The host needs microphone permission and a secure page. Start with a small group, because each receiver uses its own connection from the host.

    Receivers wait for a missing host and check once a second while their pairing connection is open. Background tabs, sleeping devices, and an interrupted internet connection may reconnect more slowly.

    加入请求

    以 Markdown 查看

    How to open a local voice channel

    1. Start directly on this website. On the speaking device, keep Direct or explicitly choose Cloud relay, then choose Start channel and allow microphone access. Use the website's HTTPS address. There is no Python helper, download, account or installation.
    2. Invite listeners. Listeners check the route icon beside your channel in Available connections, then select Join on its row. For discovery across networks, enter the same private group code on both devices before the host starts. The group code does not change Direct reachability; choose Cloud relay on the host when a direct path is unavailable. Browsing alone does not connect. You can also share the listener link or QR code. Direct invitations join automatically; Cloud relay invitations require Join. Listening never asks for microphone access. Both sides need internet access for discovery and pairing, and Cloud relay also needs it for audio.
    3. Hold to talk or speak hands-free. Hold the Talk button, or focus it and hold Space. Release, leave the page or switch focus to release a physical hold. For hands-free speech, choose Start talking; it can continue with the page hidden while the browser allows. Choose Stop talking to stop, and check the displayed talking state before setting the device down. Microphone mute overrides both modes, and a microphone interruption clears hands-free speech. Listening starts automatically where permitted; Unmute starts sound if the browser blocks playback.
    4. Recover or end the channel. Receivers retry a temporarily missing host in place. If the microphone is interrupted, talking stops while the channel remains connected. Return to the page or choose Resume microphone to replace an ended microphone; then deliberately start talking again. If the page was suspended, it attempts to restore the same channel silently, with Resume channel as a fallback. End broadcast prevents automatic resumption and creates a fresh invitation on the next Start; Leave closes one listener. Keep the pages open; screen-lock continuity is not guaranteed.

    说得更细的版本

    如何在局域网广播语音 在浏览器开设语音频道,通过链接或附近发现邀请听众。默认直接连接;选择经 Cloudflare 转发的加密云中继时,听众需要明确确认。

    常见问题

    Do I need Python or a download?

    No. The host starts directly in this website and listeners open its link. Only the host requests microphone access.

    Does voice go through an internet server?

    Direct sends voice between the browsers without a relay. If the host chooses Cloud relay and the listener confirms Join, Cloudflare forwards encrypted WebRTC audio and sees connection metadata and traffic volume, but cannot decrypt the audio. The introduction service only exchanges setup and status.

    Does it work without internet?

    Internet access is required for new pairing and recovery. Healthy Direct audio may continue during a brief internet or introduction-service outage. Cloud relay needs internet for audio as well. A cached page alone cannot introduce new devices.

    Can a phone host the channel?

    Yes, if its browser supports microphone access and WebRTC on this HTTPS website. Healthy connections and hands-free speech can continue with the page hidden while the browser permits. Screen lock, browser suspension or operating-system interruptions may still stop them; try your actual phone before relying on background use. Phones can also listen without granting microphone access.

    How do listeners join?

    Check a channel’s route icon in Available connections, then select Join on its row, or open its listener link. Cloud relay invitations also require Join. Playback starts where permitted; Unmute starts sound if the browser requires an interaction. Listening never requests microphone access.

    Can we use a phone hotspot?

    A phone hotspot can work with Direct if it allows the devices to reach one another. Keep internet for discovery and pairing, and use the listener link or QR code if discovery misses the channel. Cloud relay can provide another route when both devices permit it; it requires an explicit choice and internet throughout.

    What happens when the host disappears?

    Receivers wait and check availability with a one-second target while active, keeping their mute choice. Hiding a healthy page does not deliberately disconnect it. A microphone interruption clears talking and keeps the pairing; an ended microphone can be replaced with Resume microphone or on returning to the page. If the browser suspends the page, returning tries to restore the same channel and invitation, with Resume channel as a fallback. Recovery leaves talking off. Background timers or service connection limits can delay retries. End broadcast stops receivers and prevents automatic resumption; the next channel uses a new invitation.

    How many listeners are supported?

    A channel admits up to ten listeners, including waiting connections. The host sends a separate audio stream to each. Actual capacity depends on its browser, device and network; ten is a limit, not a guarantee for every phone.

    Why can the same Wi-Fi fail?

    Guest isolation, firewalls, VPN routes or browser local-network permissions can block Direct. Try a reachable trusted network or explicitly start a new Cloud relay channel. Managed devices can restrict either route.