You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+44-37
Original file line number
Diff line number
Diff line change
@@ -5,16 +5,23 @@ comfystream is a package for running img2img [Comfy](https://www.comfy.org/) wor
5
5
This repo also includes a WebRTC server and UI that uses comfystream to support streaming from a webcam and processing the stream with a workflow JSON file (API format) created in ComfyUI. If you have an existing ComfyUI installation, the same custom nodes used to create the workflow in ComfyUI will be re-used when processing the video stream.
6
6
7
7
-[comfystream](#comfystream)
8
-
-[Install package](#install-package)
9
-
-[Custom Nodes](#custom-nodes)
10
-
-[Usage](#usage)
11
-
-[Run tests](#run-tests)
12
-
-[Run server](#run-server)
13
-
-[Run UI](#run-ui)
14
-
-[Limitations](#limitations)
15
-
-[Troubleshoot](#troubleshoot)
8
+
-[Quick Start](#quick-start)
9
+
-[Install package](#install-package)
10
+
-[Custom Nodes](#custom-nodes)
11
+
-[Usage](#usage)
12
+
-[Run tests](#run-tests)
13
+
-[Run server](#run-server)
14
+
-[Run UI](#run-ui)
15
+
-[Limitations](#limitations)
16
+
-[Troubleshoot](#troubleshoot)
16
17
17
-
# Install package
18
+
## Quick Start
19
+
20
+
The fastest way to get started is to follow [this tutorial](https://livepeer.notion.site/ComfyStream-Dev-Environment-Setup-15d0a3485687802e9528d26050142d82) by @ryanontheinside.
21
+
22
+
For additional information, refer to the remaining sections below.
23
+
24
+
## Install package
18
25
19
26
**Prerequisites**
20
27
@@ -24,21 +31,21 @@ A separate environment can be used to avoid any dependency issues with an existi
24
31
25
32
Create the environment:
26
33
27
-
```
34
+
```bash
28
35
conda create -n comfystream python=3.11
29
36
```
30
37
31
38
Activate the environment:
32
39
33
-
```
40
+
```bash
34
41
conda activate comfystream
35
42
```
36
43
37
44
Make sure you have [PyTorch](https://pytorch.org/get-started/locally/) installed.
Show additional options for configuring the server:
105
112
106
-
```
113
+
```bash
107
114
python server/app.py -h
108
115
```
109
116
110
117
**Remote Setup**
111
118
112
119
A local server should connect with a local UI out-of-the-box. It is also possible to run a local UI and connect with a remote server, but there may be additional dependencies.
113
120
114
-
In order for the remote server to connect with another peer (i.e. a browser) without any additional dependencies you will need to allow inbound/outbound UDP traffic on ports 1024-65535 ([source](https://github.com/aiortc/aiortc/issues/490#issuecomment-788807118)).
121
+
In order for the remote server to connect with another peer (i.e. a browser) without any additional dependencies you will need to allow inbound/outbound UDP traffic on ports 1024-65535 ([source](https://github.com/aiortc/aiortc/issues/490#issuecomment-788807118)).
115
122
116
123
If you only have a subset of those UDP ports available, you can use the `--media-ports` flag to specify a comma delimited list of ports to use:
0 commit comments