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
The OBS service file supplies the reusable YouTube RTMPS server and stream key. A fresh reusable stream can be provisioned by running the visible test with `--create-stream`; the helper then updates this file before starting the test encoder.
321
+
The OBS service file supplies the reusable YouTube RTMPS server and stream key. It must exist, be writable by the service user, and contain a non-empty `settings.key` before `--create-stream` runs. For a fresh deployment, keep the service disabled and seed a placeholder key:
322
+
323
+
```json
324
+
{
325
+
"settings": {
326
+
"key": "provision-new-stream"
327
+
}
328
+
}
329
+
```
330
+
331
+
The placeholder is not a YouTube stream key. `--create-stream` uses it to confirm that no existing stream matches, then replaces it with the new reusable stream key and writes the ingest server before starting the test encoder. A missing file or empty key does not enter the creation path.
322
332
323
333
## YouTube API and OAuth Provisioning
324
334
@@ -431,7 +441,7 @@ If you already have an OBS-compatible `service.json` with a YouTube stream key:
431
441
youtube-autoencoder-api status
432
442
```
433
443
434
-
For a fresh setup, make sure the service user can write the configured OBS service file. Then provision the reusable stream through an API-managed visible test after the rest of the encoder config is in place:
444
+
For a fresh setup, create the writable OBS service file with the placeholder `settings.key` shown in the Configuration Model. Then provision the reusable stream through an API-managed visible test after the rest of the encoder config is in place:
3. Configure an External or otherwise compatible OAuth audience.
83
83
4. Create a TV or Limited Input OAuth client.
84
84
5. Install FFmpeg, Python, and project scripts.
85
-
6. Create private configurationand OAuth files.
85
+
6. Create private configuration, OAuth, and writable service files.
86
86
7. Authorize the channel account and persist the refresh token.
87
87
8. Configure the camera and reusable ingest stream.
88
88
9. Run the visible unlisted validation flow.
@@ -95,6 +95,8 @@ Decision nodes will identify the two operator-significant branches:
95
95
- Existing reusable stream versus provisioning one with `--create-stream`.
96
96
- Validation failure versus successful service enablement.
97
97
98
+
The detailed README text will state that `--create-stream` requires an existing writable OBS service file with a non-empty placeholder key. A validation failure returns to the reusable-stream decision so provisioning is retried when the prior attempt did not create a stream.
99
+
98
100
The existing numbered OAuth section remains the source of command and console detail.
0 commit comments