Skip to main content

PeerTube

The PeerTube integration connects an event to an account on a PeerTube instance. Confo uses it to match uploaded recordings to talks, sync their metadata and playlists, and to read the live chat of a room's PeerTube stream.

Connecting PeerTube​

In the admin, open the event and connect PeerTube with the instance URL (for example https://vhsky.cz), a username and a password. Confo exchanges them for an OAuth refresh token and does not store the password. Disconnecting removes the token.

Live chat in the room manager​

Room managers can read the PeerTube live chat next to the stream preview, alongside the YouTube chat, to relay audience questions to the speaker.

Requirements:

  • The instance runs peertube-plugin-livechat with a chat enabled for live videos.
  • PeerTube is connected for the event (see above).

Setting it up:

  1. Open the room in the admin.
  2. Paste the live video's watch URL (for example https://vhsky.cz/w/1bKh2J3UCHUPa6tvNq9D8G) or its ID into PeerTube live video and save. The video must be on the connected instance.

How it behaves:

  • Confo joins the chat as the connected PeerTube account. That account appears in the chat's participant list while a room manager has the page open (and for 30 seconds after). Confo never posts.
  • The chat panel shows the last 20 messages from before the manager opened the page, then new messages as they arrive.
  • When a room has both YouTube and PeerTube set, each message carries a small source badge, and a status chip shows each source's state.
  • If the chip shows an error such as "PeerTube authorization failed", reconnect PeerTube for the event; the chat retries on its own.
  • PeerTube messages share the panel's history with YouTube: they are stored in the database, survive a server restart, and can be marked answered with ✓ (see the YouTube page for the Unanswered | All switch).