This explains how to capture the PS5’s broadcast stream locally by convincing the console to send its RTMP feed to a Mac instead of Twitch or YouTube. The PS5 uses an HTTPS discovery endpoint (ingest.twitch.tv) to learn a regional RTMP host, and the actual ingest servers sit under contribute.live-video.net (e.g., aps30.contribute.live-video.net). Spoofing ingest.twitch.tv failed because the PS5 validates TLS on the RTMPS endpoints; YouTube’s plain RTMP worked briefly but the console’s periodic API checks caused broadcasts to be stopped. Inspecting DNS queries revealed the real ingest hostname chain, and redirecting contribute.live-video.net to a local IP avoids certificate issues and keeps the PS5 happily pushing its stream.
The implementation runs dnsmasq on macOS to resolve Twitch ingest domains to the Mac’s LAN address (example 192.168.8.175) and uses an OpenWRT DHCP option tag to force only the PS5 to use that DNS. nginx-rtmp listens on port 1935 with an application "ps5" and an on_publish callback to notify a small menu-bar app that bundles dnsmasq/nginx. The PS5 then pushes 1080p60 H.264 + AAC to the Mac, which can be consumed by OBS or mpv (mpv profile=low-latency audio-buffer=0.3 rtmp://127.0.0.1/ps5/stream-key). The setup proved stable in regular use and the author provides source code.
Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.