跳至主要内容

直播通知

某些直播通过在直播时向他们的观众宣布而受益。

这并不是对任何特定服务的认可,但它可能帮助某些直播者整合到他们现有的社区中。

如果您想进一步扩展并向其他目的地发送自动通知,请创建一个自定义webhook

您会在管理员中的配置 → 通知下找到这些频道。

Before you can enable any of them you must set your Server URL under Configuration → General. Until you do, every notification channel on this page is disabled and the admin shows a warning with a field to set it.

管理员中的通知设置页面,包括浏览器警报、Discord、Fediverse 社交以及自定义 webhook 的部分

Go-live notifications are not instant. Owncast waits 2 minutes after your stream starts before sending them, which avoids notifying people about accidental or very short streams. And if a notification already went out in the previous 10 minutes, for example because your stream briefly dropped and reconnected, a new one is not sent.

通过使用浏览器推送通知,您的观众可以选择在您直播时获得通知。

To offer this, turn on Enable browser notifications and set the required Go Live Text, the message sent when you go live, up to 200 characters.

Browser push notifications are not supported for local servers. Your instance must be reachable at a public HTTPS address.

并不是所有浏览器都支持此功能,而支持的浏览器可能处理方式不同。 例如,Brave 要求您选择通知有效的持续时间。 他们可能希望选择“无限制”以保持通知的活动。

在 iOS 上启用浏览器通知

您可以通过以下步骤请求在 iOS 上收到直播通知:

  1. 打开 Safari 并导航到您的 Owncast 实例。
  2. Tap the share button in Safari.
  3. Scroll down and tap "Add to Home Screen".
  4. Tap "Add".
  5. Give the link a name and tap the new icon on your home screen.
  6. Press the "Notify" button and enable notifications.
  7. 出现提示时点击“允许”。

Improve this page

See something missing or incorrect? Edit this page and improve the documentation for everyone.

Contributors to this documentation