Compare commits
No files matched your search
@@ -42,16 +42,10 @@ count. A larger correction is justified when it removes competing writers or
|
||||
finishes the affected flow. Keep readable code and clear boundaries rather than
|
||||
compressing logic into a one-liner or one oversized file.
|
||||
|
||||
Add an abstraction, setting or extension point only for a current responsibility,
|
||||
real consumer or accepted contract. Do not build scaffolding for hypothetical
|
||||
features. Preserve necessary platform adapters; a single implementation alone
|
||||
does not prove an interface is wasteful. Inspect existing protections before
|
||||
removing them, and preserve authorization, data integrity, accessibility and
|
||||
published compatibility.
|
||||
|
||||
Comment non-obvious constraints and reasons at their owner. Avoid slogans,
|
||||
restated code or speculative upgrade plans in comments. Remove replaced private
|
||||
paths within scope; keep useful provenance and required license notices.
|
||||
Apply the shared [implementation rules](../../../docs/standards/engineering.md#implementation-rules)
|
||||
for helper boundaries, typed validation, comments and generated sources rather
|
||||
than maintaining separate coding rules in this skill. Preserve useful provenance
|
||||
and required license notices when removing replaced paths.
|
||||
|
||||
## Verify And Finish
|
||||
|
||||
|
||||
@@ -25,11 +25,6 @@ Piik 是供朋友分享的小项目。优先简单、好用、漂亮和实际效
|
||||
- **让研究产生实现。** 参考相关的一手实现,选出简单、可逆的方案就做对照。
|
||||
一旦信息足够做决定,停止搜集同类材料。上游也有问题不等于只能接受;检查现有配置、
|
||||
接口和小范围补丁。研究或审查任务仍按其授权范围交付,不自动变成实现。
|
||||
- **防御放在真实边界。** 保留鉴权、外部输入校验和必要的资源释放;内部已验证事实直接使用。
|
||||
不逐层重复校验,不用空值、假成功或静默兜底掩盖错误。现有保护的用途不明时先追踪,
|
||||
不能凭“没出过事”删除。新增重试、状态、开关或限制要解决实际问题或已承诺的边界,
|
||||
不必等到事故发生,也不为假想规模或未来消费者铺路。兼容承诺由
|
||||
[版本规范](../../../docs/standards/versioning.md) 决定。
|
||||
- **新机制要验完整。** 沿实际调用链验证预期效果及受影响的主路径,覆盖相关的失败、恢复
|
||||
和生命周期行为;不能用一个 happy path 或孤立单测宣称完成。复用现有检查和复现,缺口
|
||||
补有效回归。小文案、布局和可逆低影响改动不默认新增单元测试;不为每个分支、私有函数
|
||||
@@ -46,16 +41,5 @@ Piik 是供朋友分享的小项目。优先简单、好用、漂亮和实际效
|
||||
不把未知说成已解决,也不把所有未知都变成发布门槛。汇报结果和影响决定的限制即可,
|
||||
不用测试数量、长免责声明、反复道歉或未来待办替代成果。
|
||||
|
||||
## 用在 Piik 上
|
||||
|
||||
| 遇到的问题 | 应采取的动作 |
|
||||
| --- | --- |
|
||||
| 画质恢复慢 | 对比现有适配策略的恢复时间与持续弱网表现;有明确收益就采用。不要仅因上游也慢而停手,也不要另造周期重置器。 |
|
||||
| 小控件错位 | 修布局,查看受影响的尺寸与状态;不启动全仓库网络验收。 |
|
||||
| 同一事实到处加判断 | 修正它的生产者和生命周期,让消费者使用可靠结果;删掉重复分支。 |
|
||||
| 检查已经通过 | 完成当前交付;只有新变化、失败或尚未回答的实际问题才扩大验证。 |
|
||||
|
||||
这些是做判断的尺度,不要求为它们生成清单、报告或新工具。
|
||||
|
||||
参考来源与取舍保留在[上下文治理研究](../../../docs/research/agent-context-governance.md#instructions-and-skills),
|
||||
不作为每次任务必读材料。
|
||||
@@ -5,4 +5,3 @@ project_doc_max_bytes = 32768
|
||||
|
||||
[agents]
|
||||
enabled = true
|
||||
max_concurrent_threads_per_session = 3
|
||||
@@ -44,7 +44,8 @@ ENDPOINT_MEDIA_COPY_CAPACITY=2
|
||||
SFU_UDP_PORT=
|
||||
# IPv4 bind address, independent of HTTP LISTEN_HOST and advertised media IP.
|
||||
SFU_LISTEN_HOST=0.0.0.0
|
||||
# Optional advertised IPv4 override when the listener's address is behind NAT.
|
||||
# Optional advertised IPv4 or DNS hostname when the listener is behind NAT.
|
||||
# Hostnames resolve at startup; restart Piik after the public IPv4 changes.
|
||||
SFU_PUBLIC_IP=
|
||||
# Require server media for every room instead of P2P-first. Requires SFU_UDP_PORT.
|
||||
SFU_ONLY=false
|
||||
|
||||
@@ -20,4 +20,8 @@ about: Report a reproducible problem / 反馈可复现的问题
|
||||
|
||||
## Optional evidence / 可选证据
|
||||
|
||||
<!-- Screenshots or a local Debug export may help. Review artifacts before attaching; remove credentials and private content. 可附截图或本地 Debug 导出;分享前移除凭据与隐私内容。 -->
|
||||
For App capture or remote-control failures, enable [App diagnostics](https://github.com/TNTcraftHIM/Piik/blob/main/cmd/piik-app/README.md#diagnostics) before reproducing and attach the exported ZIP.
|
||||
|
||||
App 选源或远控异常,请先开启 [App 诊断](https://github.com/TNTcraftHIM/Piik/blob/main/cmd/piik-app/README.zh-CN.md#诊断),复现后附上导出的 ZIP。
|
||||
|
||||
<!-- Screenshots may help. Review artifacts before attaching; remove credentials and private content. 可附截图;分享前移除凭据与隐私内容。 -->
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
## Release notes
|
||||
|
||||
<!-- Required for product-changing PRs; omit this section for standalone website/docs/maintenance work. Public copy, automatically published in GitHub Releases. Keep this exact heading; use ### for subsections. Describe user benefits, fixes and required upgrade actions in concise Chinese and English. Omit internal logs, audit prompts and unverified claims. 产品改动需填写公开的中英文更新说明;仅官网、文档或外围维护可删去此节。 -->
|
||||
<!-- Required for product-changing PRs; omit this section for standalone website/docs/maintenance work. Public copy, automatically published in GitHub Releases. Keep this exact heading; use ### for subsections. Describe user benefits, fixes and required upgrade actions in concise English followed by Chinese. Omit internal logs, audit prompts and unverified claims. 产品改动需填写公开更新说明,先英文、后中文;仅官网、文档或外围维护可删去此节。 -->
|
||||
|
||||
<!-- Follow docs/standards/versioning.md#release-notes. Keep the public Release title Piik vX.Y.Z.
|
||||
An optional editorial opening uses a short **bold title** and one plain paragraph explaining its concrete
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
name: Gitee mirror
|
||||
name: AtomGit mirror
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '17 */3 * * *'
|
||||
workflow_run:
|
||||
workflows: [CI]
|
||||
types: [completed]
|
||||
@@ -8,8 +10,8 @@ on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
run_id:
|
||||
description: Original CI run that published the current GitHub release
|
||||
required: true
|
||||
description: Original CI run (optional; otherwise find the current published source)
|
||||
required: false
|
||||
type: string
|
||||
|
||||
permissions:
|
||||
@@ -17,7 +19,7 @@ permissions:
|
||||
actions: read
|
||||
|
||||
concurrency:
|
||||
group: gitee-mirror
|
||||
group: atomgit-mirror
|
||||
cancel-in-progress: false
|
||||
queue: max
|
||||
|
||||
@@ -25,10 +27,9 @@ jobs:
|
||||
mirror:
|
||||
if: >-
|
||||
github.repository == 'TNTcraftHIM/Piik' && github.ref == 'refs/heads/main' &&
|
||||
(github.event_name == 'workflow_dispatch' ||
|
||||
(github.event_name == 'workflow_dispatch' || github.event_name == 'schedule' ||
|
||||
(github.event.workflow_run.event == 'push' &&
|
||||
github.event.workflow_run.head_branch == 'main' &&
|
||||
github.event.workflow_run.conclusion == 'success'))
|
||||
github.event.workflow_run.head_branch == 'main'))
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 30
|
||||
steps:
|
||||
@@ -36,17 +37,31 @@ jobs:
|
||||
- uses: actions/checkout@v6
|
||||
with:
|
||||
persist-credentials: false
|
||||
sparse-checkout-cone-mode: false
|
||||
sparse-checkout: |
|
||||
/scripts/
|
||||
/package.json
|
||||
/package-lock.json
|
||||
/.node-version
|
||||
- uses: actions/setup-node@v6
|
||||
with:
|
||||
node-version-file: .node-version
|
||||
cache: npm
|
||||
- name: Prepare mirror before downloading original artifacts
|
||||
id: readiness
|
||||
run: node scripts/release-mirror-prepare.mjs
|
||||
env:
|
||||
GH_TOKEN: ${{ github.token }}
|
||||
ATOMGIT_TOKEN: ${{ secrets.ATOMGIT_TOKEN }}
|
||||
- run: npm ci --ignore-scripts
|
||||
if: steps.readiness.outputs.status == 'ready'
|
||||
- name: Resolve the published source
|
||||
id: source
|
||||
if: steps.readiness.outputs.status == 'ready'
|
||||
run: node scripts/release-mirror-source.mjs "$PIIK_SOURCE_RUN_ID"
|
||||
env:
|
||||
GH_TOKEN: ${{ github.token }}
|
||||
PIIK_SOURCE_RUN_ID: ${{ inputs.run_id || github.event.workflow_run.id }}
|
||||
PIIK_SOURCE_RUN_ID: ${{ inputs.run_id }}
|
||||
- name: Download original Server artifacts
|
||||
if: steps.source.outputs.mirror == 'true'
|
||||
uses: actions/download-artifact@v8
|
||||
@@ -72,12 +87,12 @@ jobs:
|
||||
"$RUNNER_TEMP/mirror-release" "$PIIK_RELEASE_VERSION" "$PIIK_RELEASE_REVISION"
|
||||
env:
|
||||
GH_TOKEN: ${{ github.token }}
|
||||
GITEE_TOKEN: ${{ secrets.GITEE_TOKEN }}
|
||||
ATOMGIT_TOKEN: ${{ secrets.ATOMGIT_TOKEN }}
|
||||
PIIK_RELEASE_VERSION: ${{ steps.source.outputs.version }}
|
||||
PIIK_RELEASE_REVISION: ${{ steps.source.outputs.revision }}
|
||||
- name: Explain recovery
|
||||
if: failure() && steps.source.outputs.mirror == 'true'
|
||||
run: |
|
||||
printf 'Mirror failed; GitHub publication and Website are independent. Retry this workflow with original CI run %s. If artifacts expired, recover the retained original build output; do not rebuild this version. See docs/operations/github.md.\n' "$PIIK_SOURCE_RUN_ID" >> "$GITHUB_STEP_SUMMARY"
|
||||
printf 'Release mirror remains incomplete. Resume from original CI run %s; do not wait for source synchronization. If artifacts expired, recover retained original build output without rebuilding this version. See docs/operations/github.md.\n' "$PIIK_SOURCE_RUN_ID" >> "$GITHUB_STEP_SUMMARY"
|
||||
env:
|
||||
PIIK_SOURCE_RUN_ID: ${{ steps.source.outputs.run_id }}
|
||||
@@ -87,6 +87,8 @@ jobs:
|
||||
PIIK_BASE_SHA: ${{ github.event.pull_request.base.sha || github.event.before }}
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
- name: Check npm dependency advisories
|
||||
run: npm audit --audit-level=high
|
||||
- name: Determine release identity
|
||||
id: release
|
||||
env:
|
||||
@@ -112,10 +114,10 @@ jobs:
|
||||
with:
|
||||
go-version-file: go.mod
|
||||
cache-dependency-path: go.sum
|
||||
- name: Check Go core
|
||||
run: npm run check:go-core
|
||||
- name: Check reachable Go vulnerabilities
|
||||
run: npm run check:go-vuln
|
||||
- name: Check Go core
|
||||
run: npm run check:go-core
|
||||
- name: Check concurrent resource ownership with the race detector
|
||||
run: npm run check:go-race
|
||||
- name: Type-check and test
|
||||
@@ -280,8 +282,10 @@ jobs:
|
||||
runner: macos-15
|
||||
- target: darwin-amd64
|
||||
runner: macos-15-intel
|
||||
- target: android-universal
|
||||
runner: ubuntu-24.04
|
||||
runs-on: ${{ matrix.runner }}
|
||||
timeout-minutes: 20
|
||||
timeout-minutes: ${{ matrix.target == 'android-universal' && 45 || 20 }}
|
||||
env:
|
||||
PIIK_BUILD_VERSION: ${{ needs.validate.outputs.version }}
|
||||
steps:
|
||||
@@ -315,16 +319,70 @@ jobs:
|
||||
gstreamer1.0-plugins-bad
|
||||
gstreamer1.0-pulseaudio
|
||||
- name: Download Server release
|
||||
if: matrix.target != 'android-universal'
|
||||
uses: actions/download-artifact@v8
|
||||
with:
|
||||
name: piik-server-${{ github.sha }}
|
||||
path: ${{ runner.temp }}/server-release
|
||||
- name: Build and verify App candidate
|
||||
if: matrix.target != 'android-universal'
|
||||
run: >-
|
||||
node scripts/package-app-candidate.mjs
|
||||
"${{ runner.temp }}/server-release"
|
||||
"${{ matrix.target }}"
|
||||
"${{ runner.temp }}/app-release"
|
||||
- name: Set up Android Java
|
||||
if: matrix.target == 'android-universal'
|
||||
uses: actions/setup-java@v5
|
||||
with:
|
||||
distribution: temurin
|
||||
java-version: '17'
|
||||
- name: Set up Android Gradle
|
||||
if: matrix.target == 'android-universal'
|
||||
uses: gradle/actions/setup-gradle@v6
|
||||
with:
|
||||
gradle-version: '8.14.8'
|
||||
cache-provider: basic
|
||||
- name: Install pinned Android build tools
|
||||
if: matrix.target == 'android-universal'
|
||||
run: |
|
||||
"$ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager" 'platforms;android-35' 'build-tools;35.0.0' 'ndk;30.0.16248370'
|
||||
echo "ANDROID_NDK_HOME=$ANDROID_HOME/ndk/30.0.16248370" >> "$GITHUB_ENV"
|
||||
echo "GRADLE_HOME=$(dirname "$(dirname "$(readlink -f "$(command -v gradle)")")")" >> "$GITHUB_ENV"
|
||||
go install golang.org/x/mobile/cmd/gomobile@v0.0.0-20261011034528-197770444867
|
||||
go install golang.org/x/mobile/cmd/gobind@v0.0.0-20261011034528-197770444867
|
||||
- name: Prepare Android signing
|
||||
if: matrix.target == 'android-universal'
|
||||
env:
|
||||
PIIK_PUBLISH: ${{ needs.validate.outputs.publish }}
|
||||
PIIK_ANDROID_KEYSTORE_BASE64: ${{ secrets.PIIK_ANDROID_KEYSTORE_BASE64 }}
|
||||
PIIK_ANDROID_STORE_PASSWORD: ${{ secrets.PIIK_ANDROID_STORE_PASSWORD }}
|
||||
PIIK_ANDROID_KEY_ALIAS: ${{ secrets.PIIK_ANDROID_KEY_ALIAS }}
|
||||
PIIK_ANDROID_KEY_PASSWORD: ${{ secrets.PIIK_ANDROID_KEY_PASSWORD }}
|
||||
run: |
|
||||
if [ "$PIIK_PUBLISH" = true ]; then
|
||||
for name in PIIK_ANDROID_KEYSTORE_BASE64 PIIK_ANDROID_STORE_PASSWORD PIIK_ANDROID_KEY_ALIAS PIIK_ANDROID_KEY_PASSWORD; do
|
||||
if [ -z "${!name}" ]; then echo "Android publication requires $name" >&2; exit 1; fi
|
||||
done
|
||||
umask 077
|
||||
printf '%s' "$PIIK_ANDROID_KEYSTORE_BASE64" | base64 --decode > "$RUNNER_TEMP/piik-android.keystore"
|
||||
else
|
||||
# Manual candidates exercise the same release variant with a disposable key.
|
||||
keytool -genkeypair -keystore "$RUNNER_TEMP/piik-android.keystore" -storetype PKCS12 \
|
||||
-storepass candidate-password -keypass candidate-password -alias piik-candidate \
|
||||
-keyalg RSA -keysize 3072 -validity 2 -dname 'CN=Piik CI candidate' -noprompt
|
||||
fi
|
||||
- name: Build and verify Android release APK
|
||||
if: matrix.target == 'android-universal'
|
||||
env:
|
||||
PIIK_ANDROID_KEYSTORE: ${{ runner.temp }}/piik-android.keystore
|
||||
PIIK_ANDROID_STORE_PASSWORD: ${{ needs.validate.outputs.publish == 'true' && secrets.PIIK_ANDROID_STORE_PASSWORD || 'candidate-password' }}
|
||||
PIIK_ANDROID_KEY_ALIAS: ${{ needs.validate.outputs.publish == 'true' && secrets.PIIK_ANDROID_KEY_ALIAS || 'piik-candidate' }}
|
||||
PIIK_ANDROID_KEY_PASSWORD: ${{ needs.validate.outputs.publish == 'true' && secrets.PIIK_ANDROID_KEY_PASSWORD || 'candidate-password' }}
|
||||
run: node scripts/build-android.mjs --release --output "$RUNNER_TEMP/app-release"
|
||||
- name: Remove temporary Android signing material
|
||||
if: always() && matrix.target == 'android-universal'
|
||||
run: rm -f -- "$RUNNER_TEMP/piik-android.keystore"
|
||||
- name: Upload App release candidate
|
||||
uses: actions/upload-artifact@v7
|
||||
with:
|
||||
|
||||
@@ -1 +1 @@
|
||||
24.22.1
|
||||
24.22.3
|
||||
@@ -26,6 +26,11 @@ and [engineering](./docs/standards/engineering.md).
|
||||
- This file owns project-wide constraints; linked standards own domain rules,
|
||||
CONTRIBUTING owns delivery, and skills supply task methods. A skill, reference
|
||||
example or audit suggestion cannot override those owners or authorize extra work.
|
||||
- Do not expand scope for speculative races or security edge cases. Before
|
||||
adding such extra mechanisms, explain the concrete failure, evidence for its
|
||||
likelihood, and added code and maintenance cost; obtain user agreement. Do not
|
||||
invent probabilities. Reachable defects and required authority, lifecycle and
|
||||
resource correctness within authorized work need no extra approval.
|
||||
- Model recovery from the smallest underlying authority and connection state.
|
||||
Restart, crash, timeout, and network loss do not justify parallel states or
|
||||
case-specific fallbacks when their required action is the same.
|
||||
|
||||
@@ -49,7 +49,10 @@ do not maintain a separate thanks list or manufacture empty credit commits.
|
||||
This is the default for an ordinary scoped implementation or bug fix.
|
||||
|
||||
1. Start a new phase from clean, current canonical `main`; continue scoped work in that phase's existing worktree. Preserve unrelated user work.
|
||||
2. Inspect the affected code, current owner, and reachable evidence. Research primary sources only when the issue is non-trivial or component behavior is uncertain.
|
||||
2. Inspect the affected code, current owner, and reachable evidence. Use the
|
||||
repository's existing tools, commands and workflow; introduce another only
|
||||
when the requested result needs it. Research primary sources when the issue
|
||||
is non-trivial or component behavior is uncertain.
|
||||
3. Make the smallest coherent change under the repo-tracked [`ponytail` skill](./.agents/skills/ponytail/SKILL.md).
|
||||
4. Run the focused tests or checks that exercise the changed behavior, inspect the pending diff, stage requested files, and report the result and evidence.
|
||||
|
||||
@@ -69,7 +72,7 @@ one complete, reviewed change; a contribution merge does not authorize publicati
|
||||
|
||||
1. Create one short-lived branch/worktree from exact canonical `main`, following the [branch naming convention](#commit-pr-and-branch-names).
|
||||
2. Update only the single durable owner for changed semantics and any materially changed current snapshot. If semantics remain disputed, record a hold and stop dependent work.
|
||||
3. Implement and run repository hygiene, `npm run check`, the relevant browser/network gates, and review in proportion to the whole acceptance boundary.
|
||||
3. Before release approval, review official security and patch releases for direct runtime/build dependencies and whether upstream now covers retained patches. Update for concrete fixes and verify the affected consumers; a newer version alone is not a release blocker. Run repository hygiene, dependency advisory checks, `npm run check`, and the relevant browser/network gates in proportion to the whole acceptance boundary. CI checks advisories before the full Go build and package matrix.
|
||||
4. Keep accepted truth checkpoints and dependent candidates on branches until the phase is complete. Rebase or rebuild a retained candidate from exact `main` only when starting a new phase, preserving main's owning truth on conflicts and transplanting only approved scoped code, tests, and new facts.
|
||||
5. Open one pull request for the complete phase, resolve required review/checks, meet the [release approval boundary](./docs/standards/versioning.md#automatic-publication) before a publishing merge, squash-merge it once, deploy that merged revision when authorized, perform scoped postflight, then audit references and reparse safety before cleanup.
|
||||
|
||||
@@ -95,11 +98,21 @@ require a wire bump.
|
||||
|
||||
Clean up worktrees and branches only after semantic review and integration are complete and the normal merged-head, open-reference, clean-tree, and non-following link checks pass. Never merge an old branch wholesale after a newer truth checkpoint.
|
||||
|
||||
For owner-managed manual deletion, collect permitted retired artifacts in
|
||||
`Desktop/Piik-cleanup` with their original paths. Keep worktrees under Git's cleanup
|
||||
workflow. Targets of a policy-rejected cleanup stay in place and go in that path
|
||||
index; do not substitute a move for the rejected deletion.
|
||||
|
||||
## Research Standard
|
||||
|
||||
The [engineering reference](./docs/standards/engineering.md) owns module and
|
||||
interface discipline, including the post-change ablation pass.
|
||||
|
||||
External citations in repository files must use publicly published, verifiable
|
||||
sources, such as documentation, open-source repositories, articles and websites.
|
||||
Interoperability guides and compatibility notes may name the relevant tools;
|
||||
retain required attribution and licenses.
|
||||
|
||||
Follow the [naming convention](./docs/standards/naming.md) for product copy,
|
||||
commands, packages and code ownership. Keep display names separate from stable
|
||||
protocol identifiers; use normal language-specific identifier conventions.
|
||||
@@ -112,18 +125,61 @@ protocol identifiers; use normal language-specific identifier conventions.
|
||||
their own licenses and notices. GPL/AGPL implementation sources remain
|
||||
study-only unless a separate distribution decision accepts their obligations.
|
||||
|
||||
## Temporary Dependency Patches
|
||||
|
||||
Distinguish an upstream defect from a missing capability or a Piik integration
|
||||
error. Reproduce defects through the dependency's public API without Piik;
|
||||
requiring a new API demonstrates a capability gap, not a broken existing contract.
|
||||
For capability additions, prefer a Piik adapter through existing public extension
|
||||
points. Where those are insufficient, expose a narrow reusable hook and keep
|
||||
application policy outside the dependency. Compare total ownership: moving or
|
||||
duplicating private internals into an adapter does not remove maintenance cost.
|
||||
Evaluate larger feature additions as dependency choices, rather than treating
|
||||
them as small fixes.
|
||||
|
||||
The [dependency provenance](./internal/thirdparty/README.md) owns official
|
||||
baselines, retained patches and removal criteria. Review upstream when changing
|
||||
a patched dependency and before phase acceptance. Do not create a second patch
|
||||
inventory or edit shared package caches.
|
||||
|
||||
Prepare an update from the recorded base and patch head in a new directory:
|
||||
|
||||
```sh
|
||||
node scripts/sync-upstream.mjs --source <fork-url-or-local-clone> --upstream <official-url-or-local-clone> --base <official-base> --head <patch-head> --out build/upstream-candidate
|
||||
```
|
||||
|
||||
The tool fetches official `HEAD` (or `--onto <ref>`) and replays the patch range.
|
||||
It records exact revisions, upstream-equivalent patches and conflicts in
|
||||
`.git/piik-upstream-sync.json`, with the successful range comparison in
|
||||
`.git/piik-upstream-range-diff.txt`. Existing clones, local edits and Piik pins
|
||||
remain unchanged. Conflicts stay in the candidate for review.
|
||||
|
||||
Inspect that comparison, then run the dependency's relevant checks and Piik's
|
||||
existing reproduction or acceptance gate before changing a pin. When upstream
|
||||
covers the retained behavior, remove the replacement. The tool prepares source;
|
||||
it does not publish changes or approve a dependency update.
|
||||
|
||||
## Verification Entrypoints
|
||||
|
||||
Every retained test must be collected by a documented verification entry point.
|
||||
Confirm runner inclusion when adding or moving a test; a file's presence alone
|
||||
does not establish coverage.
|
||||
|
||||
Use local incremental builds and scoped checks during iteration. Batch GitHub
|
||||
Actions at review and acceptance boundaries; reuse passing results for unchanged
|
||||
code instead of repeatedly running the full platform matrix for one candidate.
|
||||
|
||||
- `npm run check` owns deterministic Web type-check, unit, and build acceptance.
|
||||
- `npm audit --audit-level=high` checks the locked Web/build dependencies for known high or critical advisories. It complements upstream release review; a clean database scan does not establish that no unpublished or newly disclosed fix exists.
|
||||
- `npm run check:go` owns Go formatting, unit tests, vet, Windows/Linux
|
||||
builds, Darwin builds on macOS, and the current platform's capture compile/probe.
|
||||
The server core is Go, so its acceptance runs here. It builds the Web UI first when
|
||||
that output is missing, because both binaries embed it. CI invokes these same
|
||||
package commands rather than rebuilding their steps in YAML.
|
||||
- `npm run check:go-core` runs the Go formatting, tests, vet and build stages
|
||||
without platform capture/probing. Windows desktop input and global hotkey
|
||||
acceptance are opt-in: set `PIIK_INPUT_GATE=1` when running
|
||||
`go test ./internal/app/remoteinput` in an isolated desktop session.
|
||||
- `npm run check:go-race` checks port mapping, media forwarding, media-edge and native-control
|
||||
ownership, loopback delivery, service storage shutdown and scoped NAT dependencies with Go's race detector. It
|
||||
requires a supported cgo toolchain; CI runs it on Linux.
|
||||
@@ -209,6 +265,14 @@ Do not add a changelog file or release-note archive.
|
||||
Standalone website, documentation and maintenance phases do not need product
|
||||
release notes; their public description stays in the PR.
|
||||
|
||||
For internal candidate review, name the previous release and the exact revisions
|
||||
of the packages and guides being tried. Group changes by the task a person can
|
||||
try. Give each distinct user-visible change an action, its expected result and
|
||||
the evidence available at that entry. A screenshot can show a new control. A
|
||||
short recording can show its motion. For a backend fix, give the triggering
|
||||
condition and observed outcome, including the platform or simulation used.
|
||||
Mark field checks that remain open. Keep this checklist with the candidate.
|
||||
|
||||
Durable semantic or current-snapshot changes must update their single owner in the same integration boundary. Ordinary implementation and bug fixes may be complete with code plus focused evidence.
|
||||
|
||||
## Local Hooks
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<p align="center">
|
||||
<a href="https://piik.tv">Website</a> ·
|
||||
<a href="https://github.com/TNTcraftHIM/Piik/releases">Download</a> ·
|
||||
<a href="https://gitee.com/TNTcraftHIM/Piik/releases">Gitee mirror</a> ·
|
||||
<a href="https://atomgit.com/TNTcraftHIM/Piik/releases">AtomGit mirror</a> ·
|
||||
<a href="https://demo.piik.tv">Use online</a> ·
|
||||
<a href="https://piik.tv/docs/?lang=en">Documentation</a>
|
||||
</p>
|
||||
@@ -50,22 +50,14 @@ on your own server.
|
||||
|
||||
## Get started
|
||||
|
||||
**To watch:** open the invitation your friend sends you. Select **Play** if the
|
||||
picture does not start automatically.
|
||||
**Got an invitation?** Open the full link in a browser on your computer or phone. If the picture does not start automatically, select **Play**.
|
||||
|
||||
**To share:** download **Piik App** to get started. To share without installing,
|
||||
you can also create a room in the online version.
|
||||
|
||||
| Start here | What you need to do |
|
||||
| --- | --- |
|
||||
| [Use Piik online](https://demo.piik.tv) | Share from a desktop browser, or choose Camera on a phone with browser camera support. |
|
||||
| [Download Piik App](https://piik.tv/#download) | Extract and open the App, choose **Public invite**, then **Open Piik** to create a temporary room. |
|
||||
1. **Choose how to share.** On a computer, open [Piik online](https://demo.piik.tv) to share a screen, window or browser tab. A phone browser with camera access can share its camera. To share with Piik App, [download the App](https://piik.tv/#download), then extract and open it on desktop or install and open it on mobile. To invite friends on another network, choose **Public invite**, then **Open Piik**.
|
||||
2. Select **Start sharing** and choose what your friend will see. If you want to share sound, enable audio when the source picker offers it.
|
||||
3. Once you see the preview, select **Copy invite link** and send the full link to your friend. Keep the sharing tab open. If you use the App, keep it running too.
|
||||
|
||||
<p align="center"><img src="./docs/assets/quickstart.svg" width="640" alt="Choose a screen, send an invitation, watch together."></p>
|
||||
|
||||
1. Select **Start sharing**, then choose the picture and audio to share.
|
||||
2. Select **Copy invite link** and send it to your friends. Keep the sharing tab open.
|
||||
|
||||
Open **Interact → Voice** to talk together, with or without picture sharing.
|
||||
The Host opens voice; everyone joins to listen and chooses when to turn on their microphone.
|
||||
|
||||
@@ -90,7 +82,7 @@ Deploy Piik Server to run a site for your group.
|
||||
|
||||
<p><a href="./docs/operations/self-hosting.md#docker-compose"><img src="https://img.shields.io/badge/Deploy_with-Docker_Compose-2764c4?style=for-the-badge&logo=docker&logoColor=white" alt="Deploy Piik with Docker Compose"></a></p>
|
||||
|
||||
Piik Server is a standalone binary with the web interface built in.
|
||||
Piik Server runs on Windows x64 and Linux x64/ARM64, with the web interface built in.
|
||||
Download the Server package for Linux x64 (`piik-<revision>-runtime.tar.gz`)
|
||||
or ARM64 (`piik-<revision>-linux-arm64-runtime.tar.gz`),
|
||||
extract it, and run:
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<p align="center">
|
||||
<a href="https://piik.tv/?lang=zh-CN">官网</a> ·
|
||||
<a href="https://github.com/TNTcraftHIM/Piik/releases">下载</a> ·
|
||||
<a href="https://gitee.com/TNTcraftHIM/Piik/releases">Gitee 镜像</a> ·
|
||||
<a href="https://atomgit.com/TNTcraftHIM/Piik/releases">AtomGit 镜像</a> ·
|
||||
<a href="https://demo.piik.tv">在线版</a> ·
|
||||
<a href="https://piik.tv/docs/zh/">文档中心</a>
|
||||
</p>
|
||||
@@ -48,20 +48,14 @@ Piik 是一个免费开源的私密屏幕共享工具,适合游戏直播、一
|
||||
|
||||
## 开始使用
|
||||
|
||||
**观看分享:** 打开朋友发来的邀请链接。画面没有自动播放时,点击**播放**即可。
|
||||
**收到邀请?** 在电脑或手机浏览器打开朋友发来的完整链接即可观看。画面没有自动播放时,点 **播放**。
|
||||
|
||||
**分享画面:** 推荐下载 **Piik App**。想免安装,也可以打开在线版直接创建房间。
|
||||
|
||||
| 从这里开始 | 需要做什么 |
|
||||
| --- | --- |
|
||||
| [使用在线版](https://demo.piik.tv) | 用电脑浏览器分享画面;手机浏览器支持摄像头访问时,也可选择摄像头分享。 |
|
||||
| [下载 Piik App](https://piik.tv/?lang=zh-CN#download) | 解压并启动 Piik App,选择**公网邀请**,点击**进入 Piik**,创建临时房间。 |
|
||||
1. **选择分享方式。** 在电脑上分享屏幕、窗口或浏览器标签页,可以直接打开[在线版](https://demo.piik.tv)。手机浏览器支持摄像头时,也能分享摄像头画面。要用 Piik App 分享,请[下载 App](https://piik.tv/?lang=zh-CN#download),电脑上解压后打开,手机上安装后打开。邀请异地朋友时,选 **公网邀请**,再点 **进入 Piik**。
|
||||
2. 点 **开始分享**,选要给朋友看的画面。如果选源窗口提供声音选项,需要分享声音时将它打开。
|
||||
3. 看到预览后,点 **复制邀请链接**,把完整链接发给朋友。分享期间保持这个标签页打开;使用 App 时也要保持 App 运行。
|
||||
|
||||
<p align="center"><img src="./docs/assets/quickstart.svg" width="640" alt="选择画面,发送邀请,一起观看。"></p>
|
||||
|
||||
1. 点击**开始分享**,选择要分享的画面和声音。
|
||||
2. 点击**复制邀请链接**,发给朋友。分享期间保持标签页打开。
|
||||
|
||||
打开 **互动 → 语音** 即可一起聊天,开播前后都能使用。
|
||||
房主开启语音后,大家自行加入收听,想说话时再打开自己的麦克风。
|
||||
|
||||
@@ -82,7 +76,7 @@ Piik App 可创建本地房间或临时公网邀请,也能在后台为已授
|
||||
|
||||
<p><a href="./docs/operations/self-hosting.zh-CN.md#使用-docker-compose"><img src="https://img.shields.io/badge/Deploy_with-Docker_Compose-2764c4?style=for-the-badge&logo=docker&logoColor=white" alt="使用 Docker Compose 部署 Piik"></a></p>
|
||||
|
||||
Piik Server 是一个内置网页界面的独立程序。
|
||||
Piik Server 是内置网页界面的独立程序,支持 Windows x64 和 Linux x64/ARM64。
|
||||
根据服务器架构下载 Linux x64 的 `piik-<revision>-runtime.tar.gz` 或 ARM64 的
|
||||
`piik-<revision>-linux-arm64-runtime.tar.gz`,解压后运行:
|
||||
|
||||
|
||||
@@ -7,6 +7,10 @@ interface in your system Browser.
|
||||
|
||||
## Run A Package
|
||||
|
||||
For Android APK installation and the shared browser workflow, follow
|
||||
[Getting started](../../docs/guide/getting-started.md#share-with-piik-app).
|
||||
The package, terminal and command-line instructions below apply to desktop App.
|
||||
|
||||
Extract the matching platform bundle in full. On Windows and Linux, keep
|
||||
`runtime` beside the App executable and run `piik-app.exe` or `./piik-app`.
|
||||
On macOS, open `Piik App.app`; you can move the whole `.app` to Applications.
|
||||
@@ -30,7 +34,8 @@ service. To supply capture to an existing site, leave the launcher open and
|
||||
App remembers the last confirmed room mode. On first use, **Public invite** is
|
||||
selected and waits for confirmation. A starred site opens on startup instead.
|
||||
|
||||
The launcher checks releases through GitHub, with Gitee as an alternative.
|
||||
The launcher checks releases through GitHub. Published binaries retain their
|
||||
Gitee fallback; use AtomGit for current manual mirror downloads.
|
||||
Its update button downloads your platform's ZIP, or opens Releases if no package
|
||||
matches. **Release notes** opens the changes; major upgrades show a warning.
|
||||
Follow the [upgrade steps](#upgrading) to replace App.
|
||||
@@ -43,16 +48,18 @@ App selects a sole active address or sole private IPv4 automatically. When
|
||||
several are available, choose **Local invitation address** in the launcher.
|
||||
For a [virtual LAN](../../docs/guide/network.md#optional-a-virtual-lan), choose its virtual IPv4.
|
||||
|
||||
Friends use the HTTPS invitation on that address; the Host uses the local
|
||||
loopback page. On first access, friends must [confirm the certificate](../../docs/guide/troubleshooting.md#local-https-certificate-warning)
|
||||
against the App terminal. Repeat confirmation after App restarts.
|
||||
Use the local loopback page on the computer running App. Send friends the HTTPS
|
||||
invitation for the selected LAN address. On their first visit, compare the
|
||||
fingerprint shown on their device with the one in your App terminal before they
|
||||
[confirm the certificate](../../docs/guide/troubleshooting.md#local-https-certificate-warning).
|
||||
Repeat confirmation after App restarts.
|
||||
|
||||
### Public Invite
|
||||
|
||||
Choose **Public invite**, create a room in the opened browser, and send its invitation.
|
||||
The packaged Cloudflare Tunnel helper supplies a temporary `trycloudflare.com`
|
||||
HTTPS address. It expires when App closes; a later run gets a new address.
|
||||
For a permanent address, use a configured Piik site.
|
||||
For a fixed address, use an existing Piik site or follow the [frp guide for your App version](../../docs/guide/frp.md#desktop-app).
|
||||
|
||||
Local and Public invite use P2P picture and sound, outside the web tunnel.
|
||||
They need a usable UDP media path and provide no server media forwarding (SFU)
|
||||
@@ -125,14 +132,14 @@ Different 2.x versions preserve established sharing and viewing. New features
|
||||
require support from the relevant App and site.
|
||||
|
||||
1. Read the release notes on [GitHub](https://github.com/TNTcraftHIM/Piik/releases/latest)
|
||||
or [Gitee](https://gitee.com/TNTcraftHIM/Piik/releases).
|
||||
or [AtomGit](https://atomgit.com/TNTcraftHIM/Piik/releases).
|
||||
2. For Local room or Public invite, stop sharing, close App and extract the
|
||||
complete new package. Start it and send a fresh invitation.
|
||||
3. For a group's site, the administrator [updates Server](../../docs/operations/service-management.md)
|
||||
first. Then update connected Apps and refresh all sharing/viewing pages.
|
||||
|
||||
The launcher update button downloads the package; **Gitee mirror** is an
|
||||
alternative source. Restarting App or Server interrupts active shares.
|
||||
The launcher update button downloads the package; the
|
||||
[AtomGit mirror](https://atomgit.com/TNTcraftHIM/Piik/releases) is an alternative source. Restarting App or Server interrupts active shares.
|
||||
|
||||
## Terminal And Shutdown
|
||||
|
||||
|
||||
@@ -6,6 +6,9 @@ Piik App 通过系统浏览器中的 Piik 网页界面,提供本地房间与
|
||||
|
||||
## 运行程序包
|
||||
|
||||
安卓 APK 安装与共用的浏览器操作流程见[上手指南](../../docs/guide/getting-started.zh-CN.md#用-piik-app-分享)。
|
||||
下方程序包、终端与命令行说明适用于桌面 App。
|
||||
|
||||
完整解压对应平台的程序包。Windows 和 Linux 保留 App 程序旁的 `runtime` 目录,
|
||||
分别运行 `piik-app.exe` 或 `./piik-app`。
|
||||
macOS 打开 `Piik App.app`,也可以将整个 `.app` 移到「应用程序」。
|
||||
@@ -27,7 +30,7 @@ macOS 原生采集需要 macOS 13 或更新版本。目前主要测试 Windows A
|
||||
App 会记住上次确认的房间模式。首次使用默认选中 **公网邀请**,确认后才启动;
|
||||
有收藏站点时,启动后直接打开该站点。
|
||||
|
||||
启动页通过 GitHub 检查更新,Gitee 作为备用来源。更新按钮下载对应平台的 ZIP;
|
||||
启动页通过 GitHub 检查更新;已发布客户端仍内置 Gitee 备用来源,当前手动备用下载请使用 AtomGit。
|
||||
没有匹配包时打开发布页。**版本说明** 可查看改动,大版本升级会另行提示。
|
||||
替换 App 的操作见[升级步骤](#升级)。
|
||||
|
||||
@@ -38,14 +41,15 @@ App 会记住上次确认的房间模式。首次使用默认选中 **公网邀
|
||||
App 自动选择唯一的活动地址或私有 IPv4;有多个地址时,在启动页的 **局域网邀请地址** 中选择。
|
||||
使用[虚拟局域网](../../docs/guide/network.zh-CN.md#可选虚拟局域网)时,选择对应的虚拟 IPv4。
|
||||
|
||||
朋友使用该地址下的 HTTPS 邀请,房主使用本机页面。朋友首次访问时,需与 App 终端核对
|
||||
[证书指纹](../../docs/guide/troubleshooting.zh-CN.md#本地-https-证书提示);App 重启后重新确认。
|
||||
在运行 App 的电脑上打开本机页面,把所选局域网地址对应的 HTTPS 邀请发给朋友。
|
||||
朋友首次打开邀请时,请一起核对朋友设备上显示的证书指纹和你电脑上 App 终端里的指纹,
|
||||
一致后再[确认证书](../../docs/guide/troubleshooting.zh-CN.md#本地-https-证书提示)。App 重启后需重新确认。
|
||||
|
||||
### 公网邀请
|
||||
|
||||
选择 **公网邀请**,在打开的浏览器中创建房间,再发送邀请链接。
|
||||
程序包中的 Cloudflare Tunnel 提供临时 `trycloudflare.com` HTTPS 地址,App 关闭后失效,
|
||||
下次启动会生成新地址。需要固定地址时,请使用配置好的 Piik 站点。
|
||||
下次启动会生成新地址。需要固定地址时,可以使用已有 Piik 站点,也可以按 [frp 指南](../../docs/guide/frp.zh-CN.md#桌面-app)查看当前 App 版本的设置方式。
|
||||
|
||||
本地房间和公网邀请的画面、声音通过 P2P 传输,不经过网页隧道;需要可用的 UDP 媒体路径,
|
||||
没有服务器媒体转发(SFU)或 TURN 中继。隧道或媒体连接失败时,查看
|
||||
@@ -108,12 +112,12 @@ App 与站点需要使用同一大版本,**2.x 与 1.x 不能混用**。
|
||||
不同 2.x 版本保留已有的分享和观看功能,新功能需要相关 App 与站点支持。
|
||||
|
||||
1. 查看 [GitHub](https://github.com/TNTcraftHIM/Piik/releases/latest) 或
|
||||
[Gitee](https://gitee.com/TNTcraftHIM/Piik/releases) 上的版本说明。
|
||||
[AtomGit](https://atomgit.com/TNTcraftHIM/Piik/releases) 上的版本说明。
|
||||
2. 使用本地房间或公网邀请时,停止分享并关闭 App,完整解压新版程序包,重新启动后发送新邀请。
|
||||
3. 使用已有站点时,由管理员先[更新 Server](../../docs/operations/service-management.zh-CN.md),
|
||||
再更新连接的 App,并刷新所有分享与观看页面。
|
||||
|
||||
启动页的更新按钮可下载程序包,**Gitee 备用下载** 提供备用来源。
|
||||
启动页的更新按钮可下载程序包;[AtomGit 镜像](https://atomgit.com/TNTcraftHIM/Piik/releases)提供当前备用下载。
|
||||
重启 App 或 Server 会中断当前分享。
|
||||
|
||||
## 终端与关闭
|
||||
|
||||
@@ -10,10 +10,9 @@ import (
|
||||
"flag"
|
||||
"fmt"
|
||||
"os"
|
||||
"os/signal"
|
||||
"syscall"
|
||||
|
||||
"github.com/TNTcraftHIM/Piik/internal/app"
|
||||
"github.com/TNTcraftHIM/Piik/internal/processsignal"
|
||||
)
|
||||
|
||||
func main() {
|
||||
@@ -37,6 +36,7 @@ func run(args []string) int {
|
||||
flags.BoolVar(&options.Debug, "debug", false, "save opt-in App diagnostics to rotated files")
|
||||
flags.StringVar(&options.LogDir, "log-dir", "", "diagnostic directory (overrides PIIK_LOG_DIR)")
|
||||
flags.StringVar(&options.CaptureProcess, "capture-process", "", "path to the platform native capture process")
|
||||
flags.StringVar(&options.PublicOrigin, "public-origin", "", "fixed HTTPS origin for an externally forwarded --link")
|
||||
flags.StringVar(&options.TunnelProcess, "tunnel-process", "", "path to the packaged public tunnel process")
|
||||
flags.StringVar(&options.ConfigPath, "config", "", "path to the App configuration file")
|
||||
flags.StringVar(&options.LANAddress, "lan-address", "", "LAN IPv4 address used in Local invitations")
|
||||
@@ -49,7 +49,7 @@ func run(args []string) int {
|
||||
}
|
||||
options.DisableBrowser = os.Getenv("PIIK_CLIENT_GATE_NO_BROWSER") == "true"
|
||||
|
||||
ctx, stop := signal.NotifyContext(context.Background(), os.Interrupt, syscall.SIGTERM)
|
||||
ctx, stop := processsignal.NotifyContext(context.Background())
|
||||
defer stop()
|
||||
if options.DisableBrowser {
|
||||
go func() {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Command piik-server is the Hosted Piik entry point: it loads the
|
||||
// environment, serves the embedded Browser UI together with the signaling and
|
||||
// room API, and stops on SIGINT or SIGTERM.
|
||||
// room API, and performs ordered process shutdown.
|
||||
//
|
||||
// Two maintenance modes exit without serving: --check-config validates the
|
||||
// environment (the release wrapper runs it as the service user before cutover)
|
||||
@@ -17,13 +17,12 @@ import (
|
||||
"log"
|
||||
"log/slog"
|
||||
"os"
|
||||
"os/signal"
|
||||
"path/filepath"
|
||||
"strings"
|
||||
"syscall"
|
||||
"time"
|
||||
|
||||
"github.com/TNTcraftHIM/Piik/internal/diagnostics"
|
||||
"github.com/TNTcraftHIM/Piik/internal/processsignal"
|
||||
"github.com/TNTcraftHIM/Piik/internal/server/app"
|
||||
"github.com/TNTcraftHIM/Piik/internal/server/config"
|
||||
"github.com/TNTcraftHIM/Piik/internal/server/webassets"
|
||||
@@ -143,7 +142,7 @@ func serve(debug bool) (returnedErr error) {
|
||||
logger.Info("HTTPS certificate", "sha256", tlsconfig.Fingerprint(configuration.TLS))
|
||||
}
|
||||
|
||||
ctx, stop := signal.NotifyContext(context.Background(), os.Interrupt, syscall.SIGTERM)
|
||||
ctx, stop := processsignal.NotifyContext(context.Background())
|
||||
// One bounded background lookup never delays serving. Join it before closing
|
||||
// diagnostic outputs so shutdown cannot leave a late writer behind.
|
||||
releaseChecked := make(chan struct{})
|
||||
@@ -158,10 +157,14 @@ func serve(debug bool) (returnedErr error) {
|
||||
stop()
|
||||
<-releaseChecked
|
||||
}()
|
||||
<-ctx.Done()
|
||||
var serveErr error
|
||||
select {
|
||||
case <-ctx.Done():
|
||||
case serveErr = <-server.Done():
|
||||
}
|
||||
shutdownCtx, cancel := context.WithTimeout(context.Background(), shutdownTimeout)
|
||||
defer cancel()
|
||||
return server.Close(shutdownCtx)
|
||||
return errors.Join(serveErr, server.Close(shutdownCtx))
|
||||
}
|
||||
|
||||
func serverDebugEnabled(value string) bool {
|
||||
|
||||
@@ -19,7 +19,7 @@ import (
|
||||
|
||||
// The Browser notice and operator checker read the same published release.
|
||||
const defaultReleaseAPIURL = "https://api.github.com/repos/TNTcraftHIM/Piik/releases/latest"
|
||||
const mirrorReleaseAPIURL = "https://gitee.com/api/v5/repos/TNTcraftHIM/Piik/releases"
|
||||
const mirrorReleaseAPIURL = "https://api.atomgit.com/api/v5/repos/TNTcraftHIM/Piik/releases"
|
||||
|
||||
// deploy/check-release.sh forwards these codes without installing anything.
|
||||
const (
|
||||
@@ -29,7 +29,7 @@ const (
|
||||
releaseTimeout = 5 * time.Second
|
||||
releaseURLPrefix = "https://github.com/TNTcraftHIM/Piik/releases/tag/"
|
||||
releaseAPIHost = "api.github.com"
|
||||
mirrorReleasePrefix = "https://gitee.com/TNTcraftHIM/Piik/releases/tag/"
|
||||
mirrorReleaseURL = "https://atomgit.com/TNTcraftHIM/Piik/releases"
|
||||
)
|
||||
|
||||
var fullRevisionPattern = regexp.MustCompile(`^[0-9a-f]{40}$`)
|
||||
@@ -288,5 +288,5 @@ func parseMirrorReleaseMetadata(payload []byte) (version, revision, releaseURL s
|
||||
if !ok {
|
||||
return "", "", "", false
|
||||
}
|
||||
return version, revision, mirrorReleasePrefix + version, true
|
||||
return version, revision, mirrorReleaseURL, true
|
||||
}
|
||||
@@ -309,7 +309,7 @@ func TestMirrorFallbackUsesOriginalSourceAndCompleteStablePagination(t *testing.
|
||||
}))
|
||||
defer mirror.Close()
|
||||
result := checkRelease(t.Context(), deployedVersion, deployedRevision, primary.URL, "operator-secret", mirror.URL)
|
||||
assertResult(t, result, statusUpdateAvailable, deployedVersion, latestVersion, deployedRevision, latestRevision, mirrorReleasePrefix+latestVersion)
|
||||
assertResult(t, result, statusUpdateAvailable, deployedVersion, latestVersion, deployedRevision, latestRevision, mirrorReleaseURL)
|
||||
if mirrorCalls != 2 {
|
||||
t.Fatalf("mirror calls = %d", mirrorCalls)
|
||||
}
|
||||
|
||||
@@ -11,7 +11,7 @@ This page indexes developer and maintainer references.
|
||||
| Task | Guide |
|
||||
| --- | --- |
|
||||
| Try or change the source code | [Run from source](#run-from-source) |
|
||||
| Find a directory or the module responsible for a behavior | [Repository layout and module map](./standards/engineering.md#repository-layout) |
|
||||
| Find a module, interface, lifecycle or source entry point | [Engineering maps and source index](./standards/engineering.md#repository-layout) |
|
||||
| Find the shared product, design and lifecycle rules | [Standards index](./standards/README.md) |
|
||||
| Deploy or configure a service | [Self-hosting](./operations/self-hosting.md) · [Configuration](./standards/configuration.md) · [Service management](./operations/service-management.md) |
|
||||
| Build App packages and native capture | [App development](../cmd/piik-app/DEVELOPMENT.md) |
|
||||
|
||||
@@ -84,7 +84,7 @@ Peer relay is part of the deployed Browser route owned by ADR-0005. This ADR
|
||||
retains only the experiment evidence used to evaluate that route; its historical
|
||||
policy and gates do not independently authorize current behavior.
|
||||
|
||||
The current accepted endpoint rule is one server-authoritative downstream
|
||||
The current ordinary endpoint rule is one server-authoritative downstream
|
||||
capacity for every non-server endpoint, default `2` and statically configurable
|
||||
as `1`, `2`, or `3`; upstream receive is free and role or user agent does not
|
||||
create an exception. ADR-0005 owns the implemented and deployed Browser route
|
||||
@@ -113,8 +113,9 @@ Negative:
|
||||
- ADR-0001 remains the direct browser P2P baseline.
|
||||
- ADR-0005 owns current automatic routing and capacity invariants.
|
||||
- ADR-0007 owns path-quality evidence and representation behavior.
|
||||
- A future native shared-encode sender or relay requires its own decision and
|
||||
evidence; this experiment does not pre-approve it.
|
||||
- [ADR-0013](./0013-embedded-node-local-media.md) and
|
||||
[ADR-0014](./0014-browser-node-local-encoding-pool.md) own accepted encoding
|
||||
reuse; this experiment does not define that behavior.
|
||||
|
||||
## References
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
- Date: 2026-08-20
|
||||
- Last updated: 2026-08-30
|
||||
|
||||
The current candidate replaces this ADR's external LiveKit room/token lifecycle
|
||||
ADR-0013 replaces this ADR's external LiveKit room/token lifecycle
|
||||
with admitted in-process SFU resources under [ADR-0013](./0013-embedded-node-local-media.md).
|
||||
Exact physical subscription closure now releases its reservation. The graph,
|
||||
capacity and serial-operation decisions below remain; external-service details
|
||||
@@ -39,30 +39,27 @@ behavior are unchanged.
|
||||
### One Capacity Rule
|
||||
|
||||
Every non-server endpoint uses one server-authoritative steady outbound media-
|
||||
copy cap `C`: default `2`, configurable only as `1`, `2`, or `3`.
|
||||
copy cap. The site's initial default is `2`, configurable as `1`, `2`, or `3`.
|
||||
Room defaults, personal choices and published-client behavior follow the
|
||||
[endpoint capacity contract](../standards/routing-transport.md#endpoint-and-server-capacity).
|
||||
|
||||
- one ordinary peer child consumes one copy;
|
||||
- the Host's single SFU publication consumes one copy;
|
||||
- upstream receive consumes none;
|
||||
- role, Browser, UA, device, visibility, codec, and room Viewer limit do not
|
||||
create another tier;
|
||||
- a client may advertise only `0..C` currently available copies, producing the
|
||||
controller's effective capacity.
|
||||
- endpoint capability bounds the controller's applied policy.
|
||||
|
||||
That advertised capacity belongs to the connected endpoint, not one sharing
|
||||
generation. Replacing the room graph retains it; Viewer departure or room
|
||||
deletion clears it.
|
||||
|
||||
One transition-overlap reservation may temporarily raise a producer to
|
||||
`min(C + 1, 3)`. Commit or abort releases it. A fourth endpoint copy is never
|
||||
authorized. SFU ingress and subscription egress are independent server resources
|
||||
and are not inferred from endpoint child counts.
|
||||
|
||||
The room-voice candidate adds an explicit, session-scoped relay volunteer
|
||||
override under the [endpoint capacity contract](../standards/routing-transport.md#endpoint-and-server-capacity).
|
||||
It retains ordinary caps and one serial overlap reservation, but a capable
|
||||
volunteer's admitted fanout may reach 20, with one extra transition slot.
|
||||
This exception does not turn an ordinary Viewer into a separate SFU worker.
|
||||
One admitted transition-overlap reservation may temporarily add a copy within
|
||||
the endpoint's physical capability. Commit or abort releases it; a backend
|
||||
reporting at most three copies never receives a fourth. SFU ingress and
|
||||
subscription egress are independent server resources and are not inferred from
|
||||
endpoint child counts. Increasing an endpoint's limit retains ordinary Peer
|
||||
forwarding rather than creating a separate SFU worker.
|
||||
|
||||
### One Graph And Reconcile Loop
|
||||
|
||||
@@ -84,9 +81,9 @@ relay or a relay with reduced capacity accepts no new children; only its
|
||||
deterministic overflow children are reassigned. A relay whose ingress fails is
|
||||
itself reparented while its descendants remain attached.
|
||||
|
||||
### Room Media Lifetime (Candidate)
|
||||
### Room Media Lifetime
|
||||
|
||||
The room-voice candidate keeps this graph at room lifetime, with independent
|
||||
Room voice keeps this graph at room lifetime, with independent
|
||||
picture generations and voice publications. Its existing serial operation also
|
||||
owns video attachment and composite picture/voice readiness; physical facets
|
||||
have distinct identities so retiring one cannot remove the others. The
|
||||
@@ -148,6 +145,10 @@ and pending route revisions, and one candidate connection identity. SFU routes
|
||||
also carry a publication generation. Duplicate current messages are idempotent;
|
||||
stale asynchronous results fail closed.
|
||||
|
||||
Revision allocation belongs to the room's lifetime, including stopped shares and
|
||||
replacement controllers. Releasing a controller does not make its revisions
|
||||
available again; ending room authority releases the sequence.
|
||||
|
||||
The old committed route remains authoritative while the candidate prepares.
|
||||
Parent and child prepare the same server-issued connection identity. Standard
|
||||
ICE connected is progress only. For availability work, the exact candidate child
|
||||
|
||||
@@ -30,8 +30,8 @@ connection acquisition reuses the route controller's existing opportunity ledger
|
||||
2. An enabled Site derives ports 3479 and 3480 from its first ordinary STUN
|
||||
authority on UDP 3478. Public-link App mode supplies three ordinary public
|
||||
STUN destinations, reusing the same set for its prediction survey; disabling
|
||||
prediction retains ordinary discovery redundancy. Pure LAN mode supplies
|
||||
none. The same accepted share policy and ICE configuration cover every
|
||||
prediction retains ordinary discovery redundancy. LAN mode uses its local
|
||||
STUN endpoint without a prediction survey. The same accepted share policy and ICE configuration cover every
|
||||
Browser or Native P2P edge. SFU PeerConnections remain unchanged.
|
||||
3. For one ICE gathering generation, the adapter observes only UDP `srflx`
|
||||
candidates belonging to the exact three-destination survey set. Browser
|
||||
@@ -78,10 +78,13 @@ connection acquisition reuses the route controller's existing opportunity ledger
|
||||
PeerConnection. It reuses the current peer/session/connection authorization
|
||||
and the same share policy; Browser peers decline immediately. Each Engine
|
||||
permits one preparation: an ordered three-destination observation, then
|
||||
checks against one bounded peer endpoint. Three equal observations retain
|
||||
checks against a bounded peer endpoint. Three equal observations retain
|
||||
that exact socket; a positive sequential observation closes it before opening
|
||||
at most eight temporary sockets. These cases can pair in either direction;
|
||||
neither observation establishes a permanent NAT classification. The bound
|
||||
neither observation establishes a permanent NAT classification. A retained
|
||||
stable socket may alternate two predicted sequential peer endpoints within
|
||||
the existing rounds, locking one tuple upon its first authenticated request
|
||||
or matching transaction response. Other tuples are then ignored. The bound
|
||||
remains 64 requests and 64 authenticated replies. Survey readers, writers
|
||||
and cancellation callbacks retire before socket reuse or transfer. The page
|
||||
waits at most 3.5 seconds; the App
|
||||
|
||||
@@ -44,7 +44,7 @@ topologies and makes a saved Site unavailable while another room source runs.
|
||||
3. Discovery returns a per-process `instanceToken`. The WebSocket subprotocol
|
||||
echoes it so the Browser connects to the process it discovered. This value is
|
||||
public process identity, not authentication. The listener accepts the current
|
||||
Local Host origin and the one user-saved Site origin. Origin and Host
|
||||
Local Host origin and individually approved Site origins. Origin and Host
|
||||
validation plus the Browser's local-network permission own this boundary.
|
||||
4. Native control starts with a strict `hello` handshake. Up to two participant
|
||||
control sessions may coexist; each retains its own share and media lifetime.
|
||||
@@ -139,8 +139,8 @@ topologies and makes a saved Site unavailable while another room source runs.
|
||||
added. Only a consumed App-launch marker travels in the URL fragment.
|
||||
Exact target identity travels over loopback.
|
||||
9. The App uses the system Browser as its only UI. It remains available to the
|
||||
saved Site before a room mode is chosen. Its persistent launcher offers Local
|
||||
and public link, shows the approved Site and allows revocation. Starting a
|
||||
approved Sites before a room mode is chosen. Its persistent launcher offers Local
|
||||
and public link, lists approved Sites and allows independent revocation. Starting a
|
||||
Local/public room does not disable that Site's native access or approval UI;
|
||||
neither visiting the launcher nor approving a Site creates a room. Command-line
|
||||
entry selectors remain automation inputs rather than the normal interface. An
|
||||
@@ -154,18 +154,17 @@ topologies and makes a saved Site unavailable while another room source runs.
|
||||
A participant on an approved Site consumes that Site's
|
||||
configured STUN survey. Both feed the same connection-local prediction
|
||||
adapter; Native additionally owns its UDP socket and best-effort port mapping.
|
||||
11. One App configuration owns the optional Site origin and an optional,
|
||||
11. One App configuration owns approved Site origins and an optional,
|
||||
user-chosen Local access password. A blank value leaves the Local site open;
|
||||
a value gates that site through the existing SiteAccess authority. The
|
||||
App bootstraps a selected page through a fragment consumed before
|
||||
authentication; the page retains only the non-secret App opt-in at its
|
||||
origin. Friends use the existing room invitation grant. No App-specific
|
||||
room authorization system is added. Site replacement/revocation uses this
|
||||
same configuration owner, immediately denies new control requests from the
|
||||
old origin and cancels its existing sessions. Retirement is bounded and does
|
||||
not wait for unrelated Local sessions. Cleanup failure never restores the
|
||||
revoked permission; concurrent approval pages must review a changed Site
|
||||
before replacing it.
|
||||
room authorization system is added. Adding a Site preserves other approvals.
|
||||
Revoking an origin through that same configuration owner immediately denies
|
||||
its new control requests and cancels only its existing sessions. Retirement
|
||||
is bounded and does not wait for unrelated Local or Site sessions. Cleanup
|
||||
failure never restores revoked permission.
|
||||
12. Local authority shutdown first ends every in-memory room through the current
|
||||
`room-closed` path, then closes signaling and HTTP. The App cancels the
|
||||
server context, calls that end-then-close sequence under one bounded
|
||||
@@ -179,8 +178,7 @@ topologies and makes a saved Site unavailable while another room source runs.
|
||||
Git revision and an explicit supported target. The Go binary embeds that
|
||||
release's built Browser assets and the package `REVISION` records the same
|
||||
revision; a revision mismatch fails rather than loading a stale private
|
||||
contract. App-scoped pull requests build every
|
||||
target and must start the assembled Local authority, pass `/healthz`, and
|
||||
contract. App package acceptance must start the assembled Local authority, pass `/healthz`, and
|
||||
stop it cleanly before the candidate is accepted.
|
||||
14. The root package manifest is the single dependency contract for the Browser
|
||||
bundle and repository tooling. No host installs packages to run Piik, so
|
||||
|
||||
@@ -48,9 +48,10 @@ acceptance. Mature simulcast implementations provide the starting model.
|
||||
forwarding every downstream request. Do not require server transcoding or
|
||||
recursive subtree demand to ship a forwarding SFU.
|
||||
8. Embed library-level STUN, preserving Binding and the three NAT-survey
|
||||
destinations without enabling TURN allocations. Evaluate an embedded SFU
|
||||
library through a narrow adapter. `inlivedev/sfu` is a candidate, not an
|
||||
irrevocable selection or authorization for a deep fork.
|
||||
destinations without enabling TURN allocations. Embed Pion transport and
|
||||
LiveKit media-core components through the shared forwarding adapter. The
|
||||
[library evaluation](../research/embedded-media.md) retains the candidate
|
||||
comparison and selection rationale.
|
||||
9. Pure Browser peers retain normal WebRTC capture/senders and can consume the
|
||||
same H264/VP8 output. No Browser encoded-passthrough promise, new codec family
|
||||
or application transport is introduced by this architecture.
|
||||
|
||||
@@ -14,7 +14,9 @@ producer's encoded payload/type and exposed codec metadata, with the outgoing
|
||||
stream's RTP clock. It avoids making one downstream
|
||||
connection the shared encoding authority. Small carrier encodes and local
|
||||
transport/decoder work remain real costs. Measured savings and recovery vary
|
||||
by codec; the prototype is not production acceptance.
|
||||
by codec. The initial prototype established feasibility; the subsequent
|
||||
implementation evidence and its physical limits remain in the linked research
|
||||
and [verification status](../verification-status.md).
|
||||
|
||||
This decision extends [ADR-0007](./0007-path-isolated-representation-quality.md)
|
||||
and [ADR-0013](./0013-embedded-node-local-media.md) for eligible Browser outputs.
|
||||
|
||||
|
Before Width: | Height: | Size: 8.7 KiB After Width: | Height: | Size: 9.8 KiB |
|
Before Width: | Height: | Size: 9.4 KiB After Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 9.2 KiB After Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 9.8 KiB After Width: | Height: | Size: 11 KiB |
@@ -4,10 +4,13 @@
|
||||
--person-ink: #263b43;
|
||||
--wall: #f3f5f8;
|
||||
--wall-2: #e5eaf2;
|
||||
--paper: #fffefb;
|
||||
--paper-rgb: 255 254 251;
|
||||
--paper: rgb(var(--paper-rgb));
|
||||
--paper-translucent: rgb(var(--paper-rgb) / .84);
|
||||
--ink: #29374a;
|
||||
--muted: color-mix(in srgb, var(--ink) 75%, var(--paper));
|
||||
--line: color-mix(in srgb, var(--ink) 20%, var(--paper));
|
||||
/* Opaque sRGB roles also work in WebViews without color-mix. */
|
||||
--muted: rgb(94.5 104.75 118.25);
|
||||
--line: rgb(212.2 214.2 215.6);
|
||||
/* Primary actions keep their identity; selection/focus follows the theme. */
|
||||
--primary: #2765ce;
|
||||
--primary-ink: #fff;
|
||||
@@ -23,16 +26,26 @@
|
||||
--control-hover: #eef3ff;
|
||||
--control-selected: #e5efff;
|
||||
--control-selected-ink: #214c9b;
|
||||
--control-edge: color-mix(in srgb, var(--ink) 57%, var(--paper));
|
||||
--control-edge: rgb(133.02 140.57 150.11);
|
||||
--surface-rim: rgb(255 255 255 / .95);
|
||||
--surface-shade: rgb(36 53 78 / .18);
|
||||
--surface-shade-rgb: 36 53 78;
|
||||
--surface-shade-alpha: .18;
|
||||
--surface-shade: rgb(var(--surface-shade-rgb) / var(--surface-shade-alpha));
|
||||
--surface-glaze: linear-gradient(165deg, rgb(255 255 255 / .6), transparent 65%, rgb(51 89 147 / .025));
|
||||
--control-shadow: 0 3px 0 var(--surface-shade), 0 5px 10px color-mix(in srgb, var(--surface-shade) 45%, transparent);
|
||||
--panel-shadow: inset 0 1px 0 var(--surface-rim), 0 3px 0 var(--surface-shade), 0 16px 36px color-mix(in srgb, var(--surface-shade) 55%, transparent);
|
||||
--control-shadow: 0 3px 0 var(--surface-shade), 0 5px 10px rgb(var(--surface-shade-rgb) / calc(var(--surface-shade-alpha) * .45));
|
||||
--panel-shadow: inset 0 1px 0 var(--surface-rim), 0 3px 0 var(--surface-shade), 0 16px 36px rgb(var(--surface-shade-rgb) / calc(var(--surface-shade-alpha) * .55));
|
||||
--piik-dark-wall: #242a34;
|
||||
--piik-dark-wall-2: #2c3543;
|
||||
--piik-dark-paper: #354153;
|
||||
--piik-dark-paper-rgb: 53 65 83;
|
||||
--piik-dark-paper: rgb(var(--piik-dark-paper-rgb));
|
||||
--piik-dark-ink: #f6f3eb;
|
||||
--piik-dark-muted: rgb(197.75 198.5 197);
|
||||
--piik-dark-line: rgb(91.6 100.6 113.4);
|
||||
--piik-dark-control-edge: rgb(145.64 150.44 155.96);
|
||||
--piik-dark-surface-rim: rgb(222 234 255 / .12);
|
||||
--piik-dark-surface-shade-rgb: 6 12 22;
|
||||
--piik-dark-surface-shade-alpha: .38;
|
||||
--piik-dark-surface-glaze: linear-gradient(165deg, rgb(224 237 255 / .06), transparent 65%, rgb(0 0 0 / .035));
|
||||
--piik-dark-action: #f6f3eb;
|
||||
--piik-dark-action-ink: #29374a;
|
||||
--piik-dark-action-text: var(--piik-dark-action);
|
||||
@@ -43,8 +56,11 @@
|
||||
@media (prefers-color-scheme: dark) { :root {
|
||||
--wall: var(--piik-dark-wall);
|
||||
--wall-2: var(--piik-dark-wall-2);
|
||||
--paper-rgb: var(--piik-dark-paper-rgb);
|
||||
--paper: var(--piik-dark-paper);
|
||||
--ink: var(--piik-dark-ink);
|
||||
--muted: var(--piik-dark-muted);
|
||||
--line: var(--piik-dark-line);
|
||||
--busy: #82b1ff;
|
||||
--live: #3fb97a;
|
||||
--warn: #e8a33d;
|
||||
@@ -56,10 +72,11 @@
|
||||
--control-hover: var(--piik-dark-hover);
|
||||
--control-selected: var(--piik-dark-selected);
|
||||
--control-selected-ink: var(--piik-dark-selected-ink);
|
||||
--control-edge: color-mix(in srgb, var(--ink) 48%, var(--paper));
|
||||
--surface-rim: rgb(222 234 255 / .12);
|
||||
--surface-shade: rgb(6 12 22 / .38);
|
||||
--surface-glaze: linear-gradient(165deg, rgb(224 237 255 / .06), transparent 65%, rgb(0 0 0 / .035));
|
||||
--control-edge: var(--piik-dark-control-edge);
|
||||
--surface-rim: var(--piik-dark-surface-rim);
|
||||
--surface-shade-rgb: var(--piik-dark-surface-shade-rgb);
|
||||
--surface-shade-alpha: var(--piik-dark-surface-shade-alpha);
|
||||
--surface-glaze: var(--piik-dark-surface-glaze);
|
||||
} }
|
||||
|
||||
text { fill: var(--ink); font: 600 26px system-ui, -apple-system, 'Segoe UI', 'Microsoft YaHei', sans-serif; text-anchor: middle; }
|
||||
@@ -69,4 +86,4 @@
|
||||
.source .glyph { color: var(--control-selected-ink); }
|
||||
.source text { fill: var(--control-selected-ink); }
|
||||
.path { fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
|
||||
</style><g transform="translate(0 0)"><g class="source"><rect class="node input" x="12" y="4" width="220" height="146" rx="22"></rect><g class="glyph" transform="translate(95 21)"><svg width="54" height="54" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" class="lr-glyph"><rect pathLength="1" x="2" y="4" width="20" height="16" rx="2"></rect><path pathLength="1" d="M2 9h20M6 6.5h.01M9 6.5h.01"></path></svg></g><text x="122" y="118">Source audio</text></g><rect class="node" x="368" y="4" width="220" height="146" rx="22"></rect><g class="glyph" transform="translate(451 21)"><svg width="54" height="54" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" class="lr-glyph"><path pathLength="1" d="M4 9v6h4l5 4V5L8 9H4Z"></path><path pathLength="1" d="M16 9a4.2 4.2 0 0 1 0 6M18.5 6.5a8 8 0 0 1 0 11"></path></svg></g><path class="path" d="M250 77h96m-9-9 9 9-9 9"></path><text x="478" y="118">Playback volume</text></g><g transform="translate(0 170)"><g class="source"><rect class="node input" x="12" y="4" width="220" height="146" rx="22"></rect><g class="glyph" transform="translate(95 21)"><svg width="54" height="54" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" class="lr-glyph"><rect pathLength="1" x="9" y="2" width="6" height="13" rx="3"></rect><path pathLength="1" d="M5 10v2a7 7 0 0 0 14 0v-2M12 19v3m-4 0h8"></path></svg></g><text x="122" y="118">Share microphone</text></g><rect class="node" x="368" y="4" width="220" height="146" rx="22"></rect><g class="glyph" transform="translate(451 21)"><svg width="54" height="54" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" class="lr-glyph"><path pathLength="1" d="M4 9v6h4l5 4V5L8 9H4Z"></path><path pathLength="1" d="M16 9a4.2 4.2 0 0 1 0 6M18.5 6.5a8 8 0 0 1 0 11"></path></svg></g><path class="path" d="M250 77h96m-9-9 9 9-9 9"></path><text x="478" y="118">Playback volume</text></g><g transform="translate(0 340)"><g class="source"><rect class="node input" x="12" y="4" width="220" height="146" rx="22"></rect><g class="glyph" transform="translate(95 21)"><svg width="54" height="54" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" class="lr-glyph"><rect pathLength="1" x="9" y="2" width="6" height="13" rx="3"></rect><path pathLength="1" d="M5 10v2a7 7 0 0 0 14 0v-2M12 19v3m-4 0h8"></path></svg></g><text x="122" y="118">Room voice</text></g><rect class="node" x="368" y="4" width="220" height="146" rx="22"></rect><g class="glyph" transform="translate(451 21)"><svg width="54" height="54" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" class="lr-glyph"><path pathLength="1" d="M3 14v-2a9 9 0 0 1 18 0v2"></path><rect pathLength="1" x="3" y="12" width="5" height="9" rx="2"></rect><rect pathLength="1" x="16" y="12" width="5" height="9" rx="2"></rect></svg></g><path class="path" d="M250 77h96m-9-9 9 9-9 9"></path><text x="478" y="118">Voice volume</text></g></svg>
|
||||
</style><g transform="translate(0 0)"><g class="source"><rect class="node input" x="12" y="4" width="220" height="146" rx="22"></rect><g class="glyph" transform="translate(95 21)"><svg width="54" height="54" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" class="lr-glyph"><rect pathLength="1" x="2" y="4" width="20" height="16" rx="2"></rect><path pathLength="1" d="M2 9h20M6 6.5h.01M9 6.5h.01"></path></svg></g><text x="122" y="118">Source audio</text></g><rect class="node" x="348" y="4" width="240" height="146" rx="22"></rect><g class="glyph" transform="translate(441 21)"><svg width="54" height="54" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" class="lr-glyph"><path pathLength="1" d="M4 9v6h4l5 4V5L8 9H4Z"></path><path pathLength="1" d="M16 9a4.2 4.2 0 0 1 0 6M18.5 6.5a8 8 0 0 1 0 11"></path></svg></g><path class="path" d="M250 77h78m-9-9 9 9-9 9"></path><text x="468" y="118">Playback volume</text></g><g transform="translate(0 170)"><g class="source"><rect class="node input" x="12" y="4" width="220" height="146" rx="22"></rect><g class="glyph" transform="translate(95 21)"><svg width="54" height="54" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" class="lr-glyph"><rect pathLength="1" x="9" y="2" width="6" height="13" rx="3"></rect><path pathLength="1" d="M5 10v2a7 7 0 0 0 14 0v-2M12 19v3m-4 0h8"></path></svg></g><text x="122" y="118">Shared mic</text></g><rect class="node" x="348" y="4" width="240" height="146" rx="22"></rect><g class="glyph" transform="translate(441 21)"><svg width="54" height="54" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" class="lr-glyph"><path pathLength="1" d="M4 9v6h4l5 4V5L8 9H4Z"></path><path pathLength="1" d="M16 9a4.2 4.2 0 0 1 0 6M18.5 6.5a8 8 0 0 1 0 11"></path></svg></g><path class="path" d="M250 77h78m-9-9 9 9-9 9"></path><text x="468" y="118">Playback volume</text></g><g transform="translate(0 340)"><g class="source"><rect class="node input" x="12" y="4" width="220" height="146" rx="22"></rect><g class="glyph" transform="translate(95 21)"><svg width="54" height="54" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" class="lr-glyph"><rect pathLength="1" x="9" y="2" width="6" height="13" rx="3"></rect><path pathLength="1" d="M5 10v2a7 7 0 0 0 14 0v-2M12 19v3m-4 0h8"></path></svg></g><text x="122" y="118">Room voice</text></g><rect class="node" x="348" y="4" width="240" height="146" rx="22"></rect><g class="glyph" transform="translate(441 21)"><svg width="54" height="54" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" class="lr-glyph"><path pathLength="1" d="M3 14v-2a9 9 0 0 1 18 0v2"></path><rect pathLength="1" x="3" y="12" width="5" height="9" rx="2"></rect><rect pathLength="1" x="16" y="12" width="5" height="9" rx="2"></rect></svg></g><path class="path" d="M250 77h78m-9-9 9 9-9 9"></path><text x="468" y="118">Voice volume</text></g></svg>
|
||||
|
Before Width: | Height: | Size: 6.7 KiB After Width: | Height: | Size: 7.5 KiB |
@@ -4,10 +4,13 @@
|
||||
--person-ink: #263b43;
|
||||
--wall: #f3f5f8;
|
||||
--wall-2: #e5eaf2;
|
||||
--paper: #fffefb;
|
||||
--paper-rgb: 255 254 251;
|
||||
--paper: rgb(var(--paper-rgb));
|
||||
--paper-translucent: rgb(var(--paper-rgb) / .84);
|
||||
--ink: #29374a;
|
||||
--muted: color-mix(in srgb, var(--ink) 75%, var(--paper));
|
||||
--line: color-mix(in srgb, var(--ink) 20%, var(--paper));
|
||||
/* Opaque sRGB roles also work in WebViews without color-mix. */
|
||||
--muted: rgb(94.5 104.75 118.25);
|
||||
--line: rgb(212.2 214.2 215.6);
|
||||
/* Primary actions keep their identity; selection/focus follows the theme. */
|
||||
--primary: #2765ce;
|
||||
--primary-ink: #fff;
|
||||
@@ -23,16 +26,26 @@
|
||||
--control-hover: #eef3ff;
|
||||
--control-selected: #e5efff;
|
||||
--control-selected-ink: #214c9b;
|
||||
--control-edge: color-mix(in srgb, var(--ink) 57%, var(--paper));
|
||||
--control-edge: rgb(133.02 140.57 150.11);
|
||||
--surface-rim: rgb(255 255 255 / .95);
|
||||
--surface-shade: rgb(36 53 78 / .18);
|
||||
--surface-shade-rgb: 36 53 78;
|
||||
--surface-shade-alpha: .18;
|
||||
--surface-shade: rgb(var(--surface-shade-rgb) / var(--surface-shade-alpha));
|
||||
--surface-glaze: linear-gradient(165deg, rgb(255 255 255 / .6), transparent 65%, rgb(51 89 147 / .025));
|
||||
--control-shadow: 0 3px 0 var(--surface-shade), 0 5px 10px color-mix(in srgb, var(--surface-shade) 45%, transparent);
|
||||
--panel-shadow: inset 0 1px 0 var(--surface-rim), 0 3px 0 var(--surface-shade), 0 16px 36px color-mix(in srgb, var(--surface-shade) 55%, transparent);
|
||||
--control-shadow: 0 3px 0 var(--surface-shade), 0 5px 10px rgb(var(--surface-shade-rgb) / calc(var(--surface-shade-alpha) * .45));
|
||||
--panel-shadow: inset 0 1px 0 var(--surface-rim), 0 3px 0 var(--surface-shade), 0 16px 36px rgb(var(--surface-shade-rgb) / calc(var(--surface-shade-alpha) * .55));
|
||||
--piik-dark-wall: #242a34;
|
||||
--piik-dark-wall-2: #2c3543;
|
||||
--piik-dark-paper: #354153;
|
||||
--piik-dark-paper-rgb: 53 65 83;
|
||||
--piik-dark-paper: rgb(var(--piik-dark-paper-rgb));
|
||||
--piik-dark-ink: #f6f3eb;
|
||||
--piik-dark-muted: rgb(197.75 198.5 197);
|
||||
--piik-dark-line: rgb(91.6 100.6 113.4);
|
||||
--piik-dark-control-edge: rgb(145.64 150.44 155.96);
|
||||
--piik-dark-surface-rim: rgb(222 234 255 / .12);
|
||||
--piik-dark-surface-shade-rgb: 6 12 22;
|
||||
--piik-dark-surface-shade-alpha: .38;
|
||||
--piik-dark-surface-glaze: linear-gradient(165deg, rgb(224 237 255 / .06), transparent 65%, rgb(0 0 0 / .035));
|
||||
--piik-dark-action: #f6f3eb;
|
||||
--piik-dark-action-ink: #29374a;
|
||||
--piik-dark-action-text: var(--piik-dark-action);
|
||||
@@ -43,8 +56,11 @@
|
||||
@media (prefers-color-scheme: dark) { :root {
|
||||
--wall: var(--piik-dark-wall);
|
||||
--wall-2: var(--piik-dark-wall-2);
|
||||
--paper-rgb: var(--piik-dark-paper-rgb);
|
||||
--paper: var(--piik-dark-paper);
|
||||
--ink: var(--piik-dark-ink);
|
||||
--muted: var(--piik-dark-muted);
|
||||
--line: var(--piik-dark-line);
|
||||
--busy: #82b1ff;
|
||||
--live: #3fb97a;
|
||||
--warn: #e8a33d;
|
||||
@@ -56,10 +72,11 @@
|
||||
--control-hover: var(--piik-dark-hover);
|
||||
--control-selected: var(--piik-dark-selected);
|
||||
--control-selected-ink: var(--piik-dark-selected-ink);
|
||||
--control-edge: color-mix(in srgb, var(--ink) 48%, var(--paper));
|
||||
--surface-rim: rgb(222 234 255 / .12);
|
||||
--surface-shade: rgb(6 12 22 / .38);
|
||||
--surface-glaze: linear-gradient(165deg, rgb(224 237 255 / .06), transparent 65%, rgb(0 0 0 / .035));
|
||||
--control-edge: var(--piik-dark-control-edge);
|
||||
--surface-rim: var(--piik-dark-surface-rim);
|
||||
--surface-shade-rgb: var(--piik-dark-surface-shade-rgb);
|
||||
--surface-shade-alpha: var(--piik-dark-surface-shade-alpha);
|
||||
--surface-glaze: var(--piik-dark-surface-glaze);
|
||||
} }
|
||||
|
||||
text { fill: var(--ink); font: 600 26px system-ui, -apple-system, 'Segoe UI', 'Microsoft YaHei', sans-serif; text-anchor: middle; }
|
||||
@@ -69,4 +86,4 @@
|
||||
.source .glyph { color: var(--control-selected-ink); }
|
||||
.source text { fill: var(--control-selected-ink); }
|
||||
.path { fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
|
||||
</style><g transform="translate(0 0)"><g class="source"><rect class="node input" x="12" y="4" width="220" height="146" rx="22"></rect><g class="glyph" transform="translate(95 21)"><svg width="54" height="54" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" class="lr-glyph"><rect pathLength="1" x="2" y="4" width="20" height="16" rx="2"></rect><path pathLength="1" d="M2 9h20M6 6.5h.01M9 6.5h.01"></path></svg></g><text x="122" y="118">来源声音</text></g><rect class="node" x="368" y="4" width="220" height="146" rx="22"></rect><g class="glyph" transform="translate(451 21)"><svg width="54" height="54" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" class="lr-glyph"><path pathLength="1" d="M4 9v6h4l5 4V5L8 9H4Z"></path><path pathLength="1" d="M16 9a4.2 4.2 0 0 1 0 6M18.5 6.5a8 8 0 0 1 0 11"></path></svg></g><path class="path" d="M250 77h96m-9-9 9 9-9 9"></path><text x="478" y="118">播放音量</text></g><g transform="translate(0 170)"><g class="source"><rect class="node input" x="12" y="4" width="220" height="146" rx="22"></rect><g class="glyph" transform="translate(95 21)"><svg width="54" height="54" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" class="lr-glyph"><rect pathLength="1" x="9" y="2" width="6" height="13" rx="3"></rect><path pathLength="1" d="M5 10v2a7 7 0 0 0 14 0v-2M12 19v3m-4 0h8"></path></svg></g><text x="122" y="118">分享麦克风</text></g><rect class="node" x="368" y="4" width="220" height="146" rx="22"></rect><g class="glyph" transform="translate(451 21)"><svg width="54" height="54" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" class="lr-glyph"><path pathLength="1" d="M4 9v6h4l5 4V5L8 9H4Z"></path><path pathLength="1" d="M16 9a4.2 4.2 0 0 1 0 6M18.5 6.5a8 8 0 0 1 0 11"></path></svg></g><path class="path" d="M250 77h96m-9-9 9 9-9 9"></path><text x="478" y="118">播放音量</text></g><g transform="translate(0 340)"><g class="source"><rect class="node input" x="12" y="4" width="220" height="146" rx="22"></rect><g class="glyph" transform="translate(95 21)"><svg width="54" height="54" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" class="lr-glyph"><rect pathLength="1" x="9" y="2" width="6" height="13" rx="3"></rect><path pathLength="1" d="M5 10v2a7 7 0 0 0 14 0v-2M12 19v3m-4 0h8"></path></svg></g><text x="122" y="118">房间语音</text></g><rect class="node" x="368" y="4" width="220" height="146" rx="22"></rect><g class="glyph" transform="translate(451 21)"><svg width="54" height="54" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" class="lr-glyph"><path pathLength="1" d="M3 14v-2a9 9 0 0 1 18 0v2"></path><rect pathLength="1" x="3" y="12" width="5" height="9" rx="2"></rect><rect pathLength="1" x="16" y="12" width="5" height="9" rx="2"></rect></svg></g><path class="path" d="M250 77h96m-9-9 9 9-9 9"></path><text x="478" y="118">语音收听</text></g></svg>
|
||||
</style><g transform="translate(0 0)"><g class="source"><rect class="node input" x="12" y="4" width="220" height="146" rx="22"></rect><g class="glyph" transform="translate(95 21)"><svg width="54" height="54" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" class="lr-glyph"><rect pathLength="1" x="2" y="4" width="20" height="16" rx="2"></rect><path pathLength="1" d="M2 9h20M6 6.5h.01M9 6.5h.01"></path></svg></g><text x="122" y="118">来源声音</text></g><rect class="node" x="348" y="4" width="240" height="146" rx="22"></rect><g class="glyph" transform="translate(441 21)"><svg width="54" height="54" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" class="lr-glyph"><path pathLength="1" d="M4 9v6h4l5 4V5L8 9H4Z"></path><path pathLength="1" d="M16 9a4.2 4.2 0 0 1 0 6M18.5 6.5a8 8 0 0 1 0 11"></path></svg></g><path class="path" d="M250 77h78m-9-9 9 9-9 9"></path><text x="468" y="118">播放音量</text></g><g transform="translate(0 170)"><g class="source"><rect class="node input" x="12" y="4" width="220" height="146" rx="22"></rect><g class="glyph" transform="translate(95 21)"><svg width="54" height="54" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" class="lr-glyph"><rect pathLength="1" x="9" y="2" width="6" height="13" rx="3"></rect><path pathLength="1" d="M5 10v2a7 7 0 0 0 14 0v-2M12 19v3m-4 0h8"></path></svg></g><text x="122" y="118">分享麦克风</text></g><rect class="node" x="348" y="4" width="240" height="146" rx="22"></rect><g class="glyph" transform="translate(441 21)"><svg width="54" height="54" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" class="lr-glyph"><path pathLength="1" d="M4 9v6h4l5 4V5L8 9H4Z"></path><path pathLength="1" d="M16 9a4.2 4.2 0 0 1 0 6M18.5 6.5a8 8 0 0 1 0 11"></path></svg></g><path class="path" d="M250 77h78m-9-9 9 9-9 9"></path><text x="468" y="118">播放音量</text></g><g transform="translate(0 340)"><g class="source"><rect class="node input" x="12" y="4" width="220" height="146" rx="22"></rect><g class="glyph" transform="translate(95 21)"><svg width="54" height="54" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" class="lr-glyph"><rect pathLength="1" x="9" y="2" width="6" height="13" rx="3"></rect><path pathLength="1" d="M5 10v2a7 7 0 0 0 14 0v-2M12 19v3m-4 0h8"></path></svg></g><text x="122" y="118">房间语音</text></g><rect class="node" x="348" y="4" width="240" height="146" rx="22"></rect><g class="glyph" transform="translate(441 21)"><svg width="54" height="54" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" class="lr-glyph"><path pathLength="1" d="M3 14v-2a9 9 0 0 1 18 0v2"></path><rect pathLength="1" x="3" y="12" width="5" height="9" rx="2"></rect><rect pathLength="1" x="16" y="12" width="5" height="9" rx="2"></rect></svg></g><path class="path" d="M250 77h78m-9-9 9 9-9 9"></path><text x="468" y="118">语音收听</text></g></svg>
|
||||
|
Before Width: | Height: | Size: 6.7 KiB After Width: | Height: | Size: 7.5 KiB |
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 9.7 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 5.1 KiB |
|
After Width: | Height: | Size: 5.0 KiB |
|
After Width: | Height: | Size: 5.2 KiB |
|
After Width: | Height: | Size: 5.2 KiB |
|
After Width: | Height: | Size: 4.2 KiB |
|
After Width: | Height: | Size: 4.4 KiB |
|
After Width: | Height: | Size: 4.3 KiB |
|
After Width: | Height: | Size: 4.5 KiB |
@@ -4,10 +4,13 @@
|
||||
--person-ink: #263b43;
|
||||
--wall: #f3f5f8;
|
||||
--wall-2: #e5eaf2;
|
||||
--paper: #fffefb;
|
||||
--paper-rgb: 255 254 251;
|
||||
--paper: rgb(var(--paper-rgb));
|
||||
--paper-translucent: rgb(var(--paper-rgb) / .84);
|
||||
--ink: #29374a;
|
||||
--muted: color-mix(in srgb, var(--ink) 75%, var(--paper));
|
||||
--line: color-mix(in srgb, var(--ink) 20%, var(--paper));
|
||||
/* Opaque sRGB roles also work in WebViews without color-mix. */
|
||||
--muted: rgb(94.5 104.75 118.25);
|
||||
--line: rgb(212.2 214.2 215.6);
|
||||
/* Primary actions keep their identity; selection/focus follows the theme. */
|
||||
--primary: #2765ce;
|
||||
--primary-ink: #fff;
|
||||
@@ -23,16 +26,26 @@
|
||||
--control-hover: #eef3ff;
|
||||
--control-selected: #e5efff;
|
||||
--control-selected-ink: #214c9b;
|
||||
--control-edge: color-mix(in srgb, var(--ink) 57%, var(--paper));
|
||||
--control-edge: rgb(133.02 140.57 150.11);
|
||||
--surface-rim: rgb(255 255 255 / .95);
|
||||
--surface-shade: rgb(36 53 78 / .18);
|
||||
--surface-shade-rgb: 36 53 78;
|
||||
--surface-shade-alpha: .18;
|
||||
--surface-shade: rgb(var(--surface-shade-rgb) / var(--surface-shade-alpha));
|
||||
--surface-glaze: linear-gradient(165deg, rgb(255 255 255 / .6), transparent 65%, rgb(51 89 147 / .025));
|
||||
--control-shadow: 0 3px 0 var(--surface-shade), 0 5px 10px color-mix(in srgb, var(--surface-shade) 45%, transparent);
|
||||
--panel-shadow: inset 0 1px 0 var(--surface-rim), 0 3px 0 var(--surface-shade), 0 16px 36px color-mix(in srgb, var(--surface-shade) 55%, transparent);
|
||||
--control-shadow: 0 3px 0 var(--surface-shade), 0 5px 10px rgb(var(--surface-shade-rgb) / calc(var(--surface-shade-alpha) * .45));
|
||||
--panel-shadow: inset 0 1px 0 var(--surface-rim), 0 3px 0 var(--surface-shade), 0 16px 36px rgb(var(--surface-shade-rgb) / calc(var(--surface-shade-alpha) * .55));
|
||||
--piik-dark-wall: #242a34;
|
||||
--piik-dark-wall-2: #2c3543;
|
||||
--piik-dark-paper: #354153;
|
||||
--piik-dark-paper-rgb: 53 65 83;
|
||||
--piik-dark-paper: rgb(var(--piik-dark-paper-rgb));
|
||||
--piik-dark-ink: #f6f3eb;
|
||||
--piik-dark-muted: rgb(197.75 198.5 197);
|
||||
--piik-dark-line: rgb(91.6 100.6 113.4);
|
||||
--piik-dark-control-edge: rgb(145.64 150.44 155.96);
|
||||
--piik-dark-surface-rim: rgb(222 234 255 / .12);
|
||||
--piik-dark-surface-shade-rgb: 6 12 22;
|
||||
--piik-dark-surface-shade-alpha: .38;
|
||||
--piik-dark-surface-glaze: linear-gradient(165deg, rgb(224 237 255 / .06), transparent 65%, rgb(0 0 0 / .035));
|
||||
--piik-dark-action: #f6f3eb;
|
||||
--piik-dark-action-ink: #29374a;
|
||||
--piik-dark-action-text: var(--piik-dark-action);
|
||||
@@ -43,8 +56,11 @@
|
||||
@media (prefers-color-scheme: dark) { :root {
|
||||
--wall: var(--piik-dark-wall);
|
||||
--wall-2: var(--piik-dark-wall-2);
|
||||
--paper-rgb: var(--piik-dark-paper-rgb);
|
||||
--paper: var(--piik-dark-paper);
|
||||
--ink: var(--piik-dark-ink);
|
||||
--muted: var(--piik-dark-muted);
|
||||
--line: var(--piik-dark-line);
|
||||
--busy: #82b1ff;
|
||||
--live: #3fb97a;
|
||||
--warn: #e8a33d;
|
||||
@@ -56,10 +72,11 @@
|
||||
--control-hover: var(--piik-dark-hover);
|
||||
--control-selected: var(--piik-dark-selected);
|
||||
--control-selected-ink: var(--piik-dark-selected-ink);
|
||||
--control-edge: color-mix(in srgb, var(--ink) 48%, var(--paper));
|
||||
--surface-rim: rgb(222 234 255 / .12);
|
||||
--surface-shade: rgb(6 12 22 / .38);
|
||||
--surface-glaze: linear-gradient(165deg, rgb(224 237 255 / .06), transparent 65%, rgb(0 0 0 / .035));
|
||||
--control-edge: var(--piik-dark-control-edge);
|
||||
--surface-rim: var(--piik-dark-surface-rim);
|
||||
--surface-shade-rgb: var(--piik-dark-surface-shade-rgb);
|
||||
--surface-shade-alpha: var(--piik-dark-surface-shade-alpha);
|
||||
--surface-glaze: var(--piik-dark-surface-glaze);
|
||||
} }
|
||||
|
||||
text { fill: var(--ink); font: 600 26px system-ui, -apple-system, 'Segoe UI', 'Microsoft YaHei', sans-serif; text-anchor: middle; }
|
||||
@@ -69,4 +86,4 @@
|
||||
.source .glyph { color: var(--control-selected-ink); }
|
||||
.source text { fill: var(--control-selected-ink); }
|
||||
.path { fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
|
||||
</style><path class="path" d="M164 174h28V64h32m152 0h28v110h28"></path><rect class="node" x="224" y="8" width="152" height="112" rx="20"></rect><g class="glyph" transform="translate(274 18)"><svg width="52" height="52" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" class="lr-glyph"><rect pathLength="1" x="3" y="4" width="18" height="7" rx="2"></rect><rect pathLength="1" x="3" y="13" width="18" height="7" rx="2"></rect><path pathLength="1" d="M7 7.5h.01M7 16.5h.01"></path></svg></g><text x="300" y="101">Piik site</text><g><rect class="node" x="12" y="136" width="152" height="160" rx="20"></rect><g class="glyph" transform="translate(58 164)"><svg width="60" height="60" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" class="lr-glyph"><rect pathLength="1" x="2" y="4" width="20" height="16" rx="2"></rect><path pathLength="1" d="M2 9h20M6 6.5h.01M9 6.5h.01"></path></svg></g><text x="88" y="268">Host</text></g><g><rect class="node" x="436" y="136" width="152" height="160" rx="20"></rect><g class="glyph" transform="translate(482 164)"><svg width="60" height="60" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" class="lr-glyph"><rect pathLength="1" x="2" y="4" width="20" height="16" rx="2"></rect><path pathLength="1" d="M2 9h20M6 6.5h.01M9 6.5h.01"></path></svg></g><text x="512" y="268">Friend</text></g><text x="300" y="173" style="font-size:24px">Web & chat</text><text x="300" y="232" style="font-size:24px">Picture & sound</text><path class="path" d="M164 252h272m-262-8-10 8 10 8m252-16 10 8-10 8"></path><text x="300" y="326" style="font-size:22px;fill:var(--muted)">Direct or forwarded media connection</text></svg>
|
||||
</style><rect width="600" height="340" rx="20" fill="var(--wall)"></rect><path class="path" d="M164 174h28V64h32m152 0h28v110h32"></path><rect class="node" x="224" y="8" width="152" height="112" rx="20"></rect><g class="glyph" transform="translate(274 18)"><svg width="52" height="52" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" class="lr-glyph"><rect pathLength="1" x="3" y="4" width="18" height="7" rx="2"></rect><rect pathLength="1" x="3" y="13" width="18" height="7" rx="2"></rect><path pathLength="1" d="M7 7.5h.01M7 16.5h.01"></path></svg></g><text x="300" y="101">Piik site</text><g><rect class="node" x="12" y="136" width="152" height="160" rx="20"></rect><g class="glyph" transform="translate(58 164)"><svg width="60" height="60" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" class="lr-glyph"><rect pathLength="1" x="2" y="4" width="20" height="16" rx="2"></rect><path pathLength="1" d="M2 9h20M6 6.5h.01M9 6.5h.01"></path></svg></g><text x="88" y="268">Host</text></g><g><rect class="node" x="436" y="136" width="152" height="160" rx="20"></rect><g class="glyph" transform="translate(482 164)"><svg width="60" height="60" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" class="lr-glyph"><rect pathLength="1" x="2" y="4" width="20" height="16" rx="2"></rect><path pathLength="1" d="M2 9h20M6 6.5h.01M9 6.5h.01"></path></svg></g><text x="512" y="268">Friend</text></g><text x="300" y="173" style="font-size:26px">Web & chat</text><text x="300" y="232" style="font-size:26px">Picture & sound</text><path class="path" d="M164 252h272m-262-8-10 8 10 8m252-16 10 8-10 8"></path><text x="300" y="326" style="font-size:26px;fill:var(--muted)">Direct or forwarded</text></svg>
|
||||
|
Before Width: | Height: | Size: 5.3 KiB After Width: | Height: | Size: 6.1 KiB |
@@ -4,10 +4,13 @@
|
||||
--person-ink: #263b43;
|
||||
--wall: #f3f5f8;
|
||||
--wall-2: #e5eaf2;
|
||||
--paper: #fffefb;
|
||||
--paper-rgb: 255 254 251;
|
||||
--paper: rgb(var(--paper-rgb));
|
||||
--paper-translucent: rgb(var(--paper-rgb) / .84);
|
||||
--ink: #29374a;
|
||||
--muted: color-mix(in srgb, var(--ink) 75%, var(--paper));
|
||||
--line: color-mix(in srgb, var(--ink) 20%, var(--paper));
|
||||
/* Opaque sRGB roles also work in WebViews without color-mix. */
|
||||
--muted: rgb(94.5 104.75 118.25);
|
||||
--line: rgb(212.2 214.2 215.6);
|
||||
/* Primary actions keep their identity; selection/focus follows the theme. */
|
||||
--primary: #2765ce;
|
||||
--primary-ink: #fff;
|
||||
@@ -23,16 +26,26 @@
|
||||
--control-hover: #eef3ff;
|
||||
--control-selected: #e5efff;
|
||||
--control-selected-ink: #214c9b;
|
||||
--control-edge: color-mix(in srgb, var(--ink) 57%, var(--paper));
|
||||
--control-edge: rgb(133.02 140.57 150.11);
|
||||
--surface-rim: rgb(255 255 255 / .95);
|
||||
--surface-shade: rgb(36 53 78 / .18);
|
||||
--surface-shade-rgb: 36 53 78;
|
||||
--surface-shade-alpha: .18;
|
||||
--surface-shade: rgb(var(--surface-shade-rgb) / var(--surface-shade-alpha));
|
||||
--surface-glaze: linear-gradient(165deg, rgb(255 255 255 / .6), transparent 65%, rgb(51 89 147 / .025));
|
||||
--control-shadow: 0 3px 0 var(--surface-shade), 0 5px 10px color-mix(in srgb, var(--surface-shade) 45%, transparent);
|
||||
--panel-shadow: inset 0 1px 0 var(--surface-rim), 0 3px 0 var(--surface-shade), 0 16px 36px color-mix(in srgb, var(--surface-shade) 55%, transparent);
|
||||
--control-shadow: 0 3px 0 var(--surface-shade), 0 5px 10px rgb(var(--surface-shade-rgb) / calc(var(--surface-shade-alpha) * .45));
|
||||
--panel-shadow: inset 0 1px 0 var(--surface-rim), 0 3px 0 var(--surface-shade), 0 16px 36px rgb(var(--surface-shade-rgb) / calc(var(--surface-shade-alpha) * .55));
|
||||
--piik-dark-wall: #242a34;
|
||||
--piik-dark-wall-2: #2c3543;
|
||||
--piik-dark-paper: #354153;
|
||||
--piik-dark-paper-rgb: 53 65 83;
|
||||
--piik-dark-paper: rgb(var(--piik-dark-paper-rgb));
|
||||
--piik-dark-ink: #f6f3eb;
|
||||
--piik-dark-muted: rgb(197.75 198.5 197);
|
||||
--piik-dark-line: rgb(91.6 100.6 113.4);
|
||||
--piik-dark-control-edge: rgb(145.64 150.44 155.96);
|
||||
--piik-dark-surface-rim: rgb(222 234 255 / .12);
|
||||
--piik-dark-surface-shade-rgb: 6 12 22;
|
||||
--piik-dark-surface-shade-alpha: .38;
|
||||
--piik-dark-surface-glaze: linear-gradient(165deg, rgb(224 237 255 / .06), transparent 65%, rgb(0 0 0 / .035));
|
||||
--piik-dark-action: #f6f3eb;
|
||||
--piik-dark-action-ink: #29374a;
|
||||
--piik-dark-action-text: var(--piik-dark-action);
|
||||
@@ -43,8 +56,11 @@
|
||||
@media (prefers-color-scheme: dark) { :root {
|
||||
--wall: var(--piik-dark-wall);
|
||||
--wall-2: var(--piik-dark-wall-2);
|
||||
--paper-rgb: var(--piik-dark-paper-rgb);
|
||||
--paper: var(--piik-dark-paper);
|
||||
--ink: var(--piik-dark-ink);
|
||||
--muted: var(--piik-dark-muted);
|
||||
--line: var(--piik-dark-line);
|
||||
--busy: #82b1ff;
|
||||
--live: #3fb97a;
|
||||
--warn: #e8a33d;
|
||||
@@ -56,10 +72,11 @@
|
||||
--control-hover: var(--piik-dark-hover);
|
||||
--control-selected: var(--piik-dark-selected);
|
||||
--control-selected-ink: var(--piik-dark-selected-ink);
|
||||
--control-edge: color-mix(in srgb, var(--ink) 48%, var(--paper));
|
||||
--surface-rim: rgb(222 234 255 / .12);
|
||||
--surface-shade: rgb(6 12 22 / .38);
|
||||
--surface-glaze: linear-gradient(165deg, rgb(224 237 255 / .06), transparent 65%, rgb(0 0 0 / .035));
|
||||
--control-edge: var(--piik-dark-control-edge);
|
||||
--surface-rim: var(--piik-dark-surface-rim);
|
||||
--surface-shade-rgb: var(--piik-dark-surface-shade-rgb);
|
||||
--surface-shade-alpha: var(--piik-dark-surface-shade-alpha);
|
||||
--surface-glaze: var(--piik-dark-surface-glaze);
|
||||
} }
|
||||
|
||||
text { fill: var(--ink); font: 600 26px system-ui, -apple-system, 'Segoe UI', 'Microsoft YaHei', sans-serif; text-anchor: middle; }
|
||||
@@ -69,4 +86,4 @@
|
||||
.source .glyph { color: var(--control-selected-ink); }
|
||||
.source text { fill: var(--control-selected-ink); }
|
||||
.path { fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
|
||||
</style><path class="path" d="M164 174h28V64h32m152 0h28v110h28"></path><rect class="node" x="224" y="8" width="152" height="112" rx="20"></rect><g class="glyph" transform="translate(274 18)"><svg width="52" height="52" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" class="lr-glyph"><rect pathLength="1" x="3" y="4" width="18" height="7" rx="2"></rect><rect pathLength="1" x="3" y="13" width="18" height="7" rx="2"></rect><path pathLength="1" d="M7 7.5h.01M7 16.5h.01"></path></svg></g><text x="300" y="101">Piik 站点</text><g><rect class="node" x="12" y="136" width="152" height="160" rx="20"></rect><g class="glyph" transform="translate(58 164)"><svg width="60" height="60" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" class="lr-glyph"><rect pathLength="1" x="2" y="4" width="20" height="16" rx="2"></rect><path pathLength="1" d="M2 9h20M6 6.5h.01M9 6.5h.01"></path></svg></g><text x="88" y="268">房主</text></g><g><rect class="node" x="436" y="136" width="152" height="160" rx="20"></rect><g class="glyph" transform="translate(482 164)"><svg width="60" height="60" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" class="lr-glyph"><rect pathLength="1" x="2" y="4" width="20" height="16" rx="2"></rect><path pathLength="1" d="M2 9h20M6 6.5h.01M9 6.5h.01"></path></svg></g><text x="512" y="268">朋友</text></g><text x="300" y="173" style="font-size:24px">网页与聊天</text><text x="300" y="232" style="font-size:24px">画面与声音</text><path class="path" d="M164 252h272m-262-8-10 8 10 8m252-16 10 8-10 8"></path><text x="300" y="326" style="font-size:22px;fill:var(--muted)">独立的媒体连接:直连或服务器转发</text></svg>
|
||||
</style><rect width="600" height="340" rx="20" fill="var(--wall)"></rect><path class="path" d="M164 174h28V64h32m152 0h28v110h32"></path><rect class="node" x="224" y="8" width="152" height="112" rx="20"></rect><g class="glyph" transform="translate(274 18)"><svg width="52" height="52" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" class="lr-glyph"><rect pathLength="1" x="3" y="4" width="18" height="7" rx="2"></rect><rect pathLength="1" x="3" y="13" width="18" height="7" rx="2"></rect><path pathLength="1" d="M7 7.5h.01M7 16.5h.01"></path></svg></g><text x="300" y="101">Piik 站点</text><g><rect class="node" x="12" y="136" width="152" height="160" rx="20"></rect><g class="glyph" transform="translate(58 164)"><svg width="60" height="60" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" class="lr-glyph"><rect pathLength="1" x="2" y="4" width="20" height="16" rx="2"></rect><path pathLength="1" d="M2 9h20M6 6.5h.01M9 6.5h.01"></path></svg></g><text x="88" y="268">房主</text></g><g><rect class="node" x="436" y="136" width="152" height="160" rx="20"></rect><g class="glyph" transform="translate(482 164)"><svg width="60" height="60" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" class="lr-glyph"><rect pathLength="1" x="2" y="4" width="20" height="16" rx="2"></rect><path pathLength="1" d="M2 9h20M6 6.5h.01M9 6.5h.01"></path></svg></g><text x="512" y="268">朋友</text></g><text x="300" y="173" style="font-size:26px">网页与聊天</text><text x="300" y="232" style="font-size:26px">画面与声音</text><path class="path" d="M164 252h272m-262-8-10 8 10 8m252-16 10 8-10 8"></path><text x="300" y="326" style="font-size:26px;fill:var(--muted)">独立的媒体连接:直连或服务器转发</text></svg>
|
||||
|
Before Width: | Height: | Size: 5.3 KiB After Width: | Height: | Size: 6.1 KiB |
|
Before Width: | Height: | Size: 43 KiB After Width: | Height: | Size: 46 KiB |
|
Before Width: | Height: | Size: 37 KiB After Width: | Height: | Size: 44 KiB |
|
Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 45 KiB |
|
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 43 KiB |
|
Before Width: | Height: | Size: 44 KiB After Width: | Height: | Size: 41 KiB |
|
Before Width: | Height: | Size: 44 KiB After Width: | Height: | Size: 42 KiB |
|
Before Width: | Height: | Size: 41 KiB After Width: | Height: | Size: 37 KiB |
|
Before Width: | Height: | Size: 41 KiB After Width: | Height: | Size: 39 KiB |
|
After Width: | Height: | Size: 39 KiB |
|
After Width: | Height: | Size: 38 KiB |
|
After Width: | Height: | Size: 39 KiB |
|
After Width: | Height: | Size: 38 KiB |
|
Before Width: | Height: | Size: 74 KiB After Width: | Height: | Size: 44 KiB |
|
Before Width: | Height: | Size: 61 KiB After Width: | Height: | Size: 41 KiB |
|
Before Width: | Height: | Size: 74 KiB After Width: | Height: | Size: 44 KiB |
|
Before Width: | Height: | Size: 60 KiB After Width: | Height: | Size: 40 KiB |
|
Before Width: | Height: | Size: 57 KiB After Width: | Height: | Size: 42 KiB |
|
Before Width: | Height: | Size: 53 KiB After Width: | Height: | Size: 33 KiB |
|
Before Width: | Height: | Size: 56 KiB After Width: | Height: | Size: 42 KiB |
|
Before Width: | Height: | Size: 52 KiB After Width: | Height: | Size: 33 KiB |
|
After Width: | Height: | Size: 25 KiB |
|
After Width: | Height: | Size: 23 KiB |
|
After Width: | Height: | Size: 25 KiB |
|
After Width: | Height: | Size: 23 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 7.9 KiB |
|
After Width: | Height: | Size: 8.1 KiB |
|
After Width: | Height: | Size: 8.0 KiB |
|
After Width: | Height: | Size: 8.1 KiB |
@@ -1,13 +1,16 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="600" height="380" viewBox="0 0 600 380" role="img" aria-labelledby="title desc"><title id="title">Use Piik over a virtual LAN</title><desc id="desc">Join the same virtual LAN: Keep the tool running on both sides.. Choose the virtual address: Local room → select the virtual IP. Send the complete invitation: Confirm the certificate and join.</desc><style>/* Shared theme for the App, website and documentation. Status and selection
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="600" height="380" viewBox="0 0 600 380" role="img" aria-labelledby="title desc"><title id="title">Use Piik over a virtual LAN</title><desc id="desc">Join the same virtual LAN: Keep the tool running.. Choose the virtual IP: Local room → address. Send the full invitation: Check the certificate.</desc><style>/* Shared theme for the App, website and documentation. Status and selection
|
||||
have separate roles; illustrations keep their own colours. */
|
||||
:root {
|
||||
--person-ink: #263b43;
|
||||
--wall: #f3f5f8;
|
||||
--wall-2: #e5eaf2;
|
||||
--paper: #fffefb;
|
||||
--paper-rgb: 255 254 251;
|
||||
--paper: rgb(var(--paper-rgb));
|
||||
--paper-translucent: rgb(var(--paper-rgb) / .84);
|
||||
--ink: #29374a;
|
||||
--muted: color-mix(in srgb, var(--ink) 75%, var(--paper));
|
||||
--line: color-mix(in srgb, var(--ink) 20%, var(--paper));
|
||||
/* Opaque sRGB roles also work in WebViews without color-mix. */
|
||||
--muted: rgb(94.5 104.75 118.25);
|
||||
--line: rgb(212.2 214.2 215.6);
|
||||
/* Primary actions keep their identity; selection/focus follows the theme. */
|
||||
--primary: #2765ce;
|
||||
--primary-ink: #fff;
|
||||
@@ -23,16 +26,26 @@
|
||||
--control-hover: #eef3ff;
|
||||
--control-selected: #e5efff;
|
||||
--control-selected-ink: #214c9b;
|
||||
--control-edge: color-mix(in srgb, var(--ink) 57%, var(--paper));
|
||||
--control-edge: rgb(133.02 140.57 150.11);
|
||||
--surface-rim: rgb(255 255 255 / .95);
|
||||
--surface-shade: rgb(36 53 78 / .18);
|
||||
--surface-shade-rgb: 36 53 78;
|
||||
--surface-shade-alpha: .18;
|
||||
--surface-shade: rgb(var(--surface-shade-rgb) / var(--surface-shade-alpha));
|
||||
--surface-glaze: linear-gradient(165deg, rgb(255 255 255 / .6), transparent 65%, rgb(51 89 147 / .025));
|
||||
--control-shadow: 0 3px 0 var(--surface-shade), 0 5px 10px color-mix(in srgb, var(--surface-shade) 45%, transparent);
|
||||
--panel-shadow: inset 0 1px 0 var(--surface-rim), 0 3px 0 var(--surface-shade), 0 16px 36px color-mix(in srgb, var(--surface-shade) 55%, transparent);
|
||||
--control-shadow: 0 3px 0 var(--surface-shade), 0 5px 10px rgb(var(--surface-shade-rgb) / calc(var(--surface-shade-alpha) * .45));
|
||||
--panel-shadow: inset 0 1px 0 var(--surface-rim), 0 3px 0 var(--surface-shade), 0 16px 36px rgb(var(--surface-shade-rgb) / calc(var(--surface-shade-alpha) * .55));
|
||||
--piik-dark-wall: #242a34;
|
||||
--piik-dark-wall-2: #2c3543;
|
||||
--piik-dark-paper: #354153;
|
||||
--piik-dark-paper-rgb: 53 65 83;
|
||||
--piik-dark-paper: rgb(var(--piik-dark-paper-rgb));
|
||||
--piik-dark-ink: #f6f3eb;
|
||||
--piik-dark-muted: rgb(197.75 198.5 197);
|
||||
--piik-dark-line: rgb(91.6 100.6 113.4);
|
||||
--piik-dark-control-edge: rgb(145.64 150.44 155.96);
|
||||
--piik-dark-surface-rim: rgb(222 234 255 / .12);
|
||||
--piik-dark-surface-shade-rgb: 6 12 22;
|
||||
--piik-dark-surface-shade-alpha: .38;
|
||||
--piik-dark-surface-glaze: linear-gradient(165deg, rgb(224 237 255 / .06), transparent 65%, rgb(0 0 0 / .035));
|
||||
--piik-dark-action: #f6f3eb;
|
||||
--piik-dark-action-ink: #29374a;
|
||||
--piik-dark-action-text: var(--piik-dark-action);
|
||||
@@ -43,8 +56,11 @@
|
||||
@media (prefers-color-scheme: dark) { :root {
|
||||
--wall: var(--piik-dark-wall);
|
||||
--wall-2: var(--piik-dark-wall-2);
|
||||
--paper-rgb: var(--piik-dark-paper-rgb);
|
||||
--paper: var(--piik-dark-paper);
|
||||
--ink: var(--piik-dark-ink);
|
||||
--muted: var(--piik-dark-muted);
|
||||
--line: var(--piik-dark-line);
|
||||
--busy: #82b1ff;
|
||||
--live: #3fb97a;
|
||||
--warn: #e8a33d;
|
||||
@@ -56,10 +72,11 @@
|
||||
--control-hover: var(--piik-dark-hover);
|
||||
--control-selected: var(--piik-dark-selected);
|
||||
--control-selected-ink: var(--piik-dark-selected-ink);
|
||||
--control-edge: color-mix(in srgb, var(--ink) 48%, var(--paper));
|
||||
--surface-rim: rgb(222 234 255 / .12);
|
||||
--surface-shade: rgb(6 12 22 / .38);
|
||||
--surface-glaze: linear-gradient(165deg, rgb(224 237 255 / .06), transparent 65%, rgb(0 0 0 / .035));
|
||||
--control-edge: var(--piik-dark-control-edge);
|
||||
--surface-rim: var(--piik-dark-surface-rim);
|
||||
--surface-shade-rgb: var(--piik-dark-surface-shade-rgb);
|
||||
--surface-shade-alpha: var(--piik-dark-surface-shade-alpha);
|
||||
--surface-glaze: var(--piik-dark-surface-glaze);
|
||||
} }
|
||||
|
||||
text { fill: var(--ink); font: 600 26px system-ui, -apple-system, 'Segoe UI', 'Microsoft YaHei', sans-serif; text-anchor: middle; }
|
||||
@@ -69,4 +86,4 @@
|
||||
.source .glyph { color: var(--control-selected-ink); }
|
||||
.source text { fill: var(--control-selected-ink); }
|
||||
.path { fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
|
||||
</style><g transform="translate(0 0)"><rect class="node" x="8" y="4" width="584" height="116" rx="20"></rect><text x="35" y="70" style="font-size:20px;fill:var(--muted)">01</text><g class="glyph" transform="translate(68 34)"><svg width="52" height="52" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" class="lr-glyph"><rect pathLength="1" x="9" y="2" width="6" height="6" rx="1.5"></rect><rect pathLength="1" x="2" y="16" width="6" height="6" rx="1.5"></rect><rect pathLength="1" x="16" y="16" width="6" height="6" rx="1.5"></rect><path pathLength="1" d="M12 8v3.5M12 11.5 5.5 16M12 11.5l6.5 4.5"></path></svg></g><text x="144" y="51" style="font-size:28px;text-anchor:start">Join the same virtual LAN</text><text x="144" y="88" style="font-size:23px;text-anchor:start;fill:var(--muted)">Keep the tool running on both sides.</text></g><g transform="translate(0 128)"><rect class="node" x="8" y="4" width="584" height="116" rx="20"></rect><text x="35" y="70" style="font-size:20px;fill:var(--muted)">02</text><g class="glyph" transform="translate(68 34)"><svg width="52" height="52" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" class="lr-glyph"><rect pathLength="1" x="2" y="4" width="20" height="16" rx="2"></rect><path pathLength="1" d="M2 9h20M6 6.5h.01M9 6.5h.01"></path></svg></g><text x="144" y="51" style="font-size:28px;text-anchor:start">Choose the virtual address</text><text x="144" y="88" style="font-size:23px;text-anchor:start;fill:var(--muted)">Local room → select the virtual IP</text></g><g transform="translate(0 256)"><rect class="node" x="8" y="4" width="584" height="116" rx="20"></rect><text x="35" y="70" style="font-size:20px;fill:var(--muted)">03</text><g class="glyph" transform="translate(68 34)"><svg width="52" height="52" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" class="lr-glyph"><path pathLength="1" d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path pathLength="1" d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path></svg></g><text x="144" y="51" style="font-size:28px;text-anchor:start">Send the complete invitation</text><text x="144" y="88" style="font-size:23px;text-anchor:start;fill:var(--muted)">Confirm the certificate and join.</text></g></svg>
|
||||
</style><g transform="translate(0 0)"><rect class="node" x="8" y="4" width="584" height="116" rx="20"></rect><text x="35" y="70" style="font-size:20px;fill:var(--muted)">01</text><g class="glyph" transform="translate(68 34)"><svg width="52" height="52" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" class="lr-glyph"><rect pathLength="1" x="9" y="2" width="6" height="6" rx="1.5"></rect><rect pathLength="1" x="2" y="16" width="6" height="6" rx="1.5"></rect><rect pathLength="1" x="16" y="16" width="6" height="6" rx="1.5"></rect><path pathLength="1" d="M12 8v3.5M12 11.5 5.5 16M12 11.5l6.5 4.5"></path></svg></g><text x="144" y="51" style="font-size:28px;text-anchor:start">Join the same virtual LAN</text><text x="144" y="88" style="font-size:26px;text-anchor:start;fill:var(--muted)">Keep the tool running.</text></g><g transform="translate(0 128)"><rect class="node" x="8" y="4" width="584" height="116" rx="20"></rect><text x="35" y="70" style="font-size:20px;fill:var(--muted)">02</text><g class="glyph" transform="translate(68 34)"><svg width="52" height="52" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" class="lr-glyph"><rect pathLength="1" x="2" y="4" width="20" height="16" rx="2"></rect><path pathLength="1" d="M2 9h20M6 6.5h.01M9 6.5h.01"></path></svg></g><text x="144" y="51" style="font-size:28px;text-anchor:start">Choose the virtual IP</text><text x="144" y="88" style="font-size:26px;text-anchor:start;fill:var(--muted)">Local room → address</text></g><g transform="translate(0 256)"><rect class="node" x="8" y="4" width="584" height="116" rx="20"></rect><text x="35" y="70" style="font-size:20px;fill:var(--muted)">03</text><g class="glyph" transform="translate(68 34)"><svg width="52" height="52" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" class="lr-glyph"><path pathLength="1" d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path pathLength="1" d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path></svg></g><text x="144" y="51" style="font-size:28px;text-anchor:start">Send the full invitation</text><text x="144" y="88" style="font-size:26px;text-anchor:start;fill:var(--muted)">Check the certificate.</text></g></svg>
|
||||
|
Before Width: | Height: | Size: 5.9 KiB After Width: | Height: | Size: 6.6 KiB |
@@ -4,10 +4,13 @@
|
||||
--person-ink: #263b43;
|
||||
--wall: #f3f5f8;
|
||||
--wall-2: #e5eaf2;
|
||||
--paper: #fffefb;
|
||||
--paper-rgb: 255 254 251;
|
||||
--paper: rgb(var(--paper-rgb));
|
||||
--paper-translucent: rgb(var(--paper-rgb) / .84);
|
||||
--ink: #29374a;
|
||||
--muted: color-mix(in srgb, var(--ink) 75%, var(--paper));
|
||||
--line: color-mix(in srgb, var(--ink) 20%, var(--paper));
|
||||
/* Opaque sRGB roles also work in WebViews without color-mix. */
|
||||
--muted: rgb(94.5 104.75 118.25);
|
||||
--line: rgb(212.2 214.2 215.6);
|
||||
/* Primary actions keep their identity; selection/focus follows the theme. */
|
||||
--primary: #2765ce;
|
||||
--primary-ink: #fff;
|
||||
@@ -23,16 +26,26 @@
|
||||
--control-hover: #eef3ff;
|
||||
--control-selected: #e5efff;
|
||||
--control-selected-ink: #214c9b;
|
||||
--control-edge: color-mix(in srgb, var(--ink) 57%, var(--paper));
|
||||
--control-edge: rgb(133.02 140.57 150.11);
|
||||
--surface-rim: rgb(255 255 255 / .95);
|
||||
--surface-shade: rgb(36 53 78 / .18);
|
||||
--surface-shade-rgb: 36 53 78;
|
||||
--surface-shade-alpha: .18;
|
||||
--surface-shade: rgb(var(--surface-shade-rgb) / var(--surface-shade-alpha));
|
||||
--surface-glaze: linear-gradient(165deg, rgb(255 255 255 / .6), transparent 65%, rgb(51 89 147 / .025));
|
||||
--control-shadow: 0 3px 0 var(--surface-shade), 0 5px 10px color-mix(in srgb, var(--surface-shade) 45%, transparent);
|
||||
--panel-shadow: inset 0 1px 0 var(--surface-rim), 0 3px 0 var(--surface-shade), 0 16px 36px color-mix(in srgb, var(--surface-shade) 55%, transparent);
|
||||
--control-shadow: 0 3px 0 var(--surface-shade), 0 5px 10px rgb(var(--surface-shade-rgb) / calc(var(--surface-shade-alpha) * .45));
|
||||
--panel-shadow: inset 0 1px 0 var(--surface-rim), 0 3px 0 var(--surface-shade), 0 16px 36px rgb(var(--surface-shade-rgb) / calc(var(--surface-shade-alpha) * .55));
|
||||
--piik-dark-wall: #242a34;
|
||||
--piik-dark-wall-2: #2c3543;
|
||||
--piik-dark-paper: #354153;
|
||||
--piik-dark-paper-rgb: 53 65 83;
|
||||
--piik-dark-paper: rgb(var(--piik-dark-paper-rgb));
|
||||
--piik-dark-ink: #f6f3eb;
|
||||
--piik-dark-muted: rgb(197.75 198.5 197);
|
||||
--piik-dark-line: rgb(91.6 100.6 113.4);
|
||||
--piik-dark-control-edge: rgb(145.64 150.44 155.96);
|
||||
--piik-dark-surface-rim: rgb(222 234 255 / .12);
|
||||
--piik-dark-surface-shade-rgb: 6 12 22;
|
||||
--piik-dark-surface-shade-alpha: .38;
|
||||
--piik-dark-surface-glaze: linear-gradient(165deg, rgb(224 237 255 / .06), transparent 65%, rgb(0 0 0 / .035));
|
||||
--piik-dark-action: #f6f3eb;
|
||||
--piik-dark-action-ink: #29374a;
|
||||
--piik-dark-action-text: var(--piik-dark-action);
|
||||
@@ -43,8 +56,11 @@
|
||||
@media (prefers-color-scheme: dark) { :root {
|
||||
--wall: var(--piik-dark-wall);
|
||||
--wall-2: var(--piik-dark-wall-2);
|
||||
--paper-rgb: var(--piik-dark-paper-rgb);
|
||||
--paper: var(--piik-dark-paper);
|
||||
--ink: var(--piik-dark-ink);
|
||||
--muted: var(--piik-dark-muted);
|
||||
--line: var(--piik-dark-line);
|
||||
--busy: #82b1ff;
|
||||
--live: #3fb97a;
|
||||
--warn: #e8a33d;
|
||||
@@ -56,10 +72,11 @@
|
||||
--control-hover: var(--piik-dark-hover);
|
||||
--control-selected: var(--piik-dark-selected);
|
||||
--control-selected-ink: var(--piik-dark-selected-ink);
|
||||
--control-edge: color-mix(in srgb, var(--ink) 48%, var(--paper));
|
||||
--surface-rim: rgb(222 234 255 / .12);
|
||||
--surface-shade: rgb(6 12 22 / .38);
|
||||
--surface-glaze: linear-gradient(165deg, rgb(224 237 255 / .06), transparent 65%, rgb(0 0 0 / .035));
|
||||
--control-edge: var(--piik-dark-control-edge);
|
||||
--surface-rim: var(--piik-dark-surface-rim);
|
||||
--surface-shade-rgb: var(--piik-dark-surface-shade-rgb);
|
||||
--surface-shade-alpha: var(--piik-dark-surface-shade-alpha);
|
||||
--surface-glaze: var(--piik-dark-surface-glaze);
|
||||
} }
|
||||
|
||||
text { fill: var(--ink); font: 600 26px system-ui, -apple-system, 'Segoe UI', 'Microsoft YaHei', sans-serif; text-anchor: middle; }
|
||||
@@ -69,4 +86,4 @@
|
||||
.source .glyph { color: var(--control-selected-ink); }
|
||||
.source text { fill: var(--control-selected-ink); }
|
||||
.path { fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
|
||||
</style><g transform="translate(0 0)"><rect class="node" x="8" y="4" width="584" height="116" rx="20"></rect><text x="35" y="70" style="font-size:20px;fill:var(--muted)">01</text><g class="glyph" transform="translate(68 34)"><svg width="52" height="52" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" class="lr-glyph"><rect pathLength="1" x="9" y="2" width="6" height="6" rx="1.5"></rect><rect pathLength="1" x="2" y="16" width="6" height="6" rx="1.5"></rect><rect pathLength="1" x="16" y="16" width="6" height="6" rx="1.5"></rect><path pathLength="1" d="M12 8v3.5M12 11.5 5.5 16M12 11.5l6.5 4.5"></path></svg></g><text x="144" y="51" style="font-size:28px;text-anchor:start">加入同一虚拟网络</text><text x="144" y="88" style="font-size:23px;text-anchor:start;fill:var(--muted)">房主和朋友都保持组网工具运行</text></g><g transform="translate(0 128)"><rect class="node" x="8" y="4" width="584" height="116" rx="20"></rect><text x="35" y="70" style="font-size:20px;fill:var(--muted)">02</text><g class="glyph" transform="translate(68 34)"><svg width="52" height="52" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" class="lr-glyph"><rect pathLength="1" x="2" y="4" width="20" height="16" rx="2"></rect><path pathLength="1" d="M2 9h20M6 6.5h.01M9 6.5h.01"></path></svg></g><text x="144" y="51" style="font-size:28px;text-anchor:start">选择虚拟地址</text><text x="144" y="88" style="font-size:23px;text-anchor:start;fill:var(--muted)">本地房间 → 局域网邀请地址</text></g><g transform="translate(0 256)"><rect class="node" x="8" y="4" width="584" height="116" rx="20"></rect><text x="35" y="70" style="font-size:20px;fill:var(--muted)">03</text><g class="glyph" transform="translate(68 34)"><svg width="52" height="52" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" class="lr-glyph"><path pathLength="1" d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path pathLength="1" d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path></svg></g><text x="144" y="51" style="font-size:28px;text-anchor:start">发送完整邀请链接</text><text x="144" y="88" style="font-size:23px;text-anchor:start;fill:var(--muted)">朋友核对本地证书,进入房间</text></g></svg>
|
||||
</style><g transform="translate(0 0)"><rect class="node" x="8" y="4" width="584" height="116" rx="20"></rect><text x="35" y="70" style="font-size:20px;fill:var(--muted)">01</text><g class="glyph" transform="translate(68 34)"><svg width="52" height="52" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" class="lr-glyph"><rect pathLength="1" x="9" y="2" width="6" height="6" rx="1.5"></rect><rect pathLength="1" x="2" y="16" width="6" height="6" rx="1.5"></rect><rect pathLength="1" x="16" y="16" width="6" height="6" rx="1.5"></rect><path pathLength="1" d="M12 8v3.5M12 11.5 5.5 16M12 11.5l6.5 4.5"></path></svg></g><text x="144" y="51" style="font-size:28px;text-anchor:start">加入同一虚拟网络</text><text x="144" y="88" style="font-size:26px;text-anchor:start;fill:var(--muted)">房主和朋友都保持组网工具运行</text></g><g transform="translate(0 128)"><rect class="node" x="8" y="4" width="584" height="116" rx="20"></rect><text x="35" y="70" style="font-size:20px;fill:var(--muted)">02</text><g class="glyph" transform="translate(68 34)"><svg width="52" height="52" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" class="lr-glyph"><rect pathLength="1" x="2" y="4" width="20" height="16" rx="2"></rect><path pathLength="1" d="M2 9h20M6 6.5h.01M9 6.5h.01"></path></svg></g><text x="144" y="51" style="font-size:28px;text-anchor:start">选择虚拟地址</text><text x="144" y="88" style="font-size:26px;text-anchor:start;fill:var(--muted)">本地房间 → 局域网邀请地址</text></g><g transform="translate(0 256)"><rect class="node" x="8" y="4" width="584" height="116" rx="20"></rect><text x="35" y="70" style="font-size:20px;fill:var(--muted)">03</text><g class="glyph" transform="translate(68 34)"><svg width="52" height="52" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" class="lr-glyph"><path pathLength="1" d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path pathLength="1" d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path></svg></g><text x="144" y="51" style="font-size:28px;text-anchor:start">发送完整邀请链接</text><text x="144" y="88" style="font-size:26px;text-anchor:start;fill:var(--muted)">朋友核对本地证书,进入房间</text></g></svg>
|
||||
|
Before Width: | Height: | Size: 5.9 KiB After Width: | Height: | Size: 6.7 KiB |
@@ -8,10 +8,13 @@
|
||||
--person-ink: #263b43;
|
||||
--wall: #f3f5f8;
|
||||
--wall-2: #e5eaf2;
|
||||
--paper: #fffefb;
|
||||
--paper-rgb: 255 254 251;
|
||||
--paper: rgb(var(--paper-rgb));
|
||||
--paper-translucent: rgb(var(--paper-rgb) / .84);
|
||||
--ink: #29374a;
|
||||
--muted: color-mix(in srgb, var(--ink) 75%, var(--paper));
|
||||
--line: color-mix(in srgb, var(--ink) 20%, var(--paper));
|
||||
/* Opaque sRGB roles also work in WebViews without color-mix. */
|
||||
--muted: rgb(94.5 104.75 118.25);
|
||||
--line: rgb(212.2 214.2 215.6);
|
||||
/* Primary actions keep their identity; selection/focus follows the theme. */
|
||||
--primary: #2765ce;
|
||||
--primary-ink: #fff;
|
||||
@@ -27,16 +30,26 @@
|
||||
--control-hover: #eef3ff;
|
||||
--control-selected: #e5efff;
|
||||
--control-selected-ink: #214c9b;
|
||||
--control-edge: color-mix(in srgb, var(--ink) 57%, var(--paper));
|
||||
--control-edge: rgb(133.02 140.57 150.11);
|
||||
--surface-rim: rgb(255 255 255 / .95);
|
||||
--surface-shade: rgb(36 53 78 / .18);
|
||||
--surface-shade-rgb: 36 53 78;
|
||||
--surface-shade-alpha: .18;
|
||||
--surface-shade: rgb(var(--surface-shade-rgb) / var(--surface-shade-alpha));
|
||||
--surface-glaze: linear-gradient(165deg, rgb(255 255 255 / .6), transparent 65%, rgb(51 89 147 / .025));
|
||||
--control-shadow: 0 3px 0 var(--surface-shade), 0 5px 10px color-mix(in srgb, var(--surface-shade) 45%, transparent);
|
||||
--panel-shadow: inset 0 1px 0 var(--surface-rim), 0 3px 0 var(--surface-shade), 0 16px 36px color-mix(in srgb, var(--surface-shade) 55%, transparent);
|
||||
--control-shadow: 0 3px 0 var(--surface-shade), 0 5px 10px rgb(var(--surface-shade-rgb) / calc(var(--surface-shade-alpha) * .45));
|
||||
--panel-shadow: inset 0 1px 0 var(--surface-rim), 0 3px 0 var(--surface-shade), 0 16px 36px rgb(var(--surface-shade-rgb) / calc(var(--surface-shade-alpha) * .55));
|
||||
--piik-dark-wall: #242a34;
|
||||
--piik-dark-wall-2: #2c3543;
|
||||
--piik-dark-paper: #354153;
|
||||
--piik-dark-paper-rgb: 53 65 83;
|
||||
--piik-dark-paper: rgb(var(--piik-dark-paper-rgb));
|
||||
--piik-dark-ink: #f6f3eb;
|
||||
--piik-dark-muted: rgb(197.75 198.5 197);
|
||||
--piik-dark-line: rgb(91.6 100.6 113.4);
|
||||
--piik-dark-control-edge: rgb(145.64 150.44 155.96);
|
||||
--piik-dark-surface-rim: rgb(222 234 255 / .12);
|
||||
--piik-dark-surface-shade-rgb: 6 12 22;
|
||||
--piik-dark-surface-shade-alpha: .38;
|
||||
--piik-dark-surface-glaze: linear-gradient(165deg, rgb(224 237 255 / .06), transparent 65%, rgb(0 0 0 / .035));
|
||||
--piik-dark-action: #f6f3eb;
|
||||
--piik-dark-action-ink: #29374a;
|
||||
--piik-dark-action-text: var(--piik-dark-action);
|
||||
@@ -47,8 +60,11 @@
|
||||
@media (prefers-color-scheme: dark) { :root {
|
||||
--wall: var(--piik-dark-wall);
|
||||
--wall-2: var(--piik-dark-wall-2);
|
||||
--paper-rgb: var(--piik-dark-paper-rgb);
|
||||
--paper: var(--piik-dark-paper);
|
||||
--ink: var(--piik-dark-ink);
|
||||
--muted: var(--piik-dark-muted);
|
||||
--line: var(--piik-dark-line);
|
||||
--busy: #82b1ff;
|
||||
--live: #3fb97a;
|
||||
--warn: #e8a33d;
|
||||
@@ -60,10 +76,11 @@
|
||||
--control-hover: var(--piik-dark-hover);
|
||||
--control-selected: var(--piik-dark-selected);
|
||||
--control-selected-ink: var(--piik-dark-selected-ink);
|
||||
--control-edge: color-mix(in srgb, var(--ink) 48%, var(--paper));
|
||||
--surface-rim: rgb(222 234 255 / .12);
|
||||
--surface-shade: rgb(6 12 22 / .38);
|
||||
--surface-glaze: linear-gradient(165deg, rgb(224 237 255 / .06), transparent 65%, rgb(0 0 0 / .035));
|
||||
--control-edge: var(--piik-dark-control-edge);
|
||||
--surface-rim: var(--piik-dark-surface-rim);
|
||||
--surface-shade-rgb: var(--piik-dark-surface-shade-rgb);
|
||||
--surface-shade-alpha: var(--piik-dark-surface-shade-alpha);
|
||||
--surface-glaze: var(--piik-dark-surface-glaze);
|
||||
} }
|
||||
|
||||
</style>
|
||||
|
||||
|
Before Width: | Height: | Size: 7.9 KiB After Width: | Height: | Size: 8.6 KiB |
@@ -145,7 +145,8 @@ the same pair and artifact hashes. The [version policy](./standards/versioning.m
|
||||
owns ordering and first-public-release readiness.
|
||||
|
||||
The default App launcher starts immediately, then checks GitHub Releases in the
|
||||
background, falling back to the Gitee mirror if GitHub is unavailable. The
|
||||
background. Published binaries still fall back to Gitee if GitHub is unavailable;
|
||||
current manual downloads use AtomGit. The
|
||||
[release-source policy](./standards/versioning.md#release-sources) owns selection
|
||||
and provenance checks. It shows a link only when
|
||||
the latest stable release is newer, the same version has a known different source
|
||||
@@ -223,6 +224,26 @@ schema validation fails closed before accepting signaling or media admission.
|
||||
|
||||
## Postflight
|
||||
|
||||
Package publication, the website, and running Piik services are separate delivery
|
||||
targets. CI publishes packages and the website; it does not update the managed
|
||||
Demo or private service. Complete their authorized deployment before reporting
|
||||
the release as deployed, and verify each service against the release descriptor:
|
||||
|
||||
```sh
|
||||
node --env-file=.env.maintenance.demo.local scripts/release-maintenance.mjs server-check --revision FULL_SOURCE_SHA
|
||||
node --env-file=.env.maintenance.private.local scripts/release-maintenance.mjs server-check --revision FULL_SOURCE_SHA
|
||||
```
|
||||
|
||||
The website's latest-version card reads GitHub metadata and cannot establish
|
||||
which release either service is running.
|
||||
|
||||
Download mirrors have a separate completion check: the AtomGit stable/latest
|
||||
release must match the published version and source, and every package must pass
|
||||
the mirror publisher's anonymous download and checksum verification. A green
|
||||
workflow that skipped its upload step is not mirror completion. Keep a failed
|
||||
mirror in the active TODO ledger until recovery and postflight succeed; source
|
||||
synchronization alone does not publish download attachments.
|
||||
|
||||
Verify only the surfaces relevant to the release:
|
||||
|
||||
- local and public `/healthz` return `{"status":"ok"}`;
|
||||
|
||||
@@ -1,52 +1,72 @@
|
||||
# Piik documentation
|
||||
---
|
||||
layout: page
|
||||
pageClass: help-home
|
||||
sidebar: false
|
||||
search: false
|
||||
title: Piik Documentation
|
||||
description: Join a room, share your screen, and fix common problems with Piik.
|
||||
---
|
||||
|
||||
English · [简体中文](./README.zh-CN.md) · [Website](https://piik.tv/?lang=en)
|
||||
<header class="help-hero">
|
||||
|
||||
Choose a guide to start sharing, use room tools or solve a problem.
|
||||
# Piik Documentation
|
||||
|
||||
## Start using Piik
|
||||
Try searching for “can’t join”, “no sound”, or “joystick”.
|
||||
|
||||
<div class="guide-task-index">
|
||||
<HelpSearch />
|
||||
|
||||
- **[Watch a friend](./getting-started.md#join-a-friends-room)**<br>
|
||||
Open an invitation in a computer or phone browser. No installation needed.
|
||||
- **[Share my screen](./getting-started.md#share-with-piik-app)**<br>
|
||||
Download and run Piik App, choose a picture and send an invitation.
|
||||
- **[Use Piik without installing](./getting-started.md#use-piik-online)**<br>
|
||||
Share a screen or camera from the online site.
|
||||
- **[Use my group's Piik site](./getting-started.md#share-from-an-existing-site)**<br>
|
||||
Share in your browser, or connect App for more features.
|
||||
</header>
|
||||
|
||||
<div class="help-sections">
|
||||
|
||||
<section class="help-actions">
|
||||
|
||||
## Start here
|
||||
|
||||
- [Join a friend's room](./getting-started.md#join-a-friends-room)<br>
|
||||
Use an invitation link or a four-digit room code.
|
||||
- [Share your screen in a browser](./getting-started.md#share-your-screen-in-a-browser)<br>
|
||||
Open the online site and send friends an invitation link.
|
||||
- [Share with Piik App](./getting-started.md#share-with-piik-app)<br>
|
||||
Install Piik App and choose a local or public invitation.
|
||||
- [Play on your phone with the on-screen joystick](./remote-control.md#play-on-your-phone-with-the-on-screen-joystick)<br>
|
||||
Request control and move with the on-screen joystick.
|
||||
|
||||
</section>
|
||||
|
||||
<section class="help-issues">
|
||||
|
||||
## Fix a problem
|
||||
|
||||
- [No picture after joining a room](./no-media-route.md)
|
||||
- [I can’t join my friend’s room](./troubleshooting.md#i-cant-join-my-friends-room)
|
||||
- [The picture is blurry or keeps freezing](./troubleshooting.md#the-picture-is-blurry-or-keeps-freezing)
|
||||
- [I can see the picture but cannot hear the game](./sound-help.md#i-can-see-the-picture-but-cannot-hear-the-game)
|
||||
- [My friends cannot hear me](./sound-help.md#my-friends-cannot-hear-me)
|
||||
|
||||
[Troubleshooting](./troubleshooting.md) · [Reporting a problem](./troubleshooting.md#reporting-a-problem)
|
||||
|
||||
</section>
|
||||
|
||||
<section class="help-resources">
|
||||
|
||||
## In the room
|
||||
|
||||
- [Sharing and playback](./sharing.md)
|
||||
- [iPhone and iPad screen sharing](./sharing.md#iphone-and-ipad-screen-sharing)
|
||||
- [Room voice](./room-tools.md#room-voice)
|
||||
- [Play together](./remote-control.md#play-together)
|
||||
|
||||
</section>
|
||||
|
||||
<section class="help-hosting">
|
||||
|
||||
## Run your own site
|
||||
|
||||
[Deploy Piik Server](../operations/self-hosting.md) · [Service Management](../operations/service-management.md) · [Use frp for a fixed Piik invitation address](./frp.md) · [Advanced network checks](./network.md) · [Piik App](../../cmd/piik-app/README.md)
|
||||
|
||||
</section>
|
||||
|
||||
</div>
|
||||
|
||||
## Use the room tools
|
||||
|
||||
- [Sharing and playback](./sharing.md): picture quality, cameras, source sound and viewing controls.
|
||||
- [Chat, voice and remote control](./room-tools.md): reactions, conversations and letting a friend take control.
|
||||
- [Remote control and playing together](./remote-control.md): permissions, shared keyboard/mouse and gamepads.
|
||||
- [App reference](../../cmd/piik-app/README.md): saved modes, site access, command-line options and diagnostics.
|
||||
|
||||
## Get help
|
||||
|
||||
- **App, sharing or sound problems:** start with the [symptom index](./troubleshooting.md#common-problems).
|
||||
- **Campus networks, media connections or virtual LANs:** use [network checks](./network.md) to choose a connection option.
|
||||
|
||||
Still stuck? [Report a problem](https://github.com/TNTcraftHIM/Piik/issues/new/choose)
|
||||
with your version, system, browser and reproduction steps. Follow the
|
||||
[reporting steps](./troubleshooting.md#reporting-a-problem) to collect diagnostics.
|
||||
|
||||
## Run a site for your group
|
||||
|
||||
<p><a href="../operations/self-hosting.md#docker-compose"><img src="https://img.shields.io/badge/Deploy_with-Docker_Compose-2764c4?style=for-the-badge&logo=docker&logoColor=white" alt="Deploy Piik Server with Docker Compose"></a></p>
|
||||
|
||||
For a permanent group site, deploy Piik Server on a reachable address with HTTPS
|
||||
and the required network ports.
|
||||
|
||||
- [Deploy Piik Server](../operations/self-hosting.md) with Docker Compose or the server package.
|
||||
- [Keep it running and update](../operations/service-management.md).
|
||||
- [Look up configuration settings](../standards/configuration.md).
|
||||
|
||||
## Help improve Piik
|
||||
|
||||
[Translate Piik](./translating.md), [contribute](../../CONTRIBUTING.md), or explore the
|
||||
[developer and maintainer documentation](../README.md).
|
||||
[简体中文](./README.zh-CN.md) · [Help translate Piik](./translating.md) · [Piik website](https://piik.tv/?lang=en)
|
||||
@@ -1,50 +1,72 @@
|
||||
---
|
||||
layout: page
|
||||
pageClass: help-home
|
||||
sidebar: false
|
||||
search: false
|
||||
title: Piik 文档中心
|
||||
description: 了解如何加入房间、分享屏幕,以及解决 Piik 的常见问题。
|
||||
---
|
||||
|
||||
<header class="help-hero">
|
||||
|
||||
# Piik 文档中心
|
||||
|
||||
[English](./README.md) · 简体中文 · [官网](https://piik.tv/?lang=zh-CN)
|
||||
试试搜索「进不去」「没声音」或「摇杆」。
|
||||
|
||||
按你要做的事查找指南:开始分享、使用房间工具,或解决遇到的问题。
|
||||
<HelpSearch />
|
||||
|
||||
</header>
|
||||
|
||||
<div class="help-sections">
|
||||
|
||||
<section class="help-actions">
|
||||
|
||||
## 开始使用
|
||||
|
||||
<div class="guide-task-index">
|
||||
- [加入朋友的房间](./getting-started.zh-CN.md#加入朋友的房间)<br>
|
||||
用邀请链接或四位房间号加入。
|
||||
- [用浏览器分享屏幕](./getting-started.zh-CN.md#用浏览器分享屏幕)<br>
|
||||
打开在线版,把邀请链接发给朋友。
|
||||
- [用 Piik App 分享](./getting-started.zh-CN.md#用-piik-app-分享)<br>
|
||||
安装 App,选择本地房间或公网邀请。
|
||||
- [用手机玩电脑游戏(屏幕摇杆)](./remote-control.zh-CN.md#用手机玩电脑游戏屏幕摇杆)<br>
|
||||
请求控制,用屏幕上的摇杆操作朋友的游戏。
|
||||
|
||||
- **[看朋友的分享](./getting-started.zh-CN.md#加入朋友的房间)**<br>
|
||||
打开邀请链接,用电脑或手机浏览器观看,无须安装。
|
||||
- **[分享自己的屏幕](./getting-started.zh-CN.md#用-piik-app-分享)**<br>
|
||||
下载并运行 Piik App,选好画面,发送邀请。
|
||||
- **[免安装使用](./getting-started.zh-CN.md#使用在线版)**<br>
|
||||
在在线版中分享屏幕或摄像头。
|
||||
- **[使用已有站点](./getting-started.zh-CN.md#使用已有站点分享)**<br>
|
||||
直接用浏览器分享,也可连接 App 使用更多功能。
|
||||
</section>
|
||||
|
||||
</div>
|
||||
|
||||
## 使用房间工具
|
||||
|
||||
- [分享与播放](./sharing.zh-CN.md):画质、摄像头、来源声音与观看控制。
|
||||
- [聊天、语音与远程控制](./room-tools.zh-CN.md):表情互动、聊天,或让朋友接手操作。
|
||||
- [远程控制与多人同乐](./remote-control.zh-CN.md):授权、共用键鼠与手柄设置。
|
||||
- [App 使用参考](../../cmd/piik-app/README.zh-CN.md):模式记忆、站点授权、命令行参数与诊断。
|
||||
<section class="help-issues">
|
||||
|
||||
## 遇到问题
|
||||
|
||||
- **App、分享或声音异常:** 从[问题排查的症状索引](./troubleshooting.zh-CN.md#常见问题)开始。
|
||||
- **校园网、画面连不上或虚拟局域网:** 查看[进阶网络排查](./network.zh-CN.md),按现象选择连接方案。
|
||||
- [进房后没画面](./no-media-route.zh-CN.md)
|
||||
- [进不去朋友的房间](./troubleshooting.zh-CN.md#进不去朋友的房间)
|
||||
- [画面模糊、卡顿或中断](./troubleshooting.zh-CN.md#画面模糊卡顿或中断)
|
||||
- [有画面但听不到游戏声音](./sound-help.zh-CN.md#有画面但听不到游戏声音)
|
||||
- [朋友听不到我说话](./sound-help.zh-CN.md#朋友听不到我说话)
|
||||
|
||||
仍然没解决?可以[反馈问题](https://github.com/TNTcraftHIM/Piik/issues/new/choose),
|
||||
附上版本、系统、浏览器和复现步骤。需要收集报告时,按[反馈说明](./troubleshooting.zh-CN.md#反馈问题)导出。
|
||||
[疑难解答](./troubleshooting.zh-CN.md) · [反馈问题](./troubleshooting.zh-CN.md#反馈问题)
|
||||
|
||||
## 为朋友搭建站点
|
||||
</section>
|
||||
|
||||
<p><a href="../operations/self-hosting.zh-CN.md#使用-docker-compose"><img src="https://img.shields.io/badge/Deploy_with-Docker_Compose-2764c4?style=for-the-badge&logo=docker&logoColor=white" alt="使用 Docker Compose 部署 Piik Server"></a></p>
|
||||
<section class="help-resources">
|
||||
|
||||
需要长期使用的群组站点时,可部署 Piik Server,准备可访问的地址、HTTPS 和所需网络端口。
|
||||
## 房间里可以做什么
|
||||
|
||||
- [部署 Piik Server](../operations/self-hosting.zh-CN.md):使用 Docker Compose 或服务端程序包。
|
||||
- [长期运行与更新](../operations/service-management.zh-CN.md)。
|
||||
- [完整配置参考(英文)](../standards/configuration.md)。
|
||||
- [分享与播放](./sharing.zh-CN.md)
|
||||
- [iPhone 与 iPad 屏幕分享](./sharing.zh-CN.md#iphone-与-ipad-屏幕分享)
|
||||
- [房间语音](./room-tools.zh-CN.md#房间语音)
|
||||
- [多人同乐](./remote-control.zh-CN.md#多人同乐)
|
||||
|
||||
## 一起改进 Piik
|
||||
</section>
|
||||
|
||||
可以从[参与翻译](./translating.zh-CN.md)、[贡献指南](../../CONTRIBUTING.md),
|
||||
或[开发与维护文档](../README.md)开始。
|
||||
<section class="help-hosting">
|
||||
|
||||
## 自建和管理站点
|
||||
|
||||
[部署 Piik Server](../operations/self-hosting.zh-CN.md) · [服务管理](../operations/service-management.zh-CN.md) · [用 frp 给 Piik 设置固定公网邀请](./frp.zh-CN.md) · [进阶网络排查](./network.zh-CN.md) · [Piik App](../../cmd/piik-app/README.zh-CN.md)
|
||||
|
||||
</section>
|
||||
|
||||
</div>
|
||||
|
||||
[English](./README.md) · [参与 Piik 翻译](./translating.zh-CN.md) · [Piik 官网](https://piik.tv/?lang=zh-CN)
|
||||
@@ -0,0 +1,57 @@
|
||||
# Use frp for a fixed Piik invitation address
|
||||
|
||||
English · [简体中文](./frp.zh-CN.md) · [Documentation](./README.md)
|
||||
|
||||
Use frp to give a desktop Piik App or a privately hosted Piik Server a fixed public address. Set up the tunnel on the hosting side. Your friends open the room invitation in their browsers.
|
||||
|
||||
| Where it goes | What to enter |
|
||||
| --- | --- |
|
||||
| Local target in frp | The local IP and port of the Piik **website**. This guide uses `127.0.0.1:8787` with SakuraFrp Launcher running on the same machine as Piik. |
|
||||
| Public address in Piik | The HTTPS hostname your friends can reach, including the assigned public port. Replace the example `https://piik.example.nyat.app:21080` with yours. |
|
||||
|
||||
## Get a public address
|
||||
|
||||
This example uses **SakuraFrp (樱花映射)**. If you run frps or use another provider, forward the website and WebSocket traffic for the same public HTTPS address to Piik's local HTTP service, then continue to the Piik settings. [Self-hosted frps setup](../operations/self-hosting.md#optional-forward-an-existing-server-with-frp)
|
||||
|
||||
1. Open the SakuraFrp launcher on the Piik machine. Sign in with the access key on the **用户信息** (User information) page of your SakuraFrp dashboard. [Launcher walkthrough](https://doc.natfrp.com/launcher/usage.html)
|
||||
2. In **隧道列表** (Tunnels), create a **TCP** tunnel on a node that permits websites. Use `127.0.0.1` and Piik's local web port. Leave the remote port empty for SakuraFrp to assign it and set **自动 HTTPS** (Automatic HTTPS) to **自动** (Auto). Friends connect over HTTPS and Piik receives HTTP locally. [Web tunnel settings](https://doc.natfrp.com/app/http.html) · [Automatic HTTPS](https://doc.natfrp.com/frpc/auto-https.html)
|
||||
3. Under **子域绑定** (Subdomain binding), request a `nyat.app` subdomain. Select **新建绑定** (New binding) and choose your tunnel. Start or restart the tunnel. Once the log confirms it loaded the certificate for your subdomain, copy the **hostname and public port** from the log and prepend `https://`. [Subdomain and certificate walkthrough](https://doc.natfrp.com/bestpractice/domain-bind.html)
|
||||
|
||||
## Set the invitation address in Piik
|
||||
|
||||
### Desktop App
|
||||
|
||||
- **3.0 beta.** In the launcher choose **Public invite → Existing address** and enter your public HTTPS address. In the SakuraFrp TCP tunnel settings, set the local IP and port to the **Local forwarding target** shown in Piik, then enter Piik from the launcher. The host uses the page the App opens.
|
||||
- **2.x maintenance build.** Open PowerShell in the extracted App directory. Run `.\piik-app.exe --help` and check for `public-origin` before using the command below. Replace the example HTTPS address with the public address from the tunnel log and replace the example port with the local port in the TCP tunnel settings. With the published v2.7.0, use the Server option below for a fixed address.
|
||||
|
||||
```powershell
|
||||
.\piik-app.exe --link --public-origin https://piik.example.nyat.app:21080 --port 8787
|
||||
```
|
||||
|
||||
### Existing Server
|
||||
|
||||
Apply the settings for your Server version to its existing configuration and restart the service. For a container deployment, point frp at the Piik web port published on the host.
|
||||
|
||||
| Version | Local web port | Public invitation address |
|
||||
| --- | --- | --- |
|
||||
| 2.x Server | `PORT=8787` | `PUBLIC_BASE_URL=https://piik.example.nyat.app:21080` |
|
||||
| 3.0 Server | `PIIK_CHANNEL_PORT=8787` | `PIIK_CHANNEL_INVITATION_ORIGIN=https://piik.example.nyat.app:21080` |
|
||||
|
||||
Enter the public HTTPS address with the assigned port, for example `https://piik.example.nyat.app:21080`. Leave off the room path. Piik adds it and the invitation credentials when you copy the link.
|
||||
|
||||
## Test from another network
|
||||
|
||||
Copy the **full invitation** from the room or show its QR code. Ask a friend to open it over cellular data. Entering the room and receiving a new chat message verifies the website and signaling path. Keep Piik and the tunnel running, start a share, then check picture and sound.
|
||||
|
||||
- **The site fails to load or the certificate is untrusted.** In SakuraFrp Launcher, open the tunnel log to see whether the tunnel started and loaded the certificate. Enter the hostname and public port from the log in Piik, then copy a fresh invitation. [SakuraFrp troubleshooting](https://doc.natfrp.com/faq/site-inaccessible.html)
|
||||
- **Chat works but the picture will not connect.** The web tunnel is working. Picture and sound use WebRTC. Try switching one device to a phone hotspot. [Media network checks](./network.md)
|
||||
|
||||
<details>
|
||||
<summary>Relay media through frp on a Server</summary>
|
||||
|
||||
Create a separate UDP tunnel and note the public IP and UDP port assigned by the provider. Keep the existing address for the web tunnel.
|
||||
|
||||
- **2.x Server.** Set both the tunnel's local port and `SFU_UDP_PORT` to its assigned public UDP port. Set `SFU_PUBLIC_IP` to the node's public IPv4 address. [2.x media forwarding settings](../operations/self-hosting.md#using-a-managed-frp-provider)
|
||||
- **3.0 Server.** Forward the tunnel to `PIIK_CHANNEL_UDP_PORT` and set `PIIK_CHANNEL_UDP_PUBLIC_ADDRESS` to the actual public `IP:port`. Enable `PIIK_CHANNEL_SERVICE_TRANSIT=true` on the Server, then let the room owner enable site forwarding in room settings.
|
||||
|
||||
</details>
|
||||
@@ -0,0 +1,57 @@
|
||||
# 用 frp 给 Piik 设置固定公网邀请
|
||||
|
||||
[English](./frp.md) · 简体中文 · [文档中心](./README.zh-CN.md)
|
||||
|
||||
用 frp 可以给家里的 Piik App 或内网里的 Piik Server 一个固定网址。只有运行 Piik 的一端需要配置,朋友用浏览器打开房间邀请即可。
|
||||
|
||||
| 要填到哪里 | 地址从哪里来 |
|
||||
| --- | --- |
|
||||
| frp 的本地目标 | Piik **网页服务**的本地 IP 和端口。本文以 `127.0.0.1:8787` 为例,樱花映射启动器和 Piik 运行在同一台机器上。 |
|
||||
| Piik 的公网地址 | 朋友能访问的 HTTPS 域名,包含服务商分配的公网端口,例如 `https://piik.example.nyat.app:21080`。请换成你的实际地址。 |
|
||||
|
||||
## 取得公网地址
|
||||
|
||||
下面用 **SakuraFrp(樱花映射)** 演示。有自己的 frps 或其他服务商时,让它把同一 HTTPS 地址下的网页和 WebSocket 转给 Piik 的本地 HTTP 服务,然后直接做下一节。[自建 frps 配置](../operations/self-hosting.zh-CN.md#可选通过-frp-转发已有服务)
|
||||
|
||||
1. 在运行 Piik 的电脑上打开樱花映射启动器。登录樱花账号,把管理面板「用户信息」里的访问密钥填进启动器。[启动器图文说明](https://doc.natfrp.com/launcher/usage.html)
|
||||
2. 在「隧道列表」创建 **TCP** 隧道,选择允许网页流量的节点。本地 IP 填 `127.0.0.1`,本地端口填 Piik 的网页端口。远程端口留空让平台分配,**自动 HTTPS** 选 **自动**。这样朋友用 HTTPS,本机 Piik 仍接收 HTTP。[网页隧道设置](https://doc.natfrp.com/app/http.html) · [自动 HTTPS](https://doc.natfrp.com/frpc/auto-https.html)
|
||||
3. 到管理面板的「子域绑定」申请一个 `nyat.app` 子域名,点「新建绑定」并选中刚建的隧道。启动或重启隧道,等日志显示已为该域名加载证书。把日志里的**域名和公网端口一起**复制,加上 `https://`,即为下节要填的地址。[子域绑定与证书图文说明](https://doc.natfrp.com/bestpractice/domain-bind.html)
|
||||
|
||||
## 让 Piik 生成正确的邀请
|
||||
|
||||
### 桌面 App
|
||||
|
||||
- 使用 **3.0 内测版**时,在 Piik 启动页选择 **公网邀请 → 使用已有地址**,填入隧道的公网 HTTPS 地址。在樱花映射的 TCP 隧道设置里,把 **本机转发目标** 显示的 IP 和端口分别填入对应字段。回到 Piik,点 **进入 Piik**。
|
||||
- 使用 **2.x 维护版**时,在解压后的 App 目录打开 PowerShell。先用 `.\piik-app.exe --help` 确认帮助中有 `public-origin`,再运行下面的命令,把示例 HTTPS 地址替换为隧道日志里的公网地址,把 `8787` 换成 TCP 隧道设置里的本地端口。正式版 v2.7.0 如需使用固定地址,可采用下方的 Server 方式。
|
||||
|
||||
```powershell
|
||||
.\piik-app.exe --link --public-origin https://piik.example.nyat.app:21080 --port 8787
|
||||
```
|
||||
|
||||
### 已部署的 Server
|
||||
|
||||
在现有服务配置中选用对应版本的设置,然后重启 Piik Server。容器部署请把 frp 指向宿主机上发布的 Piik 网页端口。
|
||||
|
||||
| 版本 | 本地网页端口 | 邀请使用的公网地址 |
|
||||
| --- | --- | --- |
|
||||
| 2.x Server | `PORT=8787` | `PUBLIC_BASE_URL=https://piik.example.nyat.app:21080` |
|
||||
| 3.0 Server | `PIIK_CHANNEL_PORT=8787` | `PIIK_CHANNEL_INVITATION_ORIGIN=https://piik.example.nyat.app:21080` |
|
||||
|
||||
填写公网 HTTPS 地址和分配的端口,例如 `https://piik.example.nyat.app:21080`。不用填房间路径;复制链接时,Piik 会自动加上房间路径和邀请凭证。
|
||||
|
||||
## 从外网验证
|
||||
|
||||
在 Piik 房间里复制**完整邀请链接**或显示二维码,让朋友用手机流量打开。能进入房间并收到一条新聊天消息,说明网页和信令已通。保持 Piik 与隧道运行,再开始分享,确认朋友能看到画面、听到声音。
|
||||
|
||||
- **打不开或提示证书不受信任**时,在樱花映射启动器打开隧道日志,查看启动结果和证书加载结果。把日志中的域名及公网端口填回 Piik,再复制一份邀请。[樱花映射排查](https://doc.natfrp.com/faq/site-inaccessible.html)
|
||||
- **聊天正常,画面连接不上**时,网页隧道已经工作。画面和声音另走 WebRTC,可以先让一方换用手机热点重试。[媒体网络排查](./network.zh-CN.md)
|
||||
|
||||
<details>
|
||||
<summary>Server 也需要通过 frp 中转媒体</summary>
|
||||
|
||||
另建一条 UDP 隧道,记录服务商分配的公网 IP 和 UDP 端口。网页隧道继续使用原来的地址。
|
||||
|
||||
- **2.x Server** 将隧道的本地端口和 `SFU_UDP_PORT` 都设为分配的公网 UDP 端口,`SFU_PUBLIC_IP` 填该节点的公网 IPv4。[2.x 媒体转发配置](../operations/self-hosting.zh-CN.md#使用托管-frp-服务)
|
||||
- **3.0 Server** 将隧道转发到 `PIIK_CHANNEL_UDP_PORT`,`PIIK_CHANNEL_UDP_PUBLIC_ADDRESS` 填实际的公网 `IP:端口`。服务端启用 `PIIK_CHANNEL_SERVICE_TRANSIT=true` 后,房主可在房间设置中开启 **允许站点转发**。
|
||||
|
||||
</details>
|
||||
@@ -1,57 +1,59 @@
|
||||
# Your first Piik room
|
||||
|
||||
English · [简体中文](./getting-started.zh-CN.md) · [Back to Piik](../../README.md)
|
||||
English · [简体中文](./getting-started.zh-CN.md) · [Documentation](./README.md)
|
||||
|
||||
Piik lets one Host share with up to 20 invited Viewers. Choose your starting point:
|
||||
|
||||
| You want to… | Start here |
|
||||
| --- | --- |
|
||||
| Watch a friend | [Open their invitation](#join-a-friends-room). No installation. |
|
||||
| Share with friends elsewhere | [Piik App → Public invite](#share-with-piik-app). Keep App running. |
|
||||
| Share without installing | [Piik online](#use-piik-online), in your browser. |
|
||||
| Use your group's site | [Open that site](#share-from-an-existing-site); App capture is optional. |
|
||||
|
||||

|
||||
- [Watch a friend’s screen](#join-a-friends-room)
|
||||
- [Share from your browser](#share-your-screen-in-a-browser) or [share with Piik App](#share-with-piik-app)
|
||||
|
||||
## Join a friend's room
|
||||
|
||||
1. Open the invitation link your friend sent in a desktop or mobile browser.
|
||||
2. Wait for their screen to appear. If the browser blocks autoplay, press **Play**.
|
||||
3. Move the pointer over the picture or tap it to show the playback bar.
|
||||
1. Open the invitation link your friend sent in a browser on your phone or computer. You can watch without installing Piik App or creating an account.
|
||||
2. If Piik asks for a **Site passphrase** as soon as you open the link, ask your friend for the passphrase for that site. If the room shows **Enter room password**, select it, enter the password for that room and select **Join**. An invitation with **Skip passwords** takes you straight to the room.
|
||||
3. If you see a **Play** button on your friend’s picture, select it. Tap the picture or move your pointer over it for [playback controls](./sharing.md#playback-controls).
|
||||
|
||||
The playback bar controls only your own picture and sound.
|
||||
See [playback controls](./sharing.md#playback-controls) for fullscreen, display and sound options.
|
||||
If you received only a four-digit room code, ask your friend for their Piik site address. Open that address, enter the **Site passphrase** if prompted, then select **Join a room**. Enter the four digits and select the arrow. If the room requires a password, ask your friend for it. For an invitation-only room, ask for the full invitation link.
|
||||
|
||||
Only have a four-digit code? Open the same Piik site and select **Join a room**.
|
||||
Enter the site passphrase or room password if asked. If code entry is unavailable
|
||||
or an old link fails, ask the Host for their current invitation.
|
||||

|
||||

|
||||
|
||||
## Use Piik online
|
||||

|
||||

|
||||
|
||||
1. Open [demo.piik.tv](https://demo.piik.tv) in your browser.
|
||||
2. Select **Start sharing**, then **Browser** for a screen, window or tab, or
|
||||
**Camera** where your computer or phone browser supports it. Enable source
|
||||
audio if the picker offers it.
|
||||
3. Confirm the preview and select **Copy invite link**. Open that link on a
|
||||
second device or send it to a friend.
|
||||
4. Select **Stop sharing** when finished.
|
||||
[Get help joining or watching](./troubleshooting.md#common-problems).
|
||||
|
||||
The online version is provided by the project. Media travels only between participants (P2P);
|
||||
restrictive networks may load the page but block video.
|
||||
<a id="use-piik-online"></a>
|
||||
|
||||
## Share your screen in a browser
|
||||
|
||||
1. Open [demo.piik.tv](https://demo.piik.tv) in your browser. You can share without an account or download.
|
||||
2. Select **Start sharing**. Choose **Browser** to share a screen, window, or tab, or **Camera** to share your camera. Pick what you want viewers to see and enable audio if the picker offers it.
|
||||
3. When your picture appears, select **Copy** under **Admission** and send the invitation to your friends. If a friend is nearby, open the **QR code** beside the link for them to scan.
|
||||
4. Keep the sharing tab open while friends watch. Select **Stop sharing** when you’re done.
|
||||
|
||||
For iPhone or iPad, see [screen sharing in Safari](./sharing.md#iphone-and-ipad-screen-sharing). If you can’t start sharing, see [sharing troubleshooting](./troubleshooting.md#starting-a-share).
|
||||
|
||||

|
||||

|
||||
|
||||

|
||||

|
||||
|
||||
## Share with Piik App
|
||||
|
||||
1. Download a **`piik-app`** archive for your platform from
|
||||
On iPhone or iPad, [use Piik in Safari](#share-your-screen-in-a-browser).
|
||||
|
||||
1. Download **Piik App** for your platform from
|
||||
[GitHub Releases](https://github.com/TNTcraftHIM/Piik/releases) or the
|
||||
[Gitee mirror](https://gitee.com/TNTcraftHIM/Piik/releases). Extract the whole
|
||||
archive and keep its directory structure intact.
|
||||
[AtomGit mirror](https://atomgit.com/TNTcraftHIM/Piik/releases). On Android phones and tablets,
|
||||
install the APK directly. On a computer,
|
||||
extract the whole archive and keep its directory structure intact.
|
||||
2. Open `piik-app.exe` on Windows, `Piik App.app` on macOS, or `./piik-app` on Linux.
|
||||
The launcher opens in your system browser.
|
||||
On Android phones and tablets, open Piik after installation. The launcher opens in your system browser.
|
||||
3. Choose **Public invite** for friends outside your local network, then select
|
||||
**Open Piik**. Other modes are explained below.
|
||||
4. Choose **Start sharing**, then select **Browser**, **Camera**, **Apps / Windows**, or
|
||||
**Screens** as available. Pick the actual source and sound option.
|
||||
5. Copy and send the room invitation. Keep both the App and sharing tab open.
|
||||
**Screens** as available. Choose what friends should see and turn on sound if you want them to hear it.
|
||||
5. Select **Copy** beside the invitation link and send it to your friends. Keep both the App and sharing tab open.
|
||||
|
||||

|
||||

|
||||
@@ -68,6 +70,7 @@ If macOS blocks the first launch, follow the [Mac opening steps](./troubleshooti
|
||||
| `darwin-amd64` | Intel Mac; native capture requires macOS 13+ |
|
||||
| `linux-amd64` | Linux x64 |
|
||||
| `linux-arm64` | Linux ARM64 |
|
||||
| `android-universal` | Android 10+; ARM64 and x64 in one APK |
|
||||
|
||||
Linux native capture also needs [system components](../../native/capture/linux/README.md).
|
||||
See the [App guide](../../cmd/piik-app/README.md) for package and runtime details.
|
||||
@@ -87,9 +90,7 @@ See the [App guide](../../cmd/piik-app/README.md) for package and runtime detail
|
||||
|
||||
For Local room and Public invite, expand **Site passphrase** to set an optional
|
||||
access passphrase.
|
||||
Local invitations use HTTPS. On first access, confirm the local certificate
|
||||
against the Host's App terminal before continuing; see the
|
||||
[certificate guide](./troubleshooting.md#local-https-certificate-warning).
|
||||
If your browser shows a warning, check with the host before opening the local invitation. [How to check a local invitation](./troubleshooting.md#local-https-certificate-warning)
|
||||
|
||||
<details>
|
||||
<summary>Return to the launcher or change mode</summary>
|
||||
@@ -135,7 +136,7 @@ To run your own site, follow [self-hosting](../operations/self-hosting.md).
|
||||
2. Choose **Start sharing**, then **Browser** to select a screen, window or tab,
|
||||
or **Camera** where your computer or phone browser supports it.
|
||||
Enable source audio if the picker offers it.
|
||||
3. Check the preview, then choose **Copy invite link** and send it to your friends.
|
||||
3. When the preview shows your picture, select **Copy** under **Admission** and send the invitation to your friends.
|
||||
4. Keep the sharing tab open. Use **Pause sharing**, **Switch source**, or
|
||||
**Stop sharing** when you need them.
|
||||
|
||||
@@ -145,8 +146,8 @@ Invitation links grant access to that room; share them with the people you want
|
||||
|
||||
To use App capture on that same site, follow [Use App with an existing site](#use-app-with-an-existing-site).
|
||||
The site manages rooms and invitations; the App supplies native capture.
|
||||
If its operator has enabled SFU forwarding, turn off **Privacy mode** before
|
||||
sharing to allow that fallback. The project's online site uses P2P only.
|
||||
If the site can relay video for viewers who cannot connect directly, turn off **Privacy mode** before
|
||||
sharing to allow that option.
|
||||
|
||||
## Next steps
|
||||
|
||||
|
||||
@@ -1,53 +1,58 @@
|
||||
# 第一次用 Piik
|
||||
|
||||
[English](./getting-started.md) · 简体中文 · [回到 Piik](../../README.zh-CN.md)
|
||||
[English](./getting-started.md) · 简体中文 · [文档中心](./README.zh-CN.md)
|
||||
|
||||
Piik 支持一位房主分享屏幕,最多 20 位受邀观众观看。先选适合你的入口:
|
||||
|
||||
| 你想做什么 | 从这里开始 |
|
||||
| --- | --- |
|
||||
| 看朋友的画面 | [打开对方的邀请](#加入朋友的房间),不必安装。 |
|
||||
| 分享给其他网络的朋友 | [Piik App → 公网邀请](#用-piik-app-分享),保持 App 运行。 |
|
||||
| 免安装分享 | 在浏览器里[使用在线版](#使用在线版)。 |
|
||||
| 使用你们自己的站点 | [打开已有站点](#使用已有站点分享),按需连接 App 采集。 |
|
||||
|
||||

|
||||
- [观看朋友的分享](#加入朋友的房间)
|
||||
- [用浏览器分享](#用浏览器分享屏幕)或[用 Piik App 分享](#用-piik-app-分享)
|
||||
|
||||
## 加入朋友的房间
|
||||
|
||||
1. 用电脑或手机浏览器打开朋友发来的邀请链接。
|
||||
2. 等待画面出现。如果浏览器没有自动播放,点击 **播放**。
|
||||
3. 将鼠标移到画面上,或轻点画面,显示播放控制栏。
|
||||
1. 用手机或电脑的浏览器打开朋友发来的邀请链接。观看无需安装 Piik App,也无需注册。
|
||||
2. 如果打开链接就看到 **站点口令**,请向朋友索取这个站点的口令。如果房间显示 **输入房间密码**,点击按钮,填入这个房间的密码,再点击 **加入**。朋友发来的是 **免密邀请** 时,打开链接即可进房。
|
||||
3. 如果朋友的画面上有 **播放** 按钮,点击它。轻点画面或将鼠标移到画面上,可以打开[播放控制栏](./sharing.zh-CN.md#播放控制)。
|
||||
|
||||
播放控制栏只改变你自己看到的画面和听到的声音。
|
||||
全屏、画面显示与音量选项见[播放控制](./sharing.zh-CN.md#播放控制)。
|
||||
如果朋友只发了四位房间号,先问对方要 Piik 站点地址。打开该地址,按提示输入 **站点口令**,再点击 **加入房间**,填入四位房间号并点击箭头。如果提示输入房间密码,向朋友索取密码;如果房间只接受邀请,请朋友发完整邀请链接。
|
||||
|
||||
只有四位房间号时,打开同一个 Piik 站点,选择 **加入房间**,按需输入站点口令或房间密码。
|
||||
无法通过房间号加入,或旧链接失效时,请房主发送当前邀请。
|
||||

|
||||

|
||||
|
||||
## 使用在线版
|
||||

|
||||

|
||||
|
||||
1. 在浏览器中打开 [demo.piik.tv](https://demo.piik.tv)。
|
||||
2. 点击 **开始分享**,选择 **浏览器** 分享屏幕、窗口或标签页;也可在电脑或手机上选择
|
||||
**摄像头**(需浏览器支持访问)。如需来源声音且选择器提供该选项,启用音频。
|
||||
3. 确认预览后,点击 **复制邀请链接**,用另一台设备打开,或发送给朋友。
|
||||
4. 分享结束后,点击 **停止分享**。
|
||||
[加入或观看遇到问题](./troubleshooting.zh-CN.md#常见问题)。
|
||||
|
||||
在线版由项目提供,画面仅通过设备间直连(P2P)传输。
|
||||
在受限网络下,可能出现页面能打开、画面无法连接的情况。
|
||||
<a id="使用在线版"></a>
|
||||
|
||||
## 用浏览器分享屏幕
|
||||
|
||||
1. 用浏览器打开 [demo.piik.tv](https://demo.piik.tv)。无需注册或下载就能分享。
|
||||
2. 点击 **开始分享**。选择 **浏览器** 可以分享屏幕、窗口或标签页,选择 **摄像头** 可以分享镜头画面。选好要分享的画面,如果选择器提供音频选项,可按需开启。
|
||||
3. 预览出现画面后,在 **准入方式** 里点 **复制**,把邀请链接发给朋友。朋友在旁边时,可以点链接旁的 **二维码** 让对方扫码。
|
||||
4. 朋友观看时,保持分享标签页打开。结束时点击 **停止分享**。
|
||||
|
||||
使用 iPhone 或 iPad 时,请查看 [Safari 屏幕分享说明](./sharing.zh-CN.md#iphone-与-ipad-屏幕分享)。如果无法开始分享,请查看[分享问题排查](./troubleshooting.zh-CN.md#开始分享)。
|
||||
|
||||

|
||||

|
||||
|
||||

|
||||

|
||||
|
||||
## 用 Piik App 分享
|
||||
|
||||
使用 iPhone 或 iPad 时,请在 [Safari 中使用在线版](#用浏览器分享屏幕)。
|
||||
|
||||
1. 从 [GitHub Releases](https://github.com/TNTcraftHIM/Piik/releases) 或
|
||||
[Gitee 镜像](https://gitee.com/TNTcraftHIM/Piik/releases)下载以 **`piik-app`** 开头、
|
||||
对应平台的压缩包,完整解压并保留目录结构。
|
||||
[AtomGit 镜像](https://atomgit.com/TNTcraftHIM/Piik/releases)下载以 **`piik-app`** 开头、
|
||||
对应平台的程序包。安卓手机或平板直接安装 APK。
|
||||
桌面端完整解压并保留目录结构。
|
||||
2. Windows 打开 `piik-app.exe`,macOS 打开 `Piik App.app`,Linux 运行 `./piik-app`。
|
||||
启动页会在系统浏览器里打开。
|
||||
安卓手机或平板安装后打开 Piik。启动页会在系统浏览器里打开。
|
||||
3. 邀请不在同一局域网的朋友时,选择 **公网邀请**,再点击 **进入 Piik**。
|
||||
其他模式的用途见下方说明。
|
||||
4. 点击 **开始分享**,按可用选项选择 **浏览器**、**摄像头**、**程序 / 窗口** 或 **屏幕**,
|
||||
然后选定要分享的画面与声音。
|
||||
5. 复制房间邀请发给朋友。分享期间保持 App 和分享标签页打开。
|
||||
选好要分享的画面。想让朋友听到声音时,可按需开启声音选项。
|
||||
5. 点击邀请链接旁的 **复制**,把邀请链接发给朋友。分享期间保持 App 和分享标签页打开。
|
||||
|
||||

|
||||

|
||||
@@ -64,6 +69,7 @@ macOS 首次打开被拦截时,按 [Mac 打开说明](./troubleshooting.zh-CN.
|
||||
| `darwin-amd64` | Intel Mac;原生采集需 macOS 13 及以上 |
|
||||
| `linux-amd64` | Linux x64 |
|
||||
| `linux-arm64` | Linux ARM64 |
|
||||
| `android-universal` | Android 10 及以上;一个 APK 包含 ARM64 和 x64 |
|
||||
|
||||
Linux 原生采集还需要[系统组件](../../native/capture/linux/README.md)。
|
||||
程序包与启动参数的细节见 [App 指南](../../cmd/piik-app/README.zh-CN.md)。
|
||||
@@ -80,8 +86,7 @@ Linux 原生采集还需要[系统组件](../../native/capture/linux/README.md)
|
||||
多网卡时,可展开 **局域网邀请地址**,选择朋友所在的网络。
|
||||
|
||||
本地房间和公网邀请可展开 **站点口令** 设置可选的访问口令。
|
||||
本地邀请使用 HTTPS;首次访问时,先与房主的 App 终端核对本地证书,再继续进入,
|
||||
操作见[证书确认说明](./troubleshooting.zh-CN.md#本地-https-证书提示)。
|
||||
如果浏览器弹出警告,请先向房主确认本地邀请再继续。[如何确认本地邀请](./troubleshooting.zh-CN.md#本地-https-证书提示)
|
||||
|
||||
<details>
|
||||
<summary>回到启动页或更换模式</summary>
|
||||
@@ -120,7 +125,7 @@ App 与站点需要使用同一大版本,**2.x 与 1.x 不能混用**。
|
||||
1. 打开 Piik 站点。如果站点设置了口令,先输入口令。
|
||||
2. 点击 **开始分享**,选择 **浏览器** 后在浏览器弹窗里选择屏幕、窗口或标签页;
|
||||
浏览器支持时,电脑和手机也可选择 **摄像头**。如需来源声音且选择器提供该选项,启用音频。
|
||||
3. 确认预览画面后,点击 **复制邀请链接** 发给朋友。
|
||||
3. 预览出现画面后,点击邀请链接旁的 **复制**,把邀请链接发给朋友。
|
||||
4. 保持分享标签页打开。需要时使用 **暂停分享**、**切换来源** 或 **停止分享**。
|
||||
|
||||
浏览器屏幕采集需要 HTTPS 站点或 `localhost`。
|
||||
@@ -129,8 +134,7 @@ App 与站点需要使用同一大版本,**2.x 与 1.x 不能混用**。
|
||||
|
||||
想在同一站点使用 App 采集,可按[通过已有站点使用 App](#通过已有站点使用-app)的步骤操作。
|
||||
站点负责房间与邀请,App 提供原生采集。
|
||||
如果管理员已启用 SFU 转发,房主可在开始分享前关闭 **隐私模式**,允许使用这条兜底线路。
|
||||
项目提供的在线版仅使用 P2P。
|
||||
如果站点能为无法直连的观众转发画面,房主可在开始分享前关闭 **隐私模式** 来允许转发。
|
||||
|
||||
## 接下来可以做什么
|
||||
|
||||
|
||||
@@ -2,47 +2,46 @@
|
||||
|
||||
English · [简体中文](./network.zh-CN.md) · [Troubleshooting](./troubleshooting.md)
|
||||
|
||||
Use this page when **the page opens, but picture or voice will not connect**.
|
||||
Choose the relevant check:
|
||||
If you can open the room but can’t see your friend’s stream, see [No picture after joining a room](./no-media-route.md). If you have already tried another browser or network, choose the situation that matches yours.
|
||||
|
||||
- **Campus/work network, or the same invite works on a hotspot:** [connection options](#campus-networks-and-strict-nat).
|
||||
- **The same invite works in another browser:** [browser restrictions](#browser-webrtc-restrictions).
|
||||
- **The same invitation works on a hotspot.** [What to do when your usual network blocks the stream](#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).
|
||||
- **Using Tailscale, ZeroTier or UU:** [virtual LAN steps](#optional-a-virtual-lan).
|
||||
|
||||
Web pages and chat use a separate connection from picture and sound.
|
||||
For media failures, check WebRTC UDP and the route options below.
|
||||
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#the-picture-is-blurry-or-keeps-freezing), follow that symptom instead.
|
||||
|
||||
Web pages and chat use a separate connection from picture and sound:
|
||||
|
||||

|
||||
|
||||
If the [invitation page will not open](./troubleshooting.md#public-invitation-fails-or-shows-1033),
|
||||
or [video already plays but blurs or stutters](./troubleshooting.md#picture-blurs-stutters-or-stops), start with that symptom instead.
|
||||
|
||||
## 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 a public invitation, try opening the same link on a phone hotspot.** If you can watch there, keep using the hotspot or ask the person who manages your usual network for help.
|
||||
|
||||
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.
|
||||
- **Everyone can install a networking tool:** use the [virtual LAN steps](#optional-a-virtual-lan) below with the App's **Local room**.
|
||||
- **The required connections are blocked:** use an available network or ask its administrator to review access.
|
||||
- **You have a Piik site:** ask its operator to confirm that picture and sound forwarding is enabled. The Host turns off **Privacy mode** on that site, starts sharing, and sends the new room invitation. Piik can try forwarding through the site if a direct connection fails. [Site setup](../operations/self-hosting.md#optional-media-fallback) · [Use the App with an existing site](./getting-started.md#use-app-with-an-existing-site)
|
||||
- **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**.
|
||||
|
||||
> **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.
|
||||
<details>
|
||||
<summary>For site administrators · Media forwarding</summary>
|
||||
|
||||
**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.
|
||||
|
||||
</details>
|
||||
|
||||
## 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.
|
||||
1. Open the same invitation in another browser. If the picture appears, you can keep watching there.
|
||||
2. To keep using your original browser, try a fresh profile with default settings. If that works, check the privacy extensions in your original profile. If neither browser shows the picture, try a public invitation on a phone hotspot. For a local invitation, keep both devices on the same LAN or virtual LAN.
|
||||
|
||||
<details>
|
||||
<summary>Chrome / Vivaldi settings</summary>
|
||||
<summary>Advanced · Chrome and Vivaldi privacy settings</summary>
|
||||
|
||||
Browser or VPN policies can block picture connections, including capture through App on the same computer. Check **WebRTC** or **IP-leak protection** in the original profile. For a school or work device, ask the administrator.
|
||||
|
||||
`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
|
||||
@@ -102,10 +101,7 @@ and [double NAT](https://www.tp-link.com/us/support/faq/3113/).
|
||||
|
||||
## Optional: a virtual LAN
|
||||
|
||||
A virtual LAN connects devices in different places, so you can share through
|
||||
Piik App's **Local room**. 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:
|
||||
Friends in different places can use a virtual LAN to connect their devices and share with Piik App’s **Local room**. Choose a tool with a LAN networking mode that everyone can join.
|
||||
|
||||
- **[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.
|
||||
@@ -114,25 +110,22 @@ not suffice. Choose a tool available to everyone in your group:
|
||||

|
||||
|
||||
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.
|
||||
2. **The Host chooses an address in Piik.** Find your own device’s IPv4 address in the networking tool. Open Piik App, choose **Local room**, expand **Local invitation address**, and select the matching address. Enter the room and start sharing. The example below uses `192.0.2.30`.
|
||||
|
||||

|
||||

|
||||
|
||||
3. **Send the complete invitation.** The Host copies the full HTTPS invitation from Piik and sends it to friends. The link should contain the virtual IPv4 address just selected. Friends open the link and confirm the certificate with the Host before entering for the first time. [Confirm the local certificate](./troubleshooting.md#local-https-certificate-warning)
|
||||
4. **Ask a friend to try it.** They should see the shared picture and hear any sound the Host chose to share. Everyone keeps the networking tool running, and the Host keeps Piik App open. 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).
|
||||
- **The page opens but the picture won’t play.** The virtual LAN needs to carry both web traffic and UDP between devices. Check that everyone joined using the tool’s general LAN mode, then check [WebRTC settings in the browser](#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>
|
||||
To give an App or Server a fixed public invitation address, use a managed or self-hosted tunnel. [frp and SakuraFrp guide](./frp.md)
|
||||
|
||||
If the issue persists, [collect reports](./troubleshooting.md#reporting-a-problem) from the same attempt.
|
||||
@@ -2,43 +2,45 @@
|
||||
|
||||
[English](./network.md) · 简体中文 · [问题排查](./troubleshooting.zh-CN.md)
|
||||
|
||||
本页用于排查 **网页能打开,但画面或语音连接不上**。按你的情况选择:
|
||||
房间能打开,但看不到朋友分享的画面?从[进房后没画面](./no-media-route.zh-CN.md)开始。如果你已经试过其他浏览器或网络,可以直接选对应的情况。
|
||||
|
||||
- **校园网、公司网络,或换成热点就能看:** [选择连接方案](#校园网或严格-nat)。
|
||||
- **同一邀请在别的浏览器里正常:** [检查浏览器限制](#浏览器限制了-webrtc)。
|
||||
- **换成热点就能看。** [原来的网络连不上时怎么办](#校园网或严格-nat)
|
||||
- **异地朋友打不开你的本地邀请:** [通过虚拟局域网连接](#可选虚拟局域网)。
|
||||
- **日志提到 STUN,或准备检查自家路由器:** [地址发现与路由器](#stunipv6-与路由器检查)。
|
||||
- **准备使用 UU、Tailscale 或 ZeroTier:** [虚拟局域网使用步骤](#可选虚拟局域网)。
|
||||
|
||||
网页与聊天、画面与声音使用不同的连接。媒体连接失败时,检查 WebRTC UDP 和下方的连接方案。
|
||||
如果是[公网邀请网页打不开](./troubleshooting.zh-CN.md#公网邀请创建失败或出现-1033),或[有画面但模糊、卡顿](./troubleshooting.zh-CN.md#画面模糊卡顿或中断),先按对应症状排查。
|
||||
|
||||
网页与聊天、画面与声音使用不同的连接:
|
||||
|
||||

|
||||
|
||||
如果是[邀请网页打不开](./troubleshooting.zh-CN.md#公网邀请创建失败或出现-1033),或[画面已经出现但模糊、卡顿](./troubleshooting.zh-CN.md#画面模糊卡顿或中断),先按对应症状排查。
|
||||
|
||||
## 校园网或严格 NAT
|
||||
|
||||
**先用手机热点打开同一邀请。** 热点能看、原网络不能看时,原网络的共享出口或防火墙限制更值得检查。
|
||||
**如果用的是公网邀请,先换手机热点打开同一链接。** 如果能看,可以继续用热点,也可以请管理原来网络的人帮忙。
|
||||
|
||||
需要长期使用时,可以选择以下方案:
|
||||
|
||||
- **有可用的 Piik 站点:** 请管理员[启用服务器媒体转发(SFU)](../operations/self-hosting.zh-CN.md#可选启用媒体兜底),房主关闭 **隐私模式**,直连失败时即可尝试转发。使用 App 采集时,[授权新站点](./getting-started.zh-CN.md#通过已有站点使用-app),再发送该站点的邀请。
|
||||
- **朋友们可以安装组网工具:** 按下方[虚拟局域网步骤](#可选虚拟局域网),通过 App 的 **本地房间** 分享。
|
||||
- **所需的连接被网络阻断:** 换用可用网络,或请网络管理员检查放行。
|
||||
- **有可用的 Piik 站点:** 请管理员确认站点已开启画面和声音转发。房主在该站点关闭 **隐私模式** 后开始分享,再把新房间的邀请发给观众。直连失败时,Piik 会尝试通过站点转发。[管理员设置](../operations/self-hosting.zh-CN.md#可选启用媒体兜底) · [用 App 在已有站点分享](./getting-started.zh-CN.md#通过已有站点使用-app)
|
||||
- **没有可用的转发站点,直连仍然失败:** 可尝试[虚拟局域网](#可选虚拟局域网)。朋友们加入同一个虚拟网络,再通过 App 的 **本地房间** 分享。
|
||||
|
||||
> **媒体需要 UDP。** `demo.piik.tv` 和 App 的 **公网邀请** 使用纯 P2P。
|
||||
> 服务器转发需要站点启用 SFU,并且 UDP 端点可达。
|
||||
<details>
|
||||
<summary>站点管理员可选读 · 转发画面和声音</summary>
|
||||
|
||||
**媒体需要 UDP。** `demo.piik.tv` 和 App 的 **公网邀请** 使用纯 P2P。
|
||||
服务器转发需要站点启用 SFU,并且 UDP 端点可达。
|
||||
|
||||
</details>
|
||||
|
||||
## 浏览器限制了 WebRTC
|
||||
|
||||
浏览器的 WebRTC 设置、VPN 或隐私扩展可能阻止媒体 UDP,
|
||||
包括同一台电脑上的浏览器与 App 之间的连接。
|
||||
|
||||
1. 用默认设置、未启用相关隐私扩展的浏览器打开同一邀请,对照能否观看。
|
||||
2. 如果新配置可以观看,检查原浏览器中的 **WebRTC** 或 **IP 泄露保护** 选项,恢复允许 WebRTC UDP 的策略。
|
||||
3. 修改后刷新 Piik 页面,再尝试分享或观看。学校或公司统一管理的策略需由管理员调整。
|
||||
1. 用另一款浏览器打开同一邀请。如果那里能看到画面,可以直接用它观看。
|
||||
2. 想继续使用原浏览器,可以先用默认设置的新浏览器配置打开邀请。如果能看,检查原配置的隐私扩展。如果两款浏览器都看不到,公网邀请可以换手机热点再试。本地邀请需要让两台设备都留在同一个局域网或虚拟局域网内。
|
||||
|
||||
<details>
|
||||
<summary>Chrome / Vivaldi 设置</summary>
|
||||
<summary>进阶 · Chrome 或 Vivaldi 的隐私设置</summary>
|
||||
|
||||
浏览器或 VPN 的 WebRTC 策略可能阻止画面连接,也可能影响同一台电脑上的 App 采集。检查原配置中的 **WebRTC** 或 **IP 泄露保护**。学校或公司统一管理的设备,请联系管理员。
|
||||
|
||||
`disable_non_proxied_udp` 表示限制未经代理的 UDP,可先与浏览器默认策略对照。
|
||||
Chrome 的扩展可能控制此策略,即使浏览器没有显式开关。
|
||||
@@ -89,9 +91,7 @@ STUN 服务会接收到参与者的公网 IP,请选择信任的服务。
|
||||
|
||||
## 可选:虚拟局域网
|
||||
|
||||
虚拟局域网让异地设备像在同一网络中一样互访,再通过 Piik App 的 **本地房间** 分享。
|
||||
工具必须提供可互访的虚拟 IPv4 地址,同时支持网页访问和 WebRTC UDP;只加速某个游戏的功能不适用。
|
||||
选择朋友们都能使用的工具即可:
|
||||
朋友在外地,也可以用组网工具把设备连到同一个虚拟局域网,再用 Piik App 的 **本地房间** 分享。选择支持局域网组网的工具,让朋友也加入同一个网络。
|
||||
|
||||
- **[UU](https://uu.163.com/blog/lan-multiplayer-guide-net.html):** 使用通用局域网组网入口,加入同一房间。在 Piik 中选择房主的 UU 虚拟 IPv4 地址。
|
||||
- **[Tailscale](https://tailscale.com/docs/how-to/quickstart)(英文教程):** 各设备安装后,邀请朋友加入同一个私有网络(tailnet)。在 Piik 中选择房主的 Tailscale IPv4 地址(`100.x.y.z`)。
|
||||
@@ -100,24 +100,22 @@ STUN 服务会接收到参与者的公网 IP,请选择信任的服务。
|
||||

|
||||
|
||||
1. **加入同一网络。** 房主和朋友都运行组网工具,进入同一个虚拟局域网。
|
||||
2. **房主选择虚拟地址。** 在新版 Piik App 选择 **本地房间**,展开 **局域网邀请地址**,选择组网工具提供的 IP,然后进入房间并分享。
|
||||
3. **发送完整邀请。** 朋友打开该虚拟 IP 下的 HTTPS 邀请,首次访问先与房主[核对本地证书](./troubleshooting.zh-CN.md#本地-https-证书提示),再进入房间。不要发送 `localhost` 地址或只发房间号。
|
||||
4. **确认画面和声音。** 所有设备保持组网工具运行,房主同时保持 Piik App 运行。虚拟 IP 变化后,房主需重新选择地址并发送新邀请。
|
||||
2. **房主在 Piik 里选地址。** 在组网工具里查看自己这台设备的 IPv4 地址。打开 Piik App,选 **本地房间**,展开 **局域网邀请地址**,在列表里选中相同的地址,然后进房开播。下图的示例地址是 `192.0.2.30`。
|
||||
|
||||

|
||||

|
||||
|
||||
3. **发送完整邀请。** 房主复制 Piik 生成的完整 HTTPS 邀请发给朋友。链接里应包含刚选的虚拟 IPv4 地址。朋友打开链接,首次访问时先和房主核对证书,再进入房间。[核对本地证书](./troubleshooting.zh-CN.md#本地-https-证书提示)
|
||||
4. **请朋友试播。** 请朋友确认能看到正在分享的画面。如果房主开启了声音分享,也应能听到声音。观看期间,双方都保持组网工具运行,房主还需保持 Piik App 运行。虚拟 IP 变化后,房主重新选地址,再发新邀请。
|
||||
|
||||
遇到问题时,按最先失败的一步检查:
|
||||
|
||||
- **网页打不开:** 先查[本地邀请与防火墙](./troubleshooting.zh-CN.md#本地邀请打不开),确认 Piik 可通过该虚拟网络访问。
|
||||
- **网页能开,画面连不上:** 检查工具是否传输媒体 UDP,以及[浏览器 WebRTC 设置](#浏览器限制了-webrtc)。
|
||||
- **网页能开,画面连不上。** 组网工具需要同时支持网页访问和设备之间的 UDP 通信。请确认双方都开了通用的局域网组网功能,再检查[浏览器的 WebRTC 设置](#浏览器限制了-webrtc)。
|
||||
- **不能开麦或远控:** 使用 App 生成的 HTTPS 邀请,确认证书,再查[浏览器权限](./troubleshooting.zh-CN.md#无法使用麦克风或远程控制)。支持的浏览器无需公网隧道即可使用这些功能,普通局域网同样适用。
|
||||
|
||||
仅与信任的朋友组网。
|
||||
|
||||
<details>
|
||||
<summary>通过 frp 转发已有服务器</summary>
|
||||
|
||||
有公网服务器的管理员可按 [frp 教程](../operations/self-hosting.zh-CN.md#可选通过-frp-转发已有服务),
|
||||
通过 frps 转发已有站点的网页和 SFU 端点,需同时配置网页与媒体转发。
|
||||
|
||||
</details>
|
||||
如果需要 App 或 Server 的固定公网邀请地址,可用现有 frp 服务或自建隧道。[frp 与樱花映射教程](./frp.zh-CN.md)
|
||||
|
||||
仍有问题时,请按[反馈说明](./troubleshooting.zh-CN.md#反馈问题)收集同一次尝试的报告。
|
||||
@@ -0,0 +1,31 @@
|
||||
# No picture after joining a room
|
||||
|
||||
English · [简体中文](./no-media-route.zh-CN.md)
|
||||
|
||||
<a id="no-picture-after-joining-a-room-no-media-route-available"></a>
|
||||
|
||||
## No media route available
|
||||
|
||||
Ask whether another viewer can see the picture. If someone can, go to [only my picture is missing](#i-get-no-picture-but-other-viewers-can-watch). If nobody can watch, ask the host to check their preview.
|
||||
|
||||
- **The App says the local preview is unavailable but sharing continues.** The host can reconnect their preview from **Playback settings**. Check [viewer connections](#nobody-gets-a-picture) separately.
|
||||
- **The shared source itself is blank.** Ask the host to share an open window, such as a browser window. Once it appears in the preview, open the invitation again. [Start sharing](./sharing.md#start-sharing)
|
||||
- **The host can see the picture.** Follow [nobody gets a picture](#nobody-gets-a-picture).
|
||||
|
||||
## I get no picture, but other viewers can watch
|
||||
|
||||
- **Try another browser.** Open the same invitation there. If the picture plays, you can keep watching in that browser. [Connection settings in the original browser](./network.md#browser-webrtc-restrictions)
|
||||
- **Try another network.** Open the same **public invitation** using mobile data or a phone hotspot. If the picture plays, you can keep watching on that network.
|
||||
- **Only people who joined later are stuck.** Ask someone who can watch to keep the room open. If their **My relay limit** is **0**, they can raise it under **Playback settings → Connection**. The other viewers can then reload. [Forwarding limits](./sharing.md#connection-preferences)
|
||||
|
||||
## Nobody gets a picture
|
||||
|
||||
If the invitation is public, first ask one viewer to open the same link on mobile data. If the picture plays there, check [restrictions on the original network](./network.md#campus-networks-and-strict-nat).
|
||||
|
||||
- **Friends are on different networks and a direct connection still fails.** Everyone can [join the same virtual LAN](./network.md#optional-a-virtual-lan). The Host looks up their own device’s IPv4 address in the networking tool, then selects the matching address in Piik App under **Local room → Local invitation address**. Once sharing starts, the Host sends friends the complete new invitation link.
|
||||
- **You have a site that can forward media.** Ask its operator to confirm media forwarding (SFU) is enabled. The Host turns off **Privacy mode** on that site, starts sharing, and sends the new room invitation. Piik can then try the server when a direct connection fails. [Use Piik App with an existing site](./getting-started.md#use-app-with-an-existing-site)
|
||||
|
||||

|
||||

|
||||
|
||||
If you can’t open the room page, see [how to join your friend’s room](./troubleshooting.md#i-cant-join-my-friends-room). If the picture plays but you can’t hear it, see [sound help](./sound-help.md).
|
||||
@@ -0,0 +1,31 @@
|
||||
# 进房后没画面
|
||||
|
||||
[English](./no-media-route.md) · 简体中文
|
||||
|
||||
<a id="进房后没画面没有可用的媒体线路"></a>
|
||||
|
||||
## 提示「没有可用的媒体线路」
|
||||
|
||||
先问问其他观众能不能看。如果有人能看,见[只有我没画面](#只有我没画面其他人能看)。如果都看不到,请房主检查分享预览。
|
||||
|
||||
- **App 提示「本机预览不可用,分享仍在继续」。** 房主可以在 **播放设置** 里重新连接预览。观众按[所有人都没画面](#所有人都没画面)检查自己的连接。
|
||||
- **分享来源本身没有画面。** 请房主重新分享一个打开的窗口,例如浏览器窗口。预览里出现画面后,朋友再打开邀请。[开始分享](./sharing.zh-CN.md#开始分享)
|
||||
- **房主看得到画面。** 按[所有人都没画面](#所有人都没画面)继续检查。
|
||||
|
||||
## 只有我没画面,其他人能看
|
||||
|
||||
- **换个浏览器。** 用另一款浏览器打开同一邀请。如果能播放,可以直接在那里看。[原浏览器的连接设置](./network.zh-CN.md#浏览器限制了-webrtc)
|
||||
- **换个网络。** 用手机流量或热点打开同一个**公网邀请**。如果能播放,可以用这个网络继续看。
|
||||
- **只有后进房的人看不到。** 请一位能看的朋友保持房间打开。如果这位朋友的**本机转发上限**是 **0**,请他在 **播放设置 → 连接** 里调高上限。后进房的观众再刷新页面。[设置转发人数](./sharing.zh-CN.md#连接偏好)
|
||||
|
||||
## 所有人都没画面
|
||||
|
||||
如果用的是公网邀请,先请一位观众用手机流量打开同一链接。如果能看,检查[原网络的连接限制](./network.zh-CN.md#校园网或严格-nat)。
|
||||
|
||||
- **朋友不在同一个网络,仍然无法直连。** 大家可以[加入同一个虚拟局域网](./network.zh-CN.md#可选虚拟局域网)。房主在组网工具里查看自己这台设备的 IPv4 地址,再打开 Piik App 的 **本地房间 → 局域网邀请地址**,在列表里选中同一个地址。开始分享后,把新生成的完整邀请链接发给朋友。
|
||||
- **有支持服务器转发的站点。** 请管理员确认站点已启用媒体转发(SFU)。房主在该站点关闭 **隐私模式** 后开播,发送该站点生成的新邀请。Piik 会在直连失败时尝试服务器转发。[用 App 在已有站点分享](./getting-started.zh-CN.md#通过已有站点使用-app)
|
||||
|
||||

|
||||

|
||||
|
||||
如果连房间网页都打不开,见[邀请打不开](./troubleshooting.zh-CN.md#进不去朋友的房间)。如果画面能动、只有声音听不到,见[声音排查](./sound-help.zh-CN.md)。
|
||||
@@ -7,11 +7,10 @@ together. The Host shares an App window or screen; friends join in their browser
|
||||
|
||||
## Start remote control
|
||||
|
||||
1. Share through Piik App using **Apps / Windows** or **Screens**.
|
||||
1. On the computer you want to control, share through the desktop Piik App using **Apps / Windows** or **Screens**. On Linux, select a screen through the system picker.
|
||||
2. Open **Remote control** below the picture and turn it on. It starts with
|
||||
**Ask each time**.
|
||||
3. Your friend selects **Request control** in their playback bar. On the Host
|
||||
page, choose **Allow** when the request arrives.
|
||||
3. In the browser, your friend opens the room invitation and hovers over or taps the picture to show the playback bar. They select the mouse icon, then **Request control**. On your sharing page, open **Remote control** and select **Allow** next to their request.
|
||||
|
||||
When sharing a window, switch back to it after allowing control. Input pauses
|
||||
while another window is active and resumes when you return.
|
||||
@@ -89,6 +88,21 @@ If the gamepad does not respond, check the Host's driver and App support, then
|
||||
turn **Remote control** off and on. Keyboard/mouse co-play and ordinary remote control
|
||||
remain available without the gamepad driver.
|
||||
|
||||
<a id="use-the-on-screen-joystick"></a>
|
||||
|
||||
## Play on your phone with the on-screen joystick
|
||||
|
||||
On a touchscreen, tap **Request control** in the playback bar. If the host approves requests individually, wait for them to select **Allow**. Once you have control, **L** and **R** appear on the playing picture. Touchscreen laptops work too.
|
||||
|
||||
Tap **L** or **R** to open or close one stick. Drag the lettered handle to put that stick within easy reach. Your browser remembers the position. Press the pad to steer and lift to center it. When idle, the handles tuck against the picture edges and each open pad stays in place.
|
||||
|
||||
In **Remote keyboard → Local controls**, turn off **Virtual joysticks** to remove both pads and handles and use ordinary touch across the picture. To keep the sticks available with less on screen, turn on **Show on touch**. A thin ring briefly marks a pad when you open it. Press there to show the thumb.
|
||||
|
||||
Open **Remote keyboard → Local controls → Stick mode** to set both sticks. In **Keys + mouse**, the left stick holds W, A, S or D and the right stick moves the mouse. When the Host supports gamepad input and the Viewer has no physical gamepad connected, choose **Gamepad** to send left and right stick input. Closing a stick, leaving the page or disconnecting releases the affected inputs. After reconnecting, select **Request control** again.
|
||||
|
||||

|
||||

|
||||
|
||||
## End control
|
||||
|
||||
Either person can choose **End control**. The Host can stop all remote input with
|
||||
@@ -104,10 +118,28 @@ choice needs **Allow Viewers** before it applies again. Passwords are not saved.
|
||||
|
||||
## Mouse, touch and permissions
|
||||
|
||||
On a phone, swipe to move the pointer, tap to click and hold to drag. Two-finger
|
||||
tap is right-click; two-finger swipe scrolls. Pinch to zoom, then use two fingers
|
||||
to move around the enlarged picture. **Remote keyboard** provides keys and
|
||||
shortcuts. On a computer, **Game mouse** captures continuous mouse movement;
|
||||
For desktop tasks on a phone, tap a visible target or use the trackpad to position the cursor precisely. Both touch modes send positions within the shared picture. For continuous mouse look, use **Game mouse** in a supported desktop browser.
|
||||
|
||||
On a phone, touch the picture directly to click and hold to drag, without a
|
||||
cursor. Two-finger tap is right-click; two-finger swipe scrolls. Pinch to zoom in
|
||||
or out, then use two fingers to pan, including into the blank space around the
|
||||
picture. **Playback settings → Default touch mode → Trackpad** keeps the simpler cursor
|
||||
mode available.
|
||||
|
||||
Drag the mini mouse to reposition it; tap to expand its left and right buttons
|
||||
and combined scroll wheel / middle button. The cursor stays above and to the
|
||||
left of the mouse and moves with it. The picture pans at the edges to leave room
|
||||
for the tool, and the cursor stops at the source picture's edges. With the mouse
|
||||
expanded, use two fingers on the picture to pan or zoom while the mouse stays
|
||||
in reach. Use its wheel to scroll the Host. Drag the lower shell to move; hold a
|
||||
mouse button while moving to drag an item. Tap the wheel to middle-click, swipe
|
||||
it to scroll, or hold then
|
||||
move for a middle-button drag. The separate minimize button returns it to the mini
|
||||
mouse and your selected touch mode. Leave the mini mouse at an edge to tuck it away
|
||||
after the same idle delay as the player controls; tap the visible part to expand
|
||||
it again. **Remote keyboard** provides keys,
|
||||
shortcuts and text entry.
|
||||
On a computer, **Game mouse** captures continuous mouse movement;
|
||||
press **Esc** to release it.
|
||||
|
||||
**Room Viewers** lets authenticated room members take available control without
|
||||
|
||||
@@ -6,9 +6,9 @@
|
||||
|
||||
## 开始远程控制
|
||||
|
||||
1. 通过 Piik App 的 **程序 / 窗口** 或 **屏幕** 开始分享。
|
||||
1. 在要让朋友操作的电脑上,用桌面版 Piik App 的 **程序 / 窗口** 或 **屏幕** 开始分享。Linux 用户请在系统选择器里选择屏幕。
|
||||
2. 打开画面下方的 **远程控制** 并开启开关,默认使用 **每次询问**。
|
||||
3. 朋友在播放控制栏中点击 **请求控制**。收到请求后,房主在分享页面选择 **允许**。
|
||||
3. 朋友在浏览器打开房间邀请,把鼠标移到画面上或轻点画面,显示播放控制栏。点鼠标图标,再点 **请求控制**。房主在自己的分享页面打开 **远程控制**,在朋友的请求旁点 **允许控制**。
|
||||
|
||||
分享窗口时,允许控制后请切回该窗口。
|
||||
其他窗口处于前台时,远程输入会暂停;切回即可继续。
|
||||
@@ -67,6 +67,21 @@ Piik 不指定游戏中的玩家编号,请使用游戏自己的加入和分配
|
||||
手柄没有响应时,请检查房主的驱动和 App 是否支持该功能,再关闭并重新开启 **远程控制**。
|
||||
不装手柄驱动仍可共用键鼠、使用普通远控。
|
||||
|
||||
<a id="使用屏幕摇杆"></a>
|
||||
|
||||
## 用手机玩电脑游戏(屏幕摇杆)
|
||||
|
||||
在触摸屏上观看可远控的画面时,点播放栏里的 **请求控制**。如果房主设置了每次询问,等房主点 **允许控制**。取得控制权后,正在播放的画面下方会出现 **L** 和 **R**。带触摸屏的电脑也可以使用。
|
||||
|
||||
点 **L** 或 **R** 展开或收起一侧摇杆。拖动带字母的拉手,可以把这根摇杆放在拇指舒服的位置,浏览器会记住。按住杆盘控制方向,松手回中。闲置时只有拉手贴边,杆盘留在原位。
|
||||
|
||||
打开 **远程键盘 → 本机控制**。关掉 **虚拟摇杆**,左右拉手和杆盘都会消失,画面可照常触控。想保留摇杆又少遮画面,可以开启 **仅触摸时显示**。展开时,细圈会短暂标出触控位置,按住才显示杆头。
|
||||
|
||||
打开 **远程键盘 → 本机控制 → 摇杆模式** 可同时设置两根摇杆。**键鼠** 模式用左杆控制 W、A、S、D,右杆移动鼠标。房主支持手柄输入且观众没有连接实体手柄时,可以选 **手柄**,直接发送左右摇杆输入。收起摇杆、切出页面或连接中断都会释放相应输入。重新连接后,请再次点击 **请求控制**。
|
||||
|
||||

|
||||

|
||||
|
||||
## 结束控制
|
||||
|
||||
双方都可以点击 **结束控制**。房主在本机按 **Ctrl+Alt+F10**(Windows)或
|
||||
@@ -80,8 +95,16 @@ Piik 不指定游戏中的玩家编号,请使用游戏自己的加入和分配
|
||||
|
||||
## 鼠标、触屏与权限
|
||||
|
||||
手机上滑动可移动鼠标,轻点点击、长按拖动;双指轻点右击、滑动滚动。
|
||||
捏合可以放大画面,放大后用双指移动查看位置。**远程键盘** 提供按键和组合键。
|
||||
用手机操作桌面时,可以轻点画面中的目标,或者用光标触控板微调。两种触摸方式都发送共享画面范围内的光标坐标。需要连续转动鼠标视角时,可在支持的桌面浏览器里开启 **游戏鼠标**。
|
||||
|
||||
手机上默认直接触摸画面操作,不显示光标;轻点点击、长按拖动,双指轻点右击、滑动滚动。
|
||||
捏合可放大或缩小画面,缩放后双指移动用于平移画面,周围允许留黑。在 **播放设置 → 默认触摸方式** 中,也可选择 **光标触控板**。
|
||||
|
||||
拖动迷你鼠标可调整工具的位置,轻点即可展开左右键和滚轮。光标位于鼠标左上方,拖动下半部或单指滑动画面时一起移动;到达边缘时,画面会平移留出鼠标的操作空间。
|
||||
光标停在所分享画面的边缘,留黑只补足工具所需的空间。鼠标展开时,双指缩放、平移会调整本地画面,鼠标留在手边;要滚动远端页面,请滑动鼠标滚轮。
|
||||
按住鼠标键再移动即可拖拽物体。滚轮轻点为中击、滑动为滚动,长按后移动可进行中键拖动。
|
||||
独立的缩小按钮可切回迷你鼠标和选定的触摸方式。迷你鼠标贴边闲置后会按播控相同的时长自动收纳,点击露出的部分即可再次展开。
|
||||
**远程键盘** 提供按键、组合键和文字输入。
|
||||
电脑上可开启 **游戏鼠标** 连续转动视角,按 **Esc** 释放鼠标。
|
||||
|
||||
**房间观众** 允许已加入房间的观众直接取得可用控制权;**控制密码** 要求输入单独设置的密码。
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
English · [简体中文](./room-tools.zh-CN.md) · [Documentation](./README.md)
|
||||
|
||||
Chat and voice work before, during and after picture sharing.
|
||||
Remote control requires an active App window or screen share.
|
||||
To let a friend control your computer, share a window or screen from the desktop App. Friends can join from their phone or computer.
|
||||
|
||||
- **[Chat and reactions](#chat-and-reactions):** join the room and open **Interact → Chat**.
|
||||
- **[Room voice](#room-voice):** the Host opens room voice; each speaker enables their own microphone.
|
||||
@@ -73,10 +73,7 @@ listening volumes, and noise/echo reduction. On supporting sites, the Host can
|
||||
also set **Room voice bitrate**; the default is 64 kbps per speaker.
|
||||
Browser and App-backed sharing use these same voice controls.
|
||||
|
||||
**Connection topology** at the bottom of the room shows current media routes.
|
||||
Idle room members stay visible without a connecting state. **Connection details**
|
||||
groups shared picture/audio and room voice separately; voice routes remain
|
||||
available after picture sharing stops.
|
||||
If a friend joins voice but you cannot hear them, ask them to speak and check whether their microphone icon lights up. Check your headphone button and the speaker button next to their name. To check the connection, select **Show connection details** at the bottom of the room and look for **Room voice**. You can check voice there even after picture sharing stops. **Show connection topology** also lists people who are just sitting in the room.
|
||||
|
||||
Voice stays connected when picture sharing stops. It also stays active when you
|
||||
close or detach the interaction window. Viewers choose **Leave voice** to leave;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
[English](./room-tools.md) · 简体中文 · [文档中心](./README.zh-CN.md)
|
||||
|
||||
开播前、分享中、停播后都可以聊天和语音;远程控制需要房主正在通过 App 分享窗口或屏幕。
|
||||
开播前、分享中、停播后都可以聊天和语音;要让朋友操作你的电脑,请用桌面版 App 分享窗口或屏幕。朋友可以用手机或电脑加入。
|
||||
|
||||
- **[聊天与表情](#聊天与表情):** 加入房间,打开 **互动** 的 **聊天** 页签。
|
||||
- **[房间语音](#房间语音):** 房主开启房间语音,每位发言者自己开麦。
|
||||
@@ -65,8 +65,7 @@
|
||||
观众可点击 **退出语音**;房主点击 **关闭房间语音** 会结束所有人的语音。
|
||||
重新开启后,观众仍需自行加入、开麦。
|
||||
|
||||
房间底部的 **连接拓扑** 显示当前媒体线路;仅在房间内、未使用画面或语音时,小人正常显示,不会提示正在连接。
|
||||
**连接详情** 分开显示分享画面与声音、房间语音,停播后仍可查看语音线路。
|
||||
朋友加入语音后,如果你听不到他说话,先请他开口,看看他的麦克风图标是否亮起。再检查你的耳机按钮和他旁边的扬声器按钮。要查看连接,在房间底部点击 **显示连接详情**,查看 **房间语音** 一栏。停止画面分享后,仍可在这里查看语音连接。**显示连接拓扑** 也会列出只在房间里坐着的人。
|
||||
|
||||
<details>
|
||||
<summary>来源声音、回声与记住的设置</summary>
|
||||
|
||||