moq-video: PipeWire libcamera cameras report their kind

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

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
68/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
rust

調査の方向性

Find the PipeWire camera listing code and its existing query timeout, then read how it obtains node info and handles V4L2 camera kinds. Bind libcamera nodes and inspect their full info for api.libcamera.location, mapping front and back to BuiltIn and external to External. Add a unit test over the props for these mappings and confirm the lookup completes within the existing timeout.

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

説明

Camera::kind (from https://github.com/moq-dev/moq/pull/10316) is set for PipeWire camera nodes only when they front a V4L2 device: the node takes the kind of the V4L2 camera at its api.v4l2.path. libcamera nodes have no V4L2 camera to borrow from, so their kind stays None.

libcamera does say where a camera is: its PipeWire node carries api.libcamera.location (front, back, or external). That property arrives in the node's full info, not the registry global's properties the listing reads today. So the fix is to bind each libcamera node and wait for its info, within the listing's existing query timeout.

Map front/back to BuiltIn and external to External. Cover the mapping with a unit test over the props.

(Written by Claude Opus 5.5)

主要言語
Rust
スター
1.6k
フォーク
251
平均マージ
10時間 10分
マージ済み PR(30日)
832

環境構築

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

はじめの一歩

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

moq-dev/moq のほかの issue

moq-dev/moq の issue をすべて見る

似ている issue

Rust の issue をもっと見る

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

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