Free, open-source screen sharing for private live streams with friends. Watch together in a browser or self-host Piik. 免费开源的私密屏幕共享,支持游戏直播、一起看电影与自部署。
test(access): use host token in privacy gate
AAA928068fb01f6
diff --git a/scripts/access-privacy-gate.ts b/scripts/access-privacy-gate.tsindex a3ed26f1..ad4aa9cf 100644--- a/scripts/access-privacy-gate.ts+++ b/scripts/access-privacy-gate.ts@@ -125,7 +125,7 @@ async function main(): Promise<void> {roomId: room.roomId, role: "host", token: room.hostToken,clientId: "privacy-gate-host", sessionId: "privacy-gate-host-session",});- await server.roomStore.setViewerPassword(room.roomId, roomPassword, "privacy-gate-host-session");+ await server.roomStore.setViewerPassword(room.roomId, roomPassword, room.hostToken);report.roomPrepared = true;chrome = spawn(chromePath, [`--remote-debugging-port=${debugPort}`, `--user-data-dir=${profile}`,