Help home
Using the app
Heartisan Studio
Setup & settings
Back to heartisan.app
Client portal

Live streaming with YouTube

For admins

If you already stream video to your own YouTube channel, keep doing it. Heartisan watches the channel, and the moment you go live the broadcast appears in your app and on your website as a media content item marked live. It sits in the library beside everything else and plays in the same player, so there is no separate "live" corner of the app to look after.

Broadcasting with Heartisan itself. Heartisan can also broadcast a service directly, sound from the portal in a browser, or sound and video from Heartisan Studio (a camera, a capture card, or OBS and other encoders over the network), with no YouTube channel needed. See Broadcasting a service live and Going live with video. A Heartisan Studio broadcast can still go to YouTube at the same time, and Heartisan can create and end the YouTube broadcast for you: see Sending a broadcast on to YouTube.

How it works

  1. You go live on your YouTube channel as normal.
  2. Heartisan watches your channel and spots the broadcast.
  3. A media content item is created for it — title, host and thumbnail taken from YouTube — and marked live. It appears in your app and in your website's live-stream embed.
  4. When you stop, the same item is marked finished.
  5. You import the finished video into Heartisan Studio, which turns that same item into a permanent, processed video rather than adding a second one beside it.

Scheduled broadcasts are picked up too — those arrive marked upcoming, so a stream can show in advance rather than appearing out of nowhere.

A live stream is a media content item throughout. That is why it can be found in search, opened from a notification, carry its host and event, and show captured slides in the player — the same machinery every other recording uses, with a status on top.

Setting it up

You do this once. Go to Settings → Live Stream.

The Live Stream tab of Settings, with YouTube live detection at the top — a comma-separated list of channel IDs to watch and a YouTube Data API v3 key — and below it an OBS section holding the shared secret OBS sends to start and stop a stream.
Everything live needs, on one tab. YouTube live detection is the part that matters: the channels to watch, and the key to watch them with. The OBS box underneath is optional and does not carry any video — see the instant signal.

1. Your YouTube channel ID

Enter the channel ID of the channel you stream from. You can add more than one, separated by commas, if you broadcast from several.

Your channel ID isn't your channel name — it's the long identifier. Find it in YouTube Studio under Settings → Channel → Advanced settings.

2. A YouTube API key

This is what lets Heartisan ask YouTube whether you're live.

  1. Go to the Google Cloud Console and sign in.
  2. Create a project (or pick an existing one).
  3. Under APIs & Services → Library, find YouTube Data API v3 and enable it.
  4. Go to APIs & Services → Credentials and choose Create credentials → API key.
  5. Copy the key and paste it into the YouTube API Key box in your portal settings.
  6. Save.
The free quota is comfortably enough for checking one channel. Restricting the key to the YouTube Data API in Google Cloud is good practice.

3. Optional — an instant "we're live" signal

Heartisan checks your channel on a timer, so there is a short delay between going live and the app noticing. If the software you broadcast with can call a web address when you start and stop — OBS and most hardware encoders can — it can tell Heartisan to look now instead of waiting for the next check. Set a shared password in the OBS box on the same settings tab and point your software at the endpoint with it.

This sends no video. It is a nudge, not a route — your broadcast still goes to YouTube exactly as it does now, and Heartisan still finds it there. Skip this and everything works; it just appears a little later.

Also on this tab: the downloads server

Lower down the same tab is Downloads server. It is only for importing from YouTube in Heartisan Studio, and has nothing to do with going live. If you run a yt-dlp-material server on your own network to download your channel's videos, enter its Server address (including http:// and the port, for example http://192.168.1.50:17442) and its API key, and Studio can list what has been downloaded so that Import from YouTube has something to offer.

  • The address is reached from the computer Studio is on, so a local address is normal. Nothing here is sent anywhere else.
  • The key is stored as you typed it, not encrypted, because Studio has to send it to the server. It is a key to a machine on your own network.
  • Don't run one? Leave both blank. Importing a video from a file is unaffected.

On your website

There's a live stream widget you can embed on any website — with optional “Watch on YouTube” and “Watch in the app” buttons. It works on any site that accepts HTML or an iframe.

Embedding on your website →

Live slides on the stream

If you capture ProPresenter, the slides going up on the screen in the building appear in the player for everyone watching from home — in the same transcript sheet as a recorded service, with the same scripture and slide toggles and the same tap-to-jump. Following along at home means reading the same words the room is reading.

  • On a YouTube broadcast the player works out the delay from the broadcast itself, so slides land with the picture without anyone tuning a number. Someone scrubbing back takes the right words with them.
  • Someone joining part-way through gets the slides from earlier in the service, not just the ones from the moment they arrived.
  • A viewer who wants to nudge it can use Line up in the player, and slides whose words your church has translated before can show in their language. See Listening live.
  • It stops when the stream finishes. Ordinary recordings get their slides the settled way.
  • Whoever is on Go live can hold the slides or hide one from the app (and the recording) while the room carries on, and change the delay. See Live slides: the room and the app.

Events and services → ProPresenter → Capture settings → Live slides → Stream delay (seconds), default 20, is only used for a service streamed through Heartisan's own player; a YouTube broadcast ignores it. It needs ProPresenter connected and reporting slides, through Heartisan Studio or the worker.

Renaming a stream while it's on

Fix a typo in the YouTube title, or add the visiting speaker's name once somebody thinks to, and the change reaches the app and website within a minute. The speaker is picked out of the new title the same way as when the stream first appeared.

  • A name you've typed into the portal wins: once you've renamed a stream by hand, a later YouTube retitle won't take it back.
  • The speaker is only ever filled in or corrected, never cleared.
  • Following stops for good once the broadcast finishes.
If you keep your service plan back from visitors, the slides are kept back from them too — the plan's guest switches govern both.

After the broadcast

A finished YouTube broadcast is a link that ages badly. Import it into Heartisan Studio and it becomes proper media content — transcribed, speaker-attributed, downloadable and searchable, served from your own storage.

Troubleshooting

  • Going live doesn't show in the app — check the channel ID and API key, and that the broadcast is public rather than unlisted or private.
  • It appears late — normal, because the channel is checked on a timer. Add the instant signal if the wait matters.
  • It stays "live" after finishing — it clears on the next check.
  • Nothing works after a while — the API key may have been deleted or restricted in Google Cloud. Generate a new one.