跳至主要内容

显示您的观众来自哪里

如果您在您的实例中启用,Owncast 可以显示关于您当前观众的高层次地理信息。

您的服务器可以选择使用 MaxMind GeoLite2 数据库。 如果您提供自己免费的数据库副本,它将会被使用。 执行以下操作以添加此功能。

  1. 与 MaxMind 创建一个免费账户
  2. 等待一封电子邮件,然后按照链接访问您的账户。
  3. 数据库产品与订阅 下点击 下载数据库
  4. 下载 GeoLite2 City (GeoIP2 Binary .mmdb)
  5. 解压文件并将 GeoLite2-City.mmdb 文件放入您的 Owncast 服务器的 data 目录中。 如果需要,创建此目录。
  6. 重新启动您的 Owncast 服务。

Once enabled, the Viewers page in the admin at /admin/viewer-info shows a Location column with the region and country for each current viewer, resolved from the GeoIP data. Viewers without a resolvable country, or connecting through an anonymous proxy, do not get a location.


Improve this page

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

Contributors to this documentation
Gabe KangasGabe Kangas
M
Miguel Lares
J
Jannik
J
Jannik Volkland