页面代码没有启动。

直接从文件夹打开 index.html 会阻止 JavaScript 模块加载,所以选择a microphone后不会有任何反应。 请改用 http 方式提供此目录:

powershell -ExecutionPolicy Bypass -File serve.ps1

Then open http://localhost:8080/.

本地对讲机

建个频道,按住说话或免提;局域网直连或走云中转。

Version: 20e7f94b47
About the tool version
查看源码
默认直连语音。需要时可选云中转。不录音。

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.

可用连接

Discovering in: 局域网
使用私密分组

Create a group code and share it with your other devices, or enter a code you received. The same code works across all five Connect Devices tools; each page lists its own kind of connection.

Anyone with the code can find sessions offered to this group. Group sessions are not listed on the local network. Passwords and host approval still apply. Codes stay in this open page; re-enter yours after reloading. For devices on different networks, the host should choose Cloud relay.

图标含义
  • Direct — connects between devices.
  • Cloud relay — connects through an encrypted internet relay.
  • 需要密码。
  • 无需密码。主机可能仍要求批准。
  • 需要主机批准。
  • 主机可能要求批准。
连接

Keep internet access available on both devices for discovery and pairing. Direct local connections need a reachable shared network; Cloud relay can connect devices on different networks.

用 Wi-Fi 或手机热点

  1. Turn on Personal Hotspot on an iPhone, or Wi-Fi hotspot on an Android phone, in the phone’s settings.
  2. Connect the other device to that hotspot from its Wi-Fi settings. Keep internet access available on both devices for nearby discovery and pairing.
  3. Open this tool on both devices and choose Join beside the expected connection. Enter a password or wait for host approval if required. If it is missing, use the host’s link or code.

The network must allow devices to reach each other. Some hotspots, guest networks, VPNs and managed devices block direct connections. Finding a nearby entry does not prove it is reachable or trusted. This page cannot turn on a hotspot.

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

    连接

    Content travels directly between your devices. This choice never switches to a relay automatically.

    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.