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
+17-9Lines changed: 17 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,30 +13,39 @@
13
13
-**Network Bonding**: Combine multiple internet connections to increase bandwidth and reliability, minimizing the impact of packet loss from any single connection.
14
14
-**Intelligent Automatic Scene Switching**: `go-irl` uses detailed SRT statistics like **packet loss** to make smarter switching decisions. It automatically switches to a predefined "offline" scene when network quality degrades and seamlessly returns to your main scene once the connection stabilizes.
15
15
-**Real-time Health Monitoring**: Get a clear, visual overview of your stream's performance with live statistics displayed directly in OBS.
16
+
-**Flexible Deployment Options**: Supports multiple operation modes including standalone mode for simple setups, and server/client mode for scenarios where port forwarding is not possible, allowing you to deploy the server component on a VPS while running the client locally.
16
17
17
18
## Command Line Options
18
19
19
20
The `go-irl` application supports several command line options to customize its behavior:
20
21
21
22
### Available Options
22
23
24
+
-**`-mode`** (default: `standalone`)
25
+
Operation mode for the application. Available modes:
26
+
-**`standalone`**: Default mode. Runs both SRTLA server and SRT proxy on the same machine. Use this when you can open ports directly on your streaming computer.
27
+
-**`server`**: Runs only the SRTLA server component. Use this when deploying on a VPS or cloud server with public IP access.
28
+
-**`client`**: Runs the SRT proxy, browser source, and WebSocket server. Use this on your local machine when the SRTLA server is running on a remote VPS.
29
+
30
+
**Note:** Use server/client mode when you cannot open ports on your home network due to router restrictions, ISP limitations, or firewall policies. In this setup, deploy the server component on a VPS or cloud server with public IP access, and run the client component locally where OBS is installed.
31
+
32
+
-**`-srtPort`** (required for `server` and `clent` modes, default: `5001`)
33
+
SRT port for communication between server and client modes. In server mode, this is the port where the SRT stream will be output. In client mode, this is the port where the client will connect to receive the SRT stream from the server.
34
+
23
35
-**`-bs-port`** (default: `9999`)
24
-
Port for the Browser Source web application. This is the port where the web interface for displaying stream statistics will be served.
36
+
Port for the Browser Source web application. This is the port where the web interface for displaying stream statistics will be served. Available in `client` and `standalone` modes.
25
37
26
38
-**`-udp-port`** (default: `5002`)
27
-
Port for the UDP downstream. This is the port where the processed stream will be output for OBS to consume.
39
+
Port for the UDP downstream. This is the port where the processed stream will be output for OBS to consume. Available in `client` and `standalone` modes.
28
40
29
41
-**`-ws-port`** (default: `8888`)
30
-
WebSocket server port. This port is used for real-time communication between the stream processor and the browser source for displaying statistics and enabling automatic scene switching.
42
+
WebSocket server port. This port is used for real-time communication between the stream processor and the browser source for displaying statistics and enabling automatic scene switching. Available in `client` and `standalone` modes.
31
43
32
44
-**`-srtla-port`** (default: `5000`)
33
-
Port for the SRTLA upstream. This is the port where your mobile streaming client (IRL Pro, Moblin, BELABOX, etc.) will connect to send the bonded stream.
45
+
Port for the SRTLA upstream. This is the port where your mobile streaming client (IRL Pro, Moblin, BELABOX, etc.) will connect to send the bonded stream. Available in `server` and `standalone` modes.
34
46
35
47
-**`-passphrase`** (default: `""`)
36
-
Optional passphrase for SRT encryption. When set, both the server and client must use the same passphrase to establish a secure encrypted connection. This adds an extra layer of security to your stream.
37
-
38
-
-**`-verbose`** (default: `false`)
39
-
Enable verbose logging in SRTLA. Use this flag to get detailed logging information for troubleshooting connection issues.
48
+
Optional passphrase for SRT encryption. When set, both the server and client must use the same passphrase to establish a secure encrypted connection. This adds an extra layer of security to your stream. Available in `client` and `standalone` modes.
40
49
41
50
## Getting Started
42
51
@@ -112,7 +121,6 @@ First, configure OBS to receive the stream and use the bridge for stats and scen
0 commit comments