## 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/站点使用方式继续支持。
8.1 KiB
Advanced network checks
English · 简体中文 · Troubleshooting
Start with the basic connection checks. If you still cannot connect, choose what matches:
- The same invite works in another browser: browser restrictions.
- The same invite works on a hotspot: connection options.
- Friends in another location cannot reach your local invitation: connect through a virtual LAN.
- Logs mention STUN, or you manage the router: discovery and router checks.
If a public-invitation page will not open or video plays but blurs or stutters, 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). The Host turns off Privacy mode so forwarding can be tried if direct connections fail. For App capture, approve the new site, then send its invitation.
- No usable forwarding site, and direct media still will not connect: 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.tvand 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.
- Open the same invitation in a browser profile with default settings and no relevant privacy extensions.
- If it works, check WebRTC or IP-leak protection in the original browser and restore a policy that allows WebRTC UDP.
- Reload Piik and retry sharing or viewing. School/company-managed settings need an administrator's review.
Chrome / Vivaldi settings
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 and Vivaldi's privacy settings.
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.
STUN discovery and settings
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 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 explains discovery.
Check IPv6 connectivity
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.
Router mappings and shared addresses
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 and double NAT.
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: 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: 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): use the general-purpose LAN option and join the same room. In Piik, select the Host's UU virtual IPv4 address.
- Join the same network. The Host and friends run the tool and join the same virtual LAN.
- 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.
- Send the complete invitation. Friends open the HTTPS invitation on that virtual IP. On first access, confirm the local certificate with the Host before entering. Do not send
localhostor only a room code. - 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 for that virtual network.
- Page opens, media will not connect: check that the tool carries media UDP and review browser WebRTC settings.
- Microphone or remote control is unavailable: use the App-generated HTTPS invitation, confirm its certificate, then check browser permissions. Supporting browsers can use these features without a public tunnel, just as on an ordinary LAN.
Join only with trusted friends.
Use frp with an existing server
For administrators with a public server, the frp recipe forwards an existing site's web and SFU endpoints through frps. Configure both web and media forwarding.
If the issue persists, collect reports from the same attempt.