## Problem and outcome / 问题与结果 Bring Android into Piik's shared App workflow and make phone control usable without a separate Web UI. One signed APK covers ARM64 and x64; screen capture, room authority, routing, voice and site approval reuse the existing Go and Browser owners. Android opens the user's system browser rather than shipping an embedded browser. This phase also fixes capture replacement and encoding-clock failures, improves source-audio startup, contains recoverable input and transport failures, adds a bounded relay-volunteer setting and supports hostnames in `SFU_PUBLIC_IP`. The website separates desktop and mobile downloads, gives iOS users an online entry and aligns the bilingual installation guides. Related reports: #495, #499, #500, #501, #502 and #503. For #502, input execution failures now preserve authorization, and temporary target observations suspend rather than revoke it; the original Windows report remains open for candidate feedback. ## Release notes **Piik, now in your pocket.** Piik App now supports Android screen sharing, with touch controls for a friend's computer. **手机,也能开播。** Piik App 现已支持 Android 屏幕分享,也能用手机控制朋友的电脑。 ### English Piik v2.5.0 brings the App to Android and improves capture reliability, touch control and everyday startup. The existing 2.x compatibility baseline is unchanged. - **Android App:** share your screen, join room voice or control a supported computer. One APK supports ARM64 and x64, using your own browser and the same Piik interface. - **Phone controls:** use direct touch or a compact floating mouse with dragging, left/right buttons and a scroll wheel. Pinch to zoom and pan the picture while controlling. - **More reliable sharing:** keep video progressing through source and encoder-output changes, and improve low-bitrate recovery and stationary-screen keyframes. Correct Windows window-size handling and Linux NVENC settings; start optional source sound after video is ready. - **Smoother App entry:** retry failed startup in place, reopen the running room and retain the correct App connection when returning from the browser. Compress shared page assets to reduce loading traffic and keep microphone choices stable during ordinary page updates. - **Recovery stays local:** a rejected input or canceled source replacement no longer revokes remote-control permission. Full ICE candidate queues and failed audio-parameter updates retain healthy connections. A failed local room leaves the App and unrelated approved sites running. - **Connection settings:** relay volunteers can cap their downstream viewers. Self-hosted SFU setups can use a DNS hostname in `SFU_PUBLIC_IP`. - **Clearer help:** refine sharing-error guidance, preserve input-failure diagnostics without recording input content, and update the bilingual platform and network guides. Update both the App and your self-hosted site to use the new features. Android can control a supported computer; the Android device itself is not a controlled endpoint. If you previously installed a test APK, uninstall it once before installing this release: the official signing key is different. Uninstalling clears App-local site approvals and starred-site choices; browser settings remain in the browser. Later official releases can be installed over this one. ### 中文 Piik v2.5.0 带来 Android App,并改善采集稳定性、手机远控与日常启动体验。沿用现有 2.x 兼容基线。 - **Android App:** 分享手机画面、加入房间语音,或控制支持远控的电脑。一个安装包同时支持 ARM64 与 x64,使用自己的浏览器和熟悉的 Piik 界面。 - **手机远控:** 直接触摸操作,或展开小巧的悬浮鼠标,使用拖拽、左右键与滚轮;控制时也能双指缩放、移动画面。 - **分享更稳定:** 修复切换采集来源、编码输出时画面停止推进的问题,改善低码率恢复与静止画面的关键帧响应。修正 Windows 窗口尺寸处理和 Linux NVENC 设置,来源声音会在画面就绪后启动。 - **App 进出更顺畅:** 启动失败可原地重试,再次打开会回到正在运行的房间;从浏览器返回时保持连接到正确的 App。共用页面资源启用压缩,减少加载流量,麦克风选项不再随普通页面更新反复加载。 - **局部问题就地恢复:** 单次操作失败或取消换源不再撤销远控授权;ICE 候选队列满或音频参数调整失败时保留健康连接。本地房间故障不会连带停止 App 和其他已授权站点的分享。 - **连接设置:** 帮助转发的观众可设置承接人数上限;自部署 SFU 的 `SFU_PUBLIC_IP` 现在支持 DNS 主机名。 - **排查更直接:** 打磨分享失败提示,补充不记录输入内容的远控故障诊断,并更新中英文平台说明与网络指南。 使用新功能时,请一起更新 App 与自部署站点。Android 可作为控制端操作电脑,手机本身不作为被控端。 曾安装测试 APK 的用户需先卸载一次,再安装正式版,两者签名不同。卸载会清除 App 内的站点授权和收藏,浏览器设置仍保留在浏览器中;后续正式版可直接覆盖安装。 ## Verification / 验证 - Local full Web/type/build checks passed: 104 test files, 1,848 tests; the website and documentation builds passed. - Android full-App emulator acceptance covered real decoded screen sharing, concurrent 1080p/540p encoder allocation, live bitrate changes, stationary keyframes, Viewer departure, consent reuse/reentry and final capture-resource retirement. - A local universal release APK passed signing, package identity, version-code, ABI and non-debuggable checks using the permanent release key. GitHub Actions receives the same key through encrypted Secrets; manual candidate runs use a disposable candidate signer. - Windows real capture checks covered H264/VP8 window resizing and restoration. Source-audio startup and failure/close ordering passed focused runtime checks; Linux race checks passed. - Desktop/mobile website layouts were reviewed in English and Chinese, both themes, including grouped downloads, the iOS online entry and self-hosting links. - All three Server and six App candidate targets, including the signed Android universal APK, passed in https://github.com/TNTcraftHIM/Piik/actions/runs/40350004792. This uses the same release packaging path with publication disabled. - The complete network laboratory passed in https://github.com/TNTcraftHIM/Piik/actions/runs/40354253735: 43 expected scenario outcomes (37 media connections, six expected-unavailable controls), six negative controls, and complete process/network cleanup. - Recoverable-error checks cover real encrypted input replies and legacy opt-in, retained grants and held-key cleanup, real Windows target geometry recovery, candidate queue overflow, and audio-parameter retry on the existing edge. Android room failure and full shutdown use real launcher, control WebSocket and supervised-process checks; unrelated site resources remain intact. - The lifecycle fixes at `7eb04de373567cfe7aff2db6c93adf2a38e0b1aa` passed all nine package targets and Go/vulnerability/race/Web checks in https://github.com/TNTcraftHIM/Piik/actions/runs/40362794088, including macOS x64/ARM64 cgo and Android. Publication was skipped. - Final cross-review found and fixed the same candidate-overflow false failure in the SFU voice owner. Its real-Pion regression verifies the first 64 candidates remain queued, a valid answer drains them, and renegotiation succeeds. Independent reviews confirmed real SDP and authorization failures still propagate. - A real-browser before/after check reduced microphone enumeration from nine calls to one across eight ordinary Host rerenders. Changing the native client or switching to Browser capture still enumerates the new devices. The separate focused contribution #507 preserves input focus during queued floating-panel opening and is not attributed to this phase. - The verified Windows candidate and reproduction steps have been updated in #502. macOS/Linux physical-device coverage and iOS device acceptance keep their documented boundaries. ## Impact / 影响 - Planned release: **v2.5.0**; no public wire or storage version bump. - Android is a sharing and controlling endpoint, not a remotely controlled Android device. iOS is held outside this release. - New Android release target joins the existing complete-target, checksum, GitHub and Gitee artifact pipeline. Signing material stays outside Git; optional input SDKs/drivers are not bundled. - The owner authorized closure and publication after the final design review and acceptance checks. Restore the publication gate after the held focused contribution and merge this complete phase once; CI publishes only after its full checks and registered packages pass. - Current TODO, platform guidance, media/routing evidence and release operations retain their existing document owners; no additional audit ledger or changelog archive is introduced.
538 lines
30 KiB
Markdown
538 lines
30 KiB
Markdown
---
|
|
outline: 2
|
|
---
|
|
|
|
# Troubleshooting
|
|
|
|
English · [简体中文](./troubleshooting.zh-CN.md) · [Documentation](./README.md)
|
|
|
|
Find your symptom below. Try its checks in order and stop when it works.
|
|
If it persists, [save a diagnostic report](#reporting-a-problem) before refreshing.
|
|
|
|
## Common problems
|
|
|
|
Start at the first thing that fails:
|
|
|
|
| What you see | Check first |
|
|
| --- | --- |
|
|
| App does not open, or invitation will not load | [App and room entry](#opening-app-and-joining-a-room). |
|
|
| Source picker is missing or sharing will not start | [Source and capture checks](#starting-a-share). |
|
|
| Page opens, but the picture will not connect | [Media connection](#when-video-will-not-connect). |
|
|
| Picture blurs or stutters | [Picture quality](#picture-blurs-stutters-or-stops). |
|
|
| Phone fullscreen or playback controls are missing | [Fullscreen and controls](#fullscreen-or-playback-after-sleep). |
|
|
| Picture works, but no game/movie sound | [Source sound](#picture-but-no-source-sound). |
|
|
| Cannot hear a friend, or cannot use the microphone | [Room voice](#cannot-hear-someone-speaking) and [permissions](#microphone-or-remote-controls-are-unavailable). |
|
|
| Gamepad does not respond | [Gamepad checks](#gamepads). |
|
|
|
|
Leave [advanced network checks](./network.md) until the matching
|
|
symptom's simple checks have failed. Change one thing at a time.
|
|
|
|
|
|
## Opening App and joining a room
|
|
|
|
[Startup](#app-startup-fails-or-no-page-opens) · [Android installation](#android-apk-will-not-install) · [macOS](#macos-blocks-first-launch) ·
|
|
[Public invite / 1033](#public-invitation-fails-or-shows-1033) · [Local invitation](#local-invitation-will-not-open) ·
|
|
[Local certificate](#local-https-certificate-warning) · [Room code](#room-code-does-not-work) · [Room creation 403](#room-creation-returns-403)
|
|
|
|
### App startup fails, or no page opens
|
|
|
|
1. Read the reason on the launch page and in the terminal. If the App is still
|
|
running, copy its displayed address into your browser.
|
|
2. If Local mode lists several addresses, choose the adapter and IP that friends
|
|
can reach. See [Local invitation checks](#local-invitation-will-not-open).
|
|
3. If startup still fails, retry with **Debug launch** enabled and save the complete
|
|
error and an [App report](#reporting-a-problem).
|
|
|
|
### Android APK will not install
|
|
|
|
Download the APK from the [App installation steps](./getting-started.md#share-with-piik-app).
|
|
If Android asks, allow this browser or file manager to install the downloaded APK.
|
|
|
|
If installation reports a conflicting package or signature and you previously
|
|
installed a test build, uninstall that test App before installing the official
|
|
APK. The test build and official release use different signing keys. Uninstalling
|
|
clears App settings, including approved sites and the starred startup site;
|
|
browser settings are stored separately. Later official updates can be installed
|
|
over the existing official App.
|
|
|
|
### macOS blocks first launch
|
|
|
|
Current Mac builds are unsigned and unnotarized. To open one, verify the
|
|
download and allow this App through macOS's first-launch check:
|
|
|
|
1. Download the matching Mac ZIP from the project's Releases and compare its
|
|
SHA-256 with the checksum published for that release. In Terminal, run
|
|
`shasum -a256 ~/Downloads/piik-app-darwin-arm64.zip` (use `darwin-amd64` on Intel).
|
|
If it differs, download again rather than bypassing the warning.
|
|
2. Move the complete `Piik App.app` to Applications. Try opening it, then check
|
|
**System Settings → Privacy & Security → Open Anyway**, as described in
|
|
[Apple's first-launch guidance](https://support.apple.com/102445).
|
|
3. If **Open Anyway** is unavailable and the official ZIP's checksum matches,
|
|
you can remove the download quarantine from this App only, then reopen it:
|
|
|
|
```sh
|
|
xattr -dr com.apple.quarantine "/Applications/Piik App.app"
|
|
```
|
|
|
|
Use the App's actual path if you kept it elsewhere. Keep system-wide security
|
|
checks enabled.
|
|
|
|
### Public invitation fails or shows 1033
|
|
|
|
App **Public invite** uses Cloudflare Tunnel for its temporary web address.
|
|
[Error 1033](https://developers.cloudflare.com/support/troubleshooting/http-status-codes/cloudflare-1xxx-errors/error-1033/)
|
|
means the tunnel is disconnected. For `public invitation service exited before
|
|
connecting` or `exit status 1`, read the following error details to choose a check.
|
|
|
|
1. **Viewers: confirm the link.** Ask the host to check that the App is running
|
|
and the computer is awake, then send the current invitation. Use a new link
|
|
after the App restarts; the old address may no longer work.
|
|
2. **Hosts: read the failure details.** Check that the complete App package was
|
|
extracted. Save the full error from the launch page or terminal, including
|
|
any detail after the exit code, and try again with **Debug launch**
|
|
enabled.
|
|
3. **Compare networks.** Try a phone hotspot. Check whether DNS, a proxy or a
|
|
firewall blocks Cloudflare Tunnel; adjust only relevant rules. Ask the
|
|
administrator about a school or workplace network.
|
|
|
|
<details>
|
|
<summary>Advanced: tunnel errors, proxy routing and port 7844</summary>
|
|
|
|
If you use a proxy, confirm that it actually routes the `cloudflared` process.
|
|
Browser proxy settings or `HTTP_PROXY`/`HTTPS_PROXY` alone do not route the
|
|
currently bundled tunnel helper through a proxy.
|
|
|
|
The error details help identify which stage failed:
|
|
|
|
| Error contains | What to check |
|
|
| --- | --- |
|
|
| `failed to request quick Tunnel` or `api.trycloudflare.com` | The temporary address could not be allocated. Read the cause that follows: check DNS for lookup errors, or outbound HTTPS, proxy rules and service status for connection timeouts. |
|
|
| QUIC timeout, `dial tcp ...:7844` or `TLS handshake with edge` | The connection to a Cloudflare tunnel endpoint failed. Check outbound rules for `cloudflared`, including whether a proxy or game accelerator affects the connection. |
|
|
|
|
Piik tries HTTP/2 (TCP) when QUIC (UDP) fails. Allow outbound port `7844` for both.
|
|
See [Cloudflare's connection troubleshooting](https://developers.cloudflare.com/tunnel/troubleshooting/)
|
|
for the requirements. You do not need to open an inbound port on your router.
|
|
|
|
</details>
|
|
|
|
**To continue without a public invite:** keep App running, open
|
|
[Piik online](https://demo.piik.tv) or another reachable site, and
|
|
[authorize App capture](./getting-started.md#use-app-with-an-existing-site).
|
|
Send the new site's room invitation. Piik online needs no site passphrase and
|
|
uses P2P media; for server media forwarding, choose an SFU-enabled site.
|
|
If the page opens but video does not connect, follow
|
|
[media connection troubleshooting](#when-video-will-not-connect).
|
|
If the unavailable address is a self-hosted site rather than the App's
|
|
temporary address, ask that site's administrator to check its service.
|
|
|
|
### Local invitation will not open
|
|
|
|
If the browser times out before showing Piik, check access to the Host's App:
|
|
|
|
1. Keep the host's App running. In **Local room**, select an adapter address
|
|
friends can reach and send the full invitation link. Both devices need a
|
|
reachable LAN or the same virtual LAN; guest Wi-Fi may isolate them.
|
|
2. On the Windows host, open **Windows Security → Firewall & network protection →
|
|
Allow an app through firewall**. Check the currently running `piik-app.exe`
|
|
and allow the network type in use. A virtual adapter may be classified as
|
|
**Public**; advanced rules can restrict access to that adapter and subnet.
|
|
3. After extracting an update to another folder, update any firewall rule that
|
|
points to the old file. Add the current App manually if needed; keep the firewall on.
|
|
|
|
If App reports **the local port is unavailable**, close an older Piik instance
|
|
using it. If another application needs that port, start Piik with `--port 9876`
|
|
and send the newly generated invitation. Both the web and local STUN ports must
|
|
be available; changing only the URL will not move the service.
|
|
|
|
Changing permissions may require an administrator; see
|
|
[Microsoft's instructions](https://support.microsoft.com/en-us/windows/security/firewall/risks-of-allowing-apps-through-windows-firewall).
|
|
If the page opens but video does not connect, continue with
|
|
[media connection checks](#when-video-will-not-connect).
|
|
|
|
### Local HTTPS certificate warning
|
|
|
|
Piik App's **Local room**, and servers using `TLS_SELF_SIGNED=true`, generate a
|
|
local certificate without asking a public certificate authority. The browser
|
|
therefore shows a certificate warning before opening the invitation.
|
|
|
|
1. Check that the address is the one the Host intended to share.
|
|
2. Open the warning's certificate details and compare its **SHA-256 fingerprint**
|
|
with **Local certificate · SHA-256** in the Host's App terminal, or the
|
|
Server's **HTTPS certificate** startup message. Ask the Host over your usual
|
|
trusted chat if you are on another device.
|
|
3. If it matches, use the browser's **Advanced → Continue** option where available.
|
|
Then allow microphone access or request remote control normally.
|
|
|
|
The temporary certificate changes after an App/Server restart. A different
|
|
fingerprint needs confirmation again; the App saves no certificate files and
|
|
does not install a trusted CA. Do not disable browser security checks globally.
|
|
If the browser cannot accept an exception, use a site with a certificate that
|
|
device already trusts; administrators can follow the [HTTPS deployment guide](../operations/self-hosting.md#2-enable-https).
|
|
|
|
These instructions apply to an expected local self-signed certificate. An
|
|
unexpected warning on a public HTTPS site needs investigation by its operator.
|
|
|
|
### Room code does not work
|
|
|
|
Open the Host's current full invitation link first. A room code works only on
|
|
its original Piik site. A site with empty-room recycling may have reclaimed the
|
|
room; the Host can create a new one. See [joining a room](./getting-started.md#join-a-friends-room).
|
|
|
|
If all room codes on the site are in use, retry later or use another Piik site.
|
|
Administrators can configure [empty-room retention](../operations/self-hosting.md#1-configure-and-start-piik)
|
|
to reclaim unused codes.
|
|
|
|
### Room creation returns 403
|
|
|
|
Piik rejects room creation from a browser address that the server has not allowed,
|
|
even when the page opens normally. The site administrator should:
|
|
|
|
1. Set `PUBLIC_BASE_URL` to the browser's site address, including the scheme and
|
|
any non-default port, without a path.
|
|
2. Unset or empty `ALLOWED_ORIGINS` to use that address. If several addresses are
|
|
needed, list every trusted origin explicitly, separated by commas. Check for
|
|
an old `http://localhost:8787` override after copying a configuration example.
|
|
3. Restart Piik (recreate the container with `docker compose up -d` for Compose),
|
|
reload the page and retry.
|
|
|
|
If the response says `Origin not allowed` with correct settings, check that the
|
|
reverse proxy preserves the browser's `Origin` header. A 403 from the proxy or
|
|
WAF itself needs its own logs; do not disable origin validation to bypass it.
|
|
See [Server deployment](../operations/self-hosting.md) for the configuration.
|
|
|
|
## Starting a share
|
|
|
|
[No picker](#no-screen-picker) · [Missing windows](#app-windows-or-screens-are-missing) ·
|
|
[Source selected, sharing fails](#sharing-does-not-start-after-source-selection) · [H264 failure](#h264-sharing-fails-on-windows)
|
|
|
|
When sharing fails, select the error icon below the TV. It opens the reason,
|
|
checks for that stage and **Copy failure details**; follow the checks before retrying.
|
|
|
|

|
|

|
|
|
|
*Sample App capture error. Your message and checks depend on what failed.*
|
|
|
|
### No screen picker
|
|
|
|
Allow screen recording when your OS asks. Browser screen capture needs HTTPS or
|
|
`localhost`; try sharing from a desktop computer. In the source picker, choose
|
|
**Browser → Choose what to share** to open the browser's screen, window or tab
|
|
chooser. Missing App sources are covered below.
|
|
|
|
### App windows or screens are missing
|
|
|
|
Keep App running on the sharing computer. Select **App** at the top of the site,
|
|
confirm the site on the local approval page, and allow browser local-network
|
|
access if asked. Refresh the list; review this site's permissions if previously blocked.
|
|
|
|
The source picker distinguishes these outcomes:
|
|
|
|
| Message | Next step |
|
|
| --- | --- |
|
|
| Cannot connect to Piik App | Confirm the App is running and this site is approved. Close unused Piik tabs using the App, then refresh the list; up to two pages can use the App's native capture or viewing at once. |
|
|
| Piik App and this page are incompatible | Update Piik App and reload the page. |
|
|
| Piik App capture is currently unavailable | Check the App diagnostics for capture or encoder availability. Review your encoding setting or use browser capture. |
|
|
| Could not read the screen and window list | Refresh to retry. If it keeps failing, export both the App and browser Debug reports. |
|
|
| No sources available | The list was read successfully, but this tab has no selectable sources. Check the other source tabs. |
|
|
|
|
Local-network permission lets the page contact App. For media failures after
|
|
connection, check [WebRTC settings](./network.md#browser-webrtc-restrictions).
|
|
|
|
### Sharing does not start after source selection
|
|
|
|
Click the error icon below the TV for suggested checks, a copyable failure
|
|
summary and browser diagnostics.
|
|
|
|
- **App disconnected or request timed out:** check that the App is running and
|
|
responding, then click **App** at the top of the site to connect. Allow local network
|
|
access if the browser asks.
|
|
- **App could not start the selected source:** try an ordinary window or screen,
|
|
then compare with the **Browser** source picker. On Windows, try **Auto** or
|
|
**VP8** and follow [graphics checks](#h264-sharing-fails-on-windows).
|
|
- **Browser cannot read the source or permission is missing:** keep the source
|
|
open, allow screen recording and select the source again from the sharing page.
|
|
For a camera, also check whether another application has exclusive use of it.
|
|
- **Media connection failed:** check [browser WebRTC settings](./network.md#browser-webrtc-restrictions)
|
|
and local network permission. For **room creation HTTP 403**, check [site configuration](#room-creation-returns-403).
|
|
|
|
|
|
If it still fails, [collect matching Web and App reports](#reporting-a-problem)
|
|
with the copied failure summary and selected source type.
|
|
|
|
### H264 sharing fails on Windows
|
|
|
|
1. **Compare codecs on the same source.** In **Sharing settings → Picture → Fine-tune picture**, change the
|
|
video codec from **H264** to **Auto** or **VP8**, then start sharing again.
|
|
If VP8 works, you can keep using it while checking the H264 path.
|
|
2. **Update and restart.** Update Piik App and Chrome, and install the appropriate
|
|
graphics driver from your computer or GPU manufacturer's official support
|
|
page. On laptops with two GPUs, check both drivers. Restart after installation.
|
|
3. **For Chrome, check graphics acceleration and GPU preference.** In Chrome's
|
|
**Settings → System**, enable graphics acceleration if it was disabled, then
|
|
restart Chrome ([Google's setting instructions](https://support.google.com/meet/answer/10058482?hl=en)).
|
|
On a multi-GPU Windows PC, open **Settings → System → Display → Graphics**,
|
|
select or add Chrome (`chrome.exe`), and choose **Options → High performance → Save**.
|
|
Completely quit and reopen Chrome before retrying. If it does not help, restore
|
|
**Let Windows decide** ([Microsoft's graphics settings](https://support.microsoft.com/en-us/windows/hardware/display-graphics/optimizations-for-windowed-games-in-windows-11)).
|
|
|
|
Chrome's graphics preference applies to browser capture. Piik App selects its
|
|
native encoder separately. If it still fails, [save reports](#reporting-a-problem)
|
|
with the codec comparison. If both codecs fail, also check
|
|
[WebRTC restrictions](./network.md#browser-webrtc-restrictions).
|
|
|
|
## Picture and playback
|
|
|
|
[No connection](#when-video-will-not-connect) · [Blur / stutter](#picture-blurs-stutters-or-stops) ·
|
|
[Black game capture](#game-capture-is-black-or-sharing-stops) · [Washed-out HDR](#hdr-picture-looks-too-bright-or-washed-out) ·
|
|
[Capture border](#yellow-capture-border-on-windows) · [Fullscreen / sleep](#fullscreen-or-playback-after-sleep)
|
|
|
|
### When video will not connect
|
|
|
|
**No media route available** means Piik has not found a connection to deliver
|
|
the picture. Check the viewing connection, browser policy and network:
|
|
|
|
1. **Retry the viewing page.** Use **Reconnect** if available; otherwise refresh
|
|
or reopen the invitation. Let each attempt finish. One or two fresh attempts
|
|
are enough to compare; repeated refreshes cannot remove a network restriction.
|
|
2. **Check browser WebRTC settings.** Browser settings, VPNs and privacy extensions
|
|
can block media for both Host and Viewer. Follow the [WebRTC checks](./network.md#browser-webrtc-restrictions).
|
|
3. **Try another network**, such as a phone hotspot. Check your VPN/proxy's UDP
|
|
policy; ask the administrator on a managed network.
|
|
4. **Invite a friend on another network.** A Viewer who receives the picture and
|
|
has spare forwarding capacity may give Piik another path to you. Piik chooses
|
|
it automatically; extra people help only when those connections work.
|
|
|
|
Still failing? Continue with [advanced network checks](./network.md)
|
|
and collect reports from the Host and affected Viewer for the same attempt.
|
|
|
|
### Picture blurs, stutters or stops
|
|
|
|
Brief blur can result from automatic adjustments to network or encoding load.
|
|
If it recurs or never recovers, compare the following:
|
|
|
|
1. **Identify who is affected.** Is it the host's preview, every viewer or just
|
|
one viewer? Note the time and whether it recovers on its own.
|
|
2. **Change one thing at a time.** The host can try a lower resolution or frame
|
|
rate under **Sharing settings → Picture**, and check CPU/GPU load while the game runs.
|
|
An affected viewer can compare another browser or a phone hotspot. Increasing
|
|
bitrate does not necessarily help.
|
|
3. **Check the actual codec.** Open the host's **Connection details** and
|
|
read **Video codec**. On Windows, Auto may select VP8 when H264 is unavailable,
|
|
its check cannot finish, or it cannot sustain the selected frame rate.
|
|
Software encoding competes with the game for CPU time. For **Browser** capture,
|
|
follow the [graphics checks](#h264-sharing-fails-on-windows), or compare the App's
|
|
window/screen capture. The App tries available hardware encoders independently.
|
|
Keep Auto or VP8 when the H264 check fails.
|
|
4. **Save reports from the affected period.** Follow [report collection](#reporting-a-problem) for the Host and affected Viewer;
|
|
App capture also needs an App report. Try **Reconnect** if the picture does
|
|
not recover. Export before refreshing.
|
|
|
|
If sharing stopped altogether, read the reason below the TV and follow
|
|
[sharing startup checks](#sharing-does-not-start-after-source-selection). If the
|
|
host is still sharing but viewers cannot receive video, follow [connection checks](#when-video-will-not-connect).
|
|
|
|
### Game capture is black or sharing stops
|
|
|
|
Check that you selected the game's window or the screen displaying it, then try
|
|
the game's borderless window mode. Compare an ordinary window, and try both App
|
|
capture and the **Browser** source picker. Protected content may be unavailable
|
|
for capture.
|
|
|
|
If Piik returns to the start screen after you enter a game, read the reason below
|
|
the TV and follow [sharing startup checks](#sharing-does-not-start-after-source-selection).
|
|
Include the game and window mode in your [report](#reporting-a-problem).
|
|
|
|
### HDR picture looks too bright or washed out
|
|
|
|
Windows App capture through **Apps / Windows** or **Screens** converts HDR to SDR
|
|
for viewers. The **Browser** picker uses browser capture instead; some HDR sources
|
|
can look overexposed. Try the App categories above,
|
|
or temporarily turn off HDR in Windows display settings and select the source again.
|
|
Higher resolution or bitrate cannot restore clipped highlights.
|
|
|
|
If it persists, report the HDR setting and GPU/display model with source/viewer
|
|
comparison pictures. See [HDR capture notes](../research/media-fidelity.md#hdr-to-sdr) for background.
|
|
|
|
### Yellow capture border on Windows
|
|
|
|
Windows draws this outline to identify the window or display being captured.
|
|
When the App's capture runtime supports it, the source picker offers **Show capture border**,
|
|
off by default. Windows permissions or another active capture can still require
|
|
the border. Windows 10 does not provide this control for its capture API.
|
|
|
|
#### Windows 11: the border is still visible
|
|
|
|
1. Select **Apps / Windows** or **Screens** in Piik and leave **Show capture border**
|
|
off. A Browser-selected source uses the browser's own capture indicator.
|
|
2. Stop other apps or tabs capturing the same window/display, then restart sharing.
|
|
3. If Windows denied borderless capture, review **Screenshot borders** in Windows
|
|
privacy settings. Its settings page can also be opened with
|
|
`ms-settings:privacy-graphicscapturewithoutborder` from **Win+R**, when available.
|
|
|
|
Windows requires consent and can retain the border when another capture requests
|
|
it ([Microsoft's API documentation](https://learn.microsoft.com/en-us/uwp/api/windows.graphics.capture.graphicscapturesession.isborderrequired)).
|
|
If it persists, include the Windows version and an [App report](#reporting-a-problem).
|
|
|
|
<details>
|
|
<summary>Advanced: optional Windows 10 workaround</summary>
|
|
|
|
#### Optional Windows 10 workaround
|
|
|
|
[DWM Custom Projection Border](https://windhawk.net/mods/dwm-custom-projection-border)
|
|
is a third-party Windhawk mod for x64 Windows that can hide the border while keeping the same
|
|
capture method. It changes Windows' desktop compositor and affects other apps'
|
|
capture indicators too. Follow the mod's Windows version requirements.
|
|
|
|
1. Install [Windhawk](https://windhawk.net/) from its official website.
|
|
2. In Windhawk's global **Settings → Advanced settings → More advanced settings**,
|
|
append `dwm.exe` to **Process inclusion list** and save. Keep existing entries.
|
|
3. Find and install **DWM Custom Projection Border**. In the mod's settings,
|
|
turn on **Disable border** and save.
|
|
4. Stop and restart sharing in Piik, then check whether the border disappears.
|
|
|
|
To undo this, disable the mod and restart sharing. Remove the `dwm.exe` entry
|
|
if you added it only for this mod. If desktop problems appear or a Windows
|
|
update breaks compatibility, disable the mod first.
|
|
|
|
See the [mod author's instructions](https://github.com/ramensoftware/windhawk-mods/blob/main/mods/dwm-custom-projection-border.wh.cpp)
|
|
and [Windhawk's process settings](https://github.com/ramensoftware/windhawk/wiki/Injection-targets-and-critical-system-processes)
|
|
for current setup details.
|
|
|
|
</details>
|
|
|
|
### Fullscreen or playback after sleep
|
|
|
|
- **Playback controls are hidden:** tap the picture to bring them back. During
|
|
remote control, use the drawer tab at the TV's bottom edge.
|
|
- **Fullscreen is missing or rejected:** open the invitation in a standalone
|
|
browser, such as Chrome on Android or Safari on iPhone, instead of a chat app's
|
|
embedded browser. **Theater mode** expands playback within the page when the
|
|
browser does not offer screen fullscreen.
|
|
- **Piik controls disappear in fullscreen:** the browser has opened its native
|
|
video player. Exit fullscreen and use **Theater mode** to keep Piik's playback
|
|
controls, chat overlay and remote input on the page.
|
|
- **Phone fullscreen has black bars:** video preserves its proportions. Try
|
|
landscape, or use **Switch picture fit** on the playback bar to select **Fill**
|
|
or **Stretch**. Exit the browser's native video player to use Piik's picture-fit
|
|
controls. See [viewing controls](./getting-started.md#join-a-friends-room).
|
|
- **Sharing stops after sleep or suspension:** wake the device and return to the
|
|
sharing tab. Start sharing again if needed; browser and OS suspension can
|
|
interrupt capture or playback.
|
|
|
|
## Sound and browser permissions
|
|
|
|
[Source sound](#picture-but-no-source-sound) · [Room voice](#cannot-hear-someone-speaking) ·
|
|
[Echo / unwanted sound](#echo-or-unwanted-application-audio) · [Microphone / control permissions](#microphone-or-remote-controls-are-unavailable)
|
|
|
|
### Picture but no source sound
|
|
|
|
1. Unmute the video and check your playback volume.
|
|
2. The Host should select a source with shareable audio and enable its sound in
|
|
the source picker. Available sound depends on the source and platform.
|
|
3. Camera video and microphone inputs are selected separately. For a built-in
|
|
camera microphone or OBS audio, see [camera and audio inputs](./sharing.md#cameras-and-virtual-audio-inputs).
|
|
|
|
### Cannot hear someone speaking
|
|
|
|
For speech added through **Include my microphone**, check the picture's
|
|
[source sound](#picture-but-no-source-sound) and the Host's **Sharing settings → Sound**.
|
|
For room voice, follow these steps:
|
|
|
|
1. Both people join **Interact → Voice**; the Host selects **Open room voice** first.
|
|
Joining only starts listening. Each speaker must turn on their own microphone.
|
|
2. The speaker checks browser microphone permission, input device and input volume
|
|
in **Voice settings**. Microphone access needs HTTPS or `localhost`.
|
|
3. Check whether you paused listening or muted that person locally. These controls
|
|
are separate from video mute; **Pause listening** leaves your microphone on.
|
|
|
|
If voice reports a connection failure, compare [WebRTC settings](./network.md#browser-webrtc-restrictions)
|
|
and another network. See [room voice](./room-tools.md#room-voice) for its controls.
|
|
|
|
### Echo or unwanted application audio
|
|
|
|
Use headphones if speakers are feeding sound back into a microphone. Windows
|
|
App screen capture can [exclude a voice app from source audio](./sharing.md#exclude-a-voice-app-from-screen-audio);
|
|
this does not remove acoustic echo.
|
|
|
|
If a virtual microphone remains audible when muted in Piik, temporarily turn off
|
|
**System sound**. If that removes it, the mixer's playback output is also entering
|
|
source audio. Check its playback/monitoring route or share only the desired app's
|
|
window audio. Piik's microphone mute does not mute that separate source.
|
|
|
|
### Microphone or remote controls are unavailable
|
|
|
|
1. Open the complete HTTPS invitation generated by the current App. For a local
|
|
invitation, [confirm its certificate](#local-https-certificate-warning) first.
|
|
A plain HTTP LAN page can play video, chat and listen to voice, but cannot use
|
|
the secure microphone/camera capture or remote-control APIs. Changing only the
|
|
URL scheme does not enable HTTPS; `localhost` means the current device.
|
|
2. For a microphone, review this site's browser permission and selected input.
|
|
3. For remote control, update the Host's App and the site, then refresh the Viewer
|
|
page. The Host must use desktop App window/screen capture and enable control;
|
|
Browser and camera capture cannot receive remote input. Android can share its
|
|
screen and control a desktop as a Viewer, but cannot receive remote control;
|
|
its Host page therefore has no enable-control action. Follow the
|
|
[authorization steps](./room-tools.md#let-a-friend-control-your-shared-screen).
|
|
|
|
If your browser cannot accept the local certificate, use a reachable **Public
|
|
invite** or an HTTPS site with a trusted certificate.
|
|
|
|
## Gamepads
|
|
|
|
### The gamepad does not respond
|
|
|
|
1. The Host shares an App window or screen and enables **Remote control**.
|
|
2. Check the Host against [supported platforms and gamepad setup](./remote-control.md#gamepads).
|
|
The Host installs external drivers from the official source; Piik includes no
|
|
input SDK or driver. Turn Remote control off and on after installation.
|
|
3. The Viewer connects a standard-layout controller and presses a button so the
|
|
browser detects it, then obtains remote control. Piik automatically uses the
|
|
first connected controller with the browser's standard mapping. Keep the viewing
|
|
page focused and join the corresponding player in the game. If all controller
|
|
slots are occupied, disconnect an unused controller or end that Viewer's remote control.
|
|
|
|
Viewers only need their browser. Driver checks and installation belong on the Host.
|
|
|
|
## Advanced network checks
|
|
|
|
If the page opens but picture or voice will not connect, use the [network guide](./network.md). Choose a section below:
|
|
|
|
### Campus networks and strict NAT
|
|
|
|
Choose a connection option for campus or work networks. [View steps](./network.md#campus-networks-and-strict-nat).
|
|
|
|
### Browser WebRTC restrictions
|
|
|
|
Check settings when the same invitation works in another browser. [View steps](./network.md#browser-webrtc-restrictions).
|
|
|
|
### STUN, IPv6 and router checks
|
|
|
|
Read discovery logs or check a router you manage. [View steps](./network.md#stun-ipv6-and-router-checks).
|
|
|
|
### Optional: a virtual LAN
|
|
|
|
Use Local room over Tailscale, ZeroTier or UU. [View steps](./network.md#optional-a-virtual-lan).
|
|
|
|
## Reporting a problem
|
|
|
|
Include the Piik version, OS/browser, time, expected result and reproduction steps.
|
|
For capture problems, add the source type, codec, GPU/driver and whether another
|
|
source or VP8 works. For network problems, add the network type.
|
|
|
|
Enable diagnostics before reproducing once, then export before refreshing:
|
|
|
|
- **Web:** use the page's diagnostics button. A sharing failure's error icon below
|
|
the TV also provides a copyable summary; it contains the Web version, message
|
|
and code, without invitation links or source names.
|
|
- **Desktop App capture or remote control:** also enable **Debug launch** on the Host App's mode selection page,
|
|
then press `D` in the terminal to export its report.
|
|
- **Connection failure:** collect the affected Viewer and Host reports for the
|
|
same attempt. For self-hosted SFU, include the Server report too.
|
|
|
|
Reports stay on your device. Review private information before sharing them;
|
|
[diagnostics and export](../../cmd/piik-app/README.md#diagnostics) explains their contents.
|
|
If you cannot collect logs, send the full error text and reproduction steps.
|
|
|
|
For other guides, return to [the documentation home](./README.md).
|