How nbtu/streamlink-stripchat-plugin works
This is a single-file Streamlink plugin that turns Stripchat room URLs or DoppioCDN HLS links into playable streams. The room workflow looks up the user and camera status, fetches a master playlist, detects playlist variants, then selects a Mouflon v1 or v2 worker; direct links follow a separate playlist-inspection path. Both workers adapt encrypted playlists for Streamlink’s HLS handling. The README documents both Mouflon versions and pkey fallback; some implementation details are in omitted excerpts, so those relationships are cited to the README.
Main entry points: stripchat.py URL handler
Components 9
Plugin entry
- URL handler
stripchat.py
Stream sources
- Stripchat APIs
- DoppioCDN playlists
- Variant parser
- Streamlink HLS
Mouflon processing
- v1 playlist worker
stripchat.py - v2 playlist worker
stripchat.py - Pkey and decryption
stripchat.py
Other components
- Streamlink user
Connections 12
- Streamlink user → URL handler: provides URL
README.md - URL handler → Stripchat APIs: looks up user and camera
stripchat.py - URL handler → DoppioCDN playlists: fetches playlists
stripchat.py - URL handler → Variant parser: parses variants
stripchat.py - URL handler → v1 playlist worker: selects v1 worker
stripchat.py - URL handler → v2 playlist worker: selects v2 worker
stripchat.py - v1 playlist worker → DoppioCDN playlists: fetches playlist
stripchat.py - v2 playlist worker → DoppioCDN playlists: fetches playlist
stripchat.py - v1 playlist worker → Pkey and decryption: decrypts entries
stripchat.py - v2 playlist worker → Pkey and decryption: decodes tokens
README.md - v1 playlist worker → Streamlink HLS: adapts HLS handling
stripchat.py - v2 playlist worker → Streamlink HLS: integrates playback
README.md