跳到内容

tlloancy Turn Relay

v1.1.0

Thomas Lloancy · 2026年11月12日 上架

Issues short-lived TURN credentials for a shared coturn server. An optional card can share a STUN address or a credential endpoint.

正在使用
10 以下
评分
暂无
累计下载
172
最近更新
2026年11月13日
需要 WordPress 6.2+已测试到 7.1.5PHP 8.1+

贡献者

WebRTC in the browser needs ICE servers. STUN discovers a public address. TURN relays the media when a direct path is impossible. coturn does that work. This plugin does not.

tlloancy Turn Relay signs a username and a password that coturn accepts for a limited time (use-auth-secret). The shared secret stays on the server. Callers receive iceServers for RTCPeerConnection and leave iceTransportPolicy at all.

Other plugins, including a video plugin, call tlloancy_turn_relay_get_ice_servers() when a call starts. They do not collect a TURN host of their own.

Publication is off until you turn it on. A published card is JSON. It never contains the shared secret.

  • STUN only — the card lists a stun: URL.
  • Shared — the card also lists the credential endpoint. Another site must present an invitation token.
  • Private — the card contains the class and nothing else.

You can paste another site’s card URL. Private and loopback addresses are refused. The admin drawing measures latency in your browser with RTCPeerConnection. A figure advertised by the remote card is ignored.

Step-by-step guides: docs/USER-GUIDE.md (English) and docs/MODE-DEMPLOI.md (French).

External services

Nothing is contacted when you only issue credentials for your own coturn host.

If an administrator pastes a card URL, the server fetches that HTTPS URL once. The request sends no secret and no visitor data. The response is limited to 8 KB and redirects are not followed.

If an administrator then enables “During a call” on a shared node and stores that node’s invitation token, a call requests credentials from that node’s endpoint. The request sends the invitation token. It does not send your shared secret or the contents of the call. At most two nodes are asked.

The diagnostics buttons resolve your own TURN host and open a TCP connection to its TLS port. They run only when an administrator clicks them.

Issue a test credential also prints a QR code. The code opens a page on this site. That page runs the TURN test in the phone’s browser with a credential that expires in five minutes. The shared secret is not in the link.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums