Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

One capture per lease, shared by every viewer of its screen

オープン
#602 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
8/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
活発
技術スタック
android, ios, typescript
領域
backend

調査の方向性

Start with src/stream/AGENTS.md, especially the Known gaps entry "Each viewer is its own capture", and read the per-lease capture tracking in the stream module. Issue #593 explains why each viewer currently starts its own capture. Nothing is decided yet: the four open questions (where fan-out lives, key-frame handling for late joiners, slow-viewer policy, viewer limits) need a maintainer decision before any code. Done means those answers are recorded in the issue or the AGENTS.md file.

索引モデルが issue の本文から書いたものです。

説明

feature:spec

Request: none

Problem

Every viewer of a lease's screen starts its own capture on the worker (#593). Two people watching one device cost two capture programs on iOS, about 66–78 MB each and a second encoder, or two scrcpy servers on an Android emulator. Through a gateway each viewer also holds its own relay channel, and a worker link carries at most 64, so many viewers crowd out agent-device calls to that worker.

Who it is for

Operators and agents who watch the same device at once: a team following one agent's run, or a dashboard beside a person's console tab.

Outcome

Any number of viewers of one lease share one capture on the worker. A viewer that joins late sees a picture within one key frame. A slow viewer misses frames instead of slowing the others. The capture stops when the last viewer leaves or the lease ends. A gateway sends one relayed stream per lease to a worker, however many viewers it has.

Open questions

  • Where the fan-out lives: on the worker only, or on the gateway too.
  • How a late joiner gets a key frame: wait for the next one (Android sends one every 10 s), or ask the encoder for one.
  • What a slow viewer gets: frames dropped until its next key frame, or a cap after which it is cut off.
  • Whether viewers per lease need a limit even when they share one capture.

Notes

Today's design and its trade-offs are in src/stream/AGENTS.md (Known gaps: "Each viewer is its own capture"). The stream module is platform-agnostic and already tracks captures per lease, so a fan-out would sit there.

Written by an agent.

主要言語
TypeScript
スター
19
フォーク
1
平均マージ
7時間 57分
マージ済み PR(30日)
213

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

callstackincubator/simlock のほかの issue

callstackincubator/simlock の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。