Skip to content

Commit

Permalink
Update HLS YouTube documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
widgetii committed May 15, 2020
1 parent 8bc9c00 commit f000f4f
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions streaming/youtube.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,30 @@ Follow up [Delivering Content via HLS](https://developers.google.com/youtube/v3/

- Make sure that you got 200 response otherwise check errors and repeat

### Bind the broadcast to the stream:

- Navigate https://developers.google.com/youtube/v3/live/code_samples page

- Select Resource 'liveBroadcast' and Method 'bind'

- In table below click on 'Bind a broadcast to a stream' use case

- Fill on right side on the page:

- 'id' - ID of the broadcast (can be found in server response in step 'Create new broadcast', field 'id')

- 'streamId' - ID of the stream (can be found in server response in step 'Create new stream', field 'id')

- in Credentials section make sure you've selected 'Google OAuth 2.0' and 'https://www.googleapis.com/auth/youtube' scope (use 'Show scopes') and deselect 'API Key' option, then press 'Execute' button below

- Authorize yourself using your Youtube connected account

- Make sure that you got 200 response otherwise check errors and repeat

### Go live!

Navigate https://studio.youtube.com/

On right side click on 'CREATE' button and then 'Go live'

credits (c) Victor

0 comments on commit f000f4f

Please sign in to comment.