Skip to Content
sdeck docs

YouTube

Go live, talk to chat, hold polls and see how your channel does.

Run your YouTube channel from your deck: go live, talk to chat, hold polls, and see how it is doing.

Install

Open Plugins in sdeck Studio and install YouTube.

Actions

ActionWhat it does
Stream statusWhether you are live, with viewers and time. On the window also the title.
Stream healthHow well YouTube receives your video, and what is wrong with it.
Subscribers, Likes, Newest videoCounts, with a bar toward a goal of yours.
Go liveStarts a planned stream once your encoder sends video, through the preview if it has one.
End the streamCannot be undone, so put it on a hold or a double press.
Mark this momentAdds the time to the description, where YouTube makes a chapter of it. It can go some seconds back.
Change title or description, Who can watchOf the stream that is live. Undo puts back what was there.
Send a chat messageUndo deletes it.
Start a poll, End the pollTwo to four answers. Ending it gives the winner, and can tell chat.
Play an adFor monetized channels.
Time out or hide someone, Delete a chat messageFor workflows that a chat message starts.

Setting up

Press Sign in, and allow access with the channel you stream from. The sign-in is kept with sdeck's secrets. Sign out ends it.

With an app of your own

YouTube limits what an app may do in a day, and everyone who signs in through sdeck's app shares one limit. An app of your own is free and has 10,000 units a day to itself. Get one if you stream for long or use chat triggers:

  1. In the Google Cloud console, create a project and enable the YouTube Data API v3.
  2. Set up the consent screen for External users, and press Publish app. While an app is only being tested, Google ends your sign-in every week.
  3. Create a client of the type Desktop app, and copy its Client ID and Client secret into the plugin's settings.
  4. Press Sign in again. Google warns that it has not verified the app. It is your own: press Advanced, and go on.

What uses the limit

Nothing is read unless a key, a workflow or a trigger uses it.

WhatUnits
Stream status, likes1 a minute while offline, 2 while live
Stream health2 a minute
Subscribers; the newest video12 to 36 an hour each
Triggers for subscribers and comments30 an hour each
Triggers for chat, while live5 for each look: 1,800 an hour at every 10 seconds
A message or a poll20
Changing the title or who can watch, marking a moment51
A timeout200

Seconds between looks at the chat makes the limit last longer: at 10 it is enough for about 5½ hours, at 20 for 11. It starts anew at midnight in California.

Triggers

Going live and ending; new subscribers and comments; Super Chats and Super Stickers, gifts with Jewels, new members, milestones and given memberships; the end of a poll; and chat commands, where you choose who may use each one.

YouTube only tells of subscribers who show their subscriptions to everyone. Going live, subscribers and comments are noticed within a few minutes, and chat within the seconds you set.

Live values

youtube.live, viewers, uptime, title, likes, views, url, health, healthProblem, subscribers, channelViews, videos, latestSubscriber, videoTitle, videoViews, videoLikes and videoComments (all prefixed with youtube.). YouTube rounds subscribers down to three digits.

Permissions

PermissionWhy
NetworkTalking to YouTube.

Good to know

Go live is for streams that don't start by themselves. Plan one in YouTube Studio, start your encoder, and press the key: it picks the next planned stream that receives video. YouTube needs at least three chapters, each ten seconds or longer, before it shows them, so the first two marks only show as times. YouTube's API has no clips, slow mode or raids, so there are no keys for those.

On this page