## Problem and outcome / 问题与结果 App authorization could stay busy after a stalled save, a pending microphone request could survive a capture-source handoff, and compact room controls could lose focus, position or readable names. This maintenance phase corrects those owners and makes connection help easier to find. ## Verification / 验证 Validation: the exact candidate tree passed all 1,943 Web tests and documentation checks. Its unchanged product source has passed TypeScript and a production Web build. Controlled UI checks cover delayed microphone permission, stalled approval responses, keyboard viewport changes, rapid floating-panel hide/show and narrow nickname layouts. Published 2.x wire, native control and storage contracts are unchanged. ## Impact / 影响 Compatible 2.x maintenance release. Existing App, site and persisted room contracts are retained. Matching packages, download mirrors and both managed sites are verified through the normal release workflow. ## Release notes **Piik, now in your pocket.** Piik App supports Android screen sharing, with touch controls for a friend's computer. **手机,也能开播。** Piik App 支持 Android 屏幕分享,也能用手机控制朋友的电脑。 ### English This maintenance update improves App authorization, capture-source switching and controls on smaller screens. - Fix commentary controls remaining busy after switching from Browser capture to the App. - Let App site approval recover from a stalled save, keeping access already granted. - Preserve numeric-input focus when the mobile keyboard resizes the page, and provide increase/decrease buttons. Keep interaction windows at their remembered position after rapid hide/show actions. - Give nicknames readable space on smaller screens, while retaining edit controls and accessible labels. Keep launcher diagnostics inside the shared Help menu. - Make room-connection help easier to find, and clarify Safari screen-sharing and sound support. - Complete package mirroring after a later CI publication step fails, and verify managed-service deployments against the intended source revision. This maintenance update preserves the established 2.x room, invitation, media, App-control and storage contracts. Refresh a site's open pages after it is updated. App-local users need the updated App bundle to receive its included Web fixes. Existing compatible 2.x App/site workflows remain supported. ### 中文 本次维护更新改善 App 授权、切换分享源和小屏操作。 - 修复浏览器切换为 App 采集后,分享麦克风控制一直处于忙碌状态的问题。 - App 站点授权不再因保存卡住而一直转圈;可以重试,已批准的授权也会保留。 - 手机键盘改变页面尺寸时保留数字输入焦点,并提供增减按钮;互动窗口快速隐藏再打开后保留记忆位置。 - 小屏上为昵称保留可读空间,同时保留编辑入口与无障碍名称;启动页诊断统一收进帮助菜单。 - 更容易找到房间连接问题的排查入口,并说明 Safari 屏幕分享与声音的支持情况。 - 发布流程后续步骤失败时,仍可补全已经发布的程序包镜像;部署核验明确比对预期源码版本。 本维护更新保留既有 2.x 房间、邀请、媒体、App 控制与存储契约。 站点更新后请刷新已打开的网页;App 本地使用者需更新程序包,才能使用其中的新网页修复。 已有兼容的 2.x App/站点使用方式继续支持。
140 lines
8.1 KiB
Markdown
140 lines
8.1 KiB
Markdown
# Advanced network checks
|
|
|
|
English · [简体中文](./network.zh-CN.md) · [Troubleshooting](./troubleshooting.md)
|
|
|
|
Start with the [basic connection checks](./troubleshooting.md#common-problems).
|
|
If you still cannot connect, choose what matches:
|
|
|
|
- **The same invite works in another browser:** [browser restrictions](#browser-webrtc-restrictions).
|
|
- **The same invite works on a hotspot:** [connection options](#campus-networks-and-strict-nat).
|
|
- **Friends in another location cannot reach your local invitation:** [connect through a virtual LAN](#optional-a-virtual-lan).
|
|
- **Logs mention STUN, or you manage the router:** [discovery and router checks](#stun-ipv6-and-router-checks).
|
|
|
|
If a [public-invitation page will not open](./troubleshooting.md#public-invitation-fails-or-shows-1033)
|
|
or [video plays but blurs or stutters](./troubleshooting.md#picture-blurs-stutters-or-stops), follow that symptom instead.
|
|
|
|
Web pages and chat use a separate connection from picture and sound:
|
|
|
|

|
|
|
|
## Campus networks and strict NAT
|
|
|
|
**Open the same invitation on a phone hotspot first.** If it works there but not
|
|
on the original network, investigate that network's shared gateway or firewall.
|
|
|
|
For regular use, choose an option that fits your group:
|
|
|
|
- **You have a Piik site:** ask its operator to [enable server media forwarding (SFU)](../operations/self-hosting.md#optional-media-fallback). The Host turns off **Privacy mode** so forwarding can be tried if direct connections fail. For App capture, [approve the new site](./getting-started.md#use-app-with-an-existing-site), then send its invitation.
|
|
- **No usable forwarding site, and direct media still will not connect:** a [virtual LAN](#optional-a-virtual-lan) offers another path. Everyone joins the same virtual network, then uses the App's **Local room**.
|
|
- **The required connections are blocked:** use an available network or ask its administrator to review access.
|
|
|
|
> **Media requires UDP.** `demo.piik.tv` and App **Public invite** use P2P-only media.
|
|
> SFU forwarding requires a site with that feature enabled and a reachable UDP endpoint.
|
|
|
|
## Browser WebRTC restrictions
|
|
|
|
Browser WebRTC settings, VPNs and privacy extensions can block media UDP,
|
|
including the browser-to-App connection on the same computer.
|
|
|
|
1. Open the same invitation in a browser profile with default settings and no relevant privacy extensions.
|
|
2. If it works, check **WebRTC** or **IP-leak protection** in the original browser and restore a policy that allows WebRTC UDP.
|
|
3. Reload Piik and retry sharing or viewing. School/company-managed settings need an administrator's review.
|
|
|
|
<details>
|
|
<summary>Chrome / Vivaldi settings</summary>
|
|
|
|
`disable_non_proxied_udp` restricts UDP that does not use a proxy. Compare with
|
|
the browser default. Chrome extensions may control this policy without a visible
|
|
browser switch. Vivaldi provides **Settings → Privacy and Security → WebRTC IP
|
|
Handling → Broadcast IP for Best WebRTC Performance**.
|
|
|
|
Direct connections can expose network addresses to peers. Change the setting
|
|
that blocks UDP, keeping other privacy settings as needed. See
|
|
[Chrome's policy reference](https://developer.chrome.com/docs/extensions/reference/api/privacy#property-network)
|
|
and [Vivaldi's privacy settings](https://help.vivaldi.com/desktop/privacy/privacy-settings/).
|
|
|
|
</details>
|
|
|
|
## STUN, IPv6 and router checks
|
|
|
|
These checks are for App users reading logs and people who manage a site or router.
|
|
Only change the parts you manage.
|
|
|
|
<details>
|
|
<summary>STUN discovery and settings</summary>
|
|
|
|
STUN discovers the addresses devices can use to connect. App Public invite tries
|
|
several services; if discovery fails, replace the built-in addresses with
|
|
[`PIIK_STUN_URLS`](../standards/configuration.md#piik-app-configuration) before
|
|
starting Public invite. Site operators should check that `STUN_URLS` points to
|
|
reachable UDP services; an HTTP reverse proxy does not forward STUN.
|
|
|
|
Choose trusted services: they receive participants' public IP addresses. The
|
|
[WebRTC connection guide](https://webrtc.org/getting-started/peer-connections)
|
|
explains discovery.
|
|
|
|
</details>
|
|
|
|
<details>
|
|
<summary>Check IPv6 connectivity</summary>
|
|
|
|
When the provider, router and both devices have usable IPv6, Piik can try it
|
|
alongside IPv4. Keep IPv4 enabled too; IPv6 still obeys firewall rules.
|
|
Router menus vary; consult your manufacturer's
|
|
[IPv6 guidance](https://support.google.com/googlehome/answer/6361450).
|
|
|
|
</details>
|
|
|
|
<details>
|
|
<summary>Router mappings and shared addresses</summary>
|
|
|
|
Supported UPnP, PCP or NAT-PMP can let App's native media path request port
|
|
mappings; browser-only capture does not request them. If both modem and router
|
|
perform NAT, your model's bridge/AP-mode instructions may remove a layer.
|
|
Back up settings first. Carrier-grade NAT is upstream; ask your provider about
|
|
public IPv4 or IPv6.
|
|
|
|
See manufacturer guidance on [UPnP](https://support.google.com/googlehome/answer/6274337)
|
|
and [double NAT](https://www.tp-link.com/us/support/faq/3113/).
|
|
|
|
</details>
|
|
|
|
## Optional: a virtual LAN
|
|
|
|
If friends elsewhere cannot reach your local invitation, or direct media still
|
|
will not connect after the basic checks, try a virtual LAN. It connects your
|
|
devices so you can use Piik App's **Local room** instead of the public-invite path.
|
|
The tool must provide reachable virtual IPv4 addresses
|
|
and carry both web traffic and WebRTC UDP; acceleration limited to one game does
|
|
not suffice. Choose a tool available to everyone in your group:
|
|
|
|
- **[Tailscale](https://tailscale.com/docs/how-to/quickstart):** install it on each device and invite friends to the same private network (*tailnet*). In Piik, select the Host's Tailscale IPv4 address (`100.x.y.z`).
|
|
- **[ZeroTier](https://docs.zerotier.com/quickstart/):** join the same network ID on each device, then authorize those devices in its management console. In Piik, select the Host's assigned virtual IPv4 address.
|
|
- **[UU (Chinese guide)](https://uu.163.com/blog/lan-multiplayer-guide-net.html):** use the general-purpose LAN option and join the same room. In Piik, select the Host's UU virtual IPv4 address.
|
|
|
|

|
|
|
|
1. **Join the same network.** The Host and friends run the tool and join the same virtual LAN.
|
|
2. **Host selects its address.** In the updated Piik App, choose **Local room**, expand **Local invitation address**, select the tool's virtual IP, then enter the room and share.
|
|
3. **Send the complete invitation.** Friends open the HTTPS invitation on that virtual IP. On first access, [confirm the local certificate](./troubleshooting.md#local-https-certificate-warning) with the Host before entering. Do not send `localhost` or only a room code.
|
|
4. **Check picture and sound.** Everyone keeps the networking tool running; the Host also keeps Piik App running. If the virtual IP changes, the Host selects the new address and sends a new invitation.
|
|
|
|
If something fails, start with the first failing step:
|
|
|
|
- **Page will not open:** check [local invitations and firewall permissions](./troubleshooting.md#local-invitation-will-not-open) for that virtual network.
|
|
- **Page opens, media will not connect:** check that the tool carries media UDP and review [browser WebRTC settings](#browser-webrtc-restrictions).
|
|
- **Microphone or remote control is unavailable:** use the App-generated HTTPS invitation, confirm its certificate, then check [browser permissions](./troubleshooting.md#microphone-or-remote-controls-are-unavailable). Supporting browsers can use these features without a public tunnel, just as on an ordinary LAN.
|
|
|
|
Join only with trusted friends.
|
|
|
|
<details>
|
|
<summary>Use frp with an existing server</summary>
|
|
|
|
For administrators with a public server, the [frp recipe](../operations/self-hosting.md#optional-forward-an-existing-server-with-frp)
|
|
forwards an existing site's web and SFU endpoints through frps. Configure both
|
|
web and media forwarding.
|
|
|
|
</details>
|
|
|
|
If the issue persists, [collect reports](./troubleshooting.md#reporting-a-problem) from the same attempt.
|