Skip to content

plugin stream gateway

github-actions[bot] edited this page Apr 26, 2026 · 2 revisions

Stream Gateway Plugin

Stream admission control, viewer authentication, analytics, and family controls. Pro plugin.

Requires: Basic license tier or higher. nself license set nself_pro_...

Install

nself license set nself_pro_xxxxx...
nself plugin install stream-gateway

What It Does

Acts as a gatekeeper between viewers and your streaming server. Validates viewer entitlements before allowing stream access, tracks concurrent viewer counts, collects per-viewer quality analytics (buffering, bitrate switches), and enforces family member controls such as content ratings and concurrent stream limits per account.

Configuration

Env Var Default Description
STREAM_GATEWAY_PORT 3093 Stream gateway port
STREAM_GATEWAY_MAX_STREAMS_PER_ACCOUNT 3 Concurrent stream limit
STREAM_GATEWAY_TOKEN_TTL 3600 Viewer access token TTL
STREAM_GATEWAY_GEO_ENABLED false Enable geo-restriction

Ports

Port Purpose
3093 Stream gateway REST API

Database Tables

4 tables added to your Postgres database:

  • np_stream_gateway_sessions, active viewer sessions
  • np_stream_gateway_analytics, per-viewer quality metrics
  • np_stream_gateway_profiles, family member profiles
  • np_stream_gateway_restrictions, content access restrictions

Nginx Routes

Route Target
/stream-gateway/ Stream gateway API
/stream-gateway/admit Viewer admission endpoint

Home


Getting Started


Commands


Features


Configuration


Plugins (87 + 10 monitoring)

Free (25)
Pro (62)
Planned (26)
  • plugin-audit
  • plugin-blog
  • plugin-checkout
  • plugin-commerce
  • plugin-drm
  • plugin-export
  • plugin-flow
  • plugin-import
  • plugin-ldap
  • plugin-mailgun
  • plugin-media
  • plugin-oauth-providers
  • plugin-pages
  • plugin-postmark
  • plugin-rate-limit
  • plugin-reports
  • plugin-saml
  • plugin-scheduler
  • plugin-sendgrid
  • plugin-sso
  • plugin-subscription
  • plugin-thumb
  • plugin-transcoder
  • plugin-twilio
  • plugin-waf
  • plugin-watermark

Guides


Architecture


Reference


Licensing


Security


Brand


Operations


Contributing


Admin


Changelog

Clone this wiki locally