write interactive streams on twitch using html/js/react/whatever
- launches headless chrome with an extension loaded
- extension captures video and audio from chrome
- streams the captured media to twitch using ffmpeg
site also has access to all twitch events from the stream to react to things
- set environment variables:
TWITCH_CLIENT_ID: your twitch api client idTWITCH_RMTP_URL: your twitch ingest server rtmp urlWEBSITE: the url to capture and stream
- cargo run
- rust toolchain
- ffmpeg
- chrome/chromium browser installed
- captures browser audio and video
- headless operation
- automatic twitch authentication and connection
- realtime twitch chat events forwarded to the browser