@@ -202,6 +202,48 @@ This verifies the YouTube account, OAuth token, reusable stream, ingest URL, bro
202202
203203## Installation
204204
205+ Provision the YouTube control plane and the encoder host in this order. The detailed console steps and commands remain in the sections that follow.
206+
207+ ``` mermaid
208+ flowchart TD
209+ DeploymentChannel["Enable YouTube Live on the target channel"]
210+ DeploymentProject["Enable YouTube Data API v3"]
211+ DeploymentAudience["Configure a compatible OAuth audience"]
212+ DeploymentClient["Create a TV or Limited Input OAuth client"]
213+ DeploymentRuntime["Install FFmpeg, Python, and project scripts"]
214+ DeploymentConfig["Create private encoder and OAuth files"]
215+ DeploymentAuthorize["Authorize the channel account"]
216+ DeploymentCamera["Configure camera source and ingest profile"]
217+ DeploymentStreamDecision{"Reusable stream already configured?"}
218+ DeploymentProvision["Run visible test with --create-stream"]
219+ DeploymentValidate["Run unlisted visible validation"]
220+ DeploymentValidationDecision{"Validation succeeds?"}
221+ DeploymentDiagnose["Fix OAuth, source, ingest, or quota issue"]
222+ DeploymentEnable["Enable the systemd service"]
223+ DeploymentReboot["Reboot the encoder host"]
224+ DeploymentVerify["Verify encoder and remote-management recovery"]
225+ DeploymentOperate["Unattended operation"]
226+
227+ DeploymentChannel --> DeploymentProject
228+ DeploymentProject --> DeploymentAudience
229+ DeploymentAudience --> DeploymentClient
230+ DeploymentClient --> DeploymentRuntime
231+ DeploymentRuntime --> DeploymentConfig
232+ DeploymentConfig --> DeploymentAuthorize
233+ DeploymentAuthorize --> DeploymentCamera
234+ DeploymentCamera --> DeploymentStreamDecision
235+ DeploymentStreamDecision -->|"No"| DeploymentProvision
236+ DeploymentProvision --> DeploymentValidate
237+ DeploymentStreamDecision -->|"Yes"| DeploymentValidate
238+ DeploymentValidate --> DeploymentValidationDecision
239+ DeploymentValidationDecision -->|"No"| DeploymentDiagnose
240+ DeploymentDiagnose --> DeploymentValidate
241+ DeploymentValidationDecision -->|"Yes"| DeploymentEnable
242+ DeploymentEnable --> DeploymentReboot
243+ DeploymentReboot --> DeploymentVerify
244+ DeploymentVerify --> DeploymentOperate
245+ ```
246+
205247Install runtime packages:
206248
207249``` bash
0 commit comments