> For the complete documentation index, see [llms.txt](https://docs.roboflow.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.roboflow.com/roboflow/roboflow-jp/deploy/device-manager/setting-up/add-a-stream.md).

# ストリームを追加

Deployment Manager で管理されているエッジデバイスで Workflow を実行するには、Stream を追加する必要があります。Stream はカメラの映像入力を受け取り、カメラからのデータを選択した Workflow で実行します。

Stream を追加するには、以下が必要です：

* Deployment Manager がセットアップされた Device。
* Device で利用可能なカメラ
* Device にデプロイしたい Workflow。

Stream は、以下で構成されたカメラを読み取れます：

* RTSP stream、または；
* USB 経由でエッジデバイスに直接接続された webcam
* GigE（Ethernet）または USB 3.0 で接続された Basler camera
* GigE（Ethernet）で接続された Lucid camera

Stream の追加は 3 つのステップで行います：

1. カメラ情報を追加
2. Workflow を選択します。
3. 構成を確認します。

### カメラ情報を追加

Stream を追加するには、ダッシュボードから Deployment Manager で登録した Device をクリックし、次に "Add Stream" をクリックします：

<figure><img src="/files/3d7916a5385f0ec8b4e5d6d40d11623dcf99ef79" alt=""><figcaption></figcaption></figure>

すると、Stream を設定できるウィンドウが表示されます：

<figure><img src="/files/9b3e7025284e2c20ccc63f1685183b2eebee50ff" alt="" width="375"><figcaption></figcaption></figure>

このウィンドウで、以下を入力します：

1. Stream の名前。
2. 動画ソース。これは RTSP URL、または Device に接続されたカメラの ID のいずれかです。Device にカメラが 1 台だけ接続されている場合、この ID は通常 0 です。
3. Stream 上で実行する Workflow を選択します。
4. Mode を選択します。「Continuous」（デフォルト）は各フレームで Workflow を実行し、「Triggered」は明示的にトリガーされたときのみ Workflow を実行します。See [Trigger a Stream](broken://pages/d0e8d334c317d95f089a9cab2173501c463a58c4) トリガーオプションについて。

この情報を入力したら、「Create Stream」をクリックして、Stream に対する Workflow のセットアップを進めます。新しい Stream の初期セットアップでは、Device が Workflow と関連するモデル重みをダウンロードするため、数分かかる場合があります。やがて、Stream は Stream 一覧に表示されます：

<figure><img src="/files/b4044c84b1f1b5250dada6f73eb5a7dc21ee6e5c" alt=""><figcaption></figcaption></figure>

最初に Stream を追加したとき、ステータスには Stream が「Provisioning」であることが表示されます。Workflow が Device にダウンロードされて実行されると、Stream のステータスは「Running」に更新されます。

Stream のステータスが「Running」の場合、これは以下を意味します：

1. Workflow が Device 上で実行されています。
2. Stream からフレームとログを確認できます。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.roboflow.com/roboflow/roboflow-jp/deploy/device-manager/setting-up/add-a-stream.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
