How I Hijacked the PS5's RTMP Stream to Share Games on Discord

Hijacking the PS5's RTMP Stream

Sony locks the PS5's streaming to YouTube and Twitch, leaving Discord screen sharing out in the cold. Rather than buy a capture card, I redirected the console's RTMP traffic to my Mac using dnsmasq and nginx-rtmp. By spoofing Twitch's ingest domains via DNS, the PS5 streams 1080p60 H.264 directly to my machine, where mpv plays it for Discord with sub-second latency.

The PS5 doesn't hardcode Twitch's IP, it looks it up via DNS every time. If we control what DNS returns, we control where the stream goes.
  1. barake

    This is how Lightstream Studio has provided stream overlay for consoles[1]. Some years ago Microsoft added them as an official destination using a better protocol and dropped the need for MITM hackery.

    I used to work in this space and Lightstream was always doing interesting things, even if they never seemed to find PMF.

    1: https://support.golightstream.com/hc/en-us/articles/38643168...

  2. londons_explore

    Kinda sad that it's 2026 and this data still goes over the internet unencrypted...

    RTMP and all the video and audio protocols behind it aren't trivial either - I bet there are hundreds of exploits waiting to be found that any three letter agency sitting on the internet can use to take over your PS5 and all credentials stored within too...

  3. forestry

    This is fantastic. Not being able to share my gameplay with friends on Discord is one of my biggest gripes.

  4. jprjr_

    Feel like there's a few parts missing that I'm not getting.

    The author mentions that the PS5 uses RTMPS to push video up to twitch - but suddenly it just uses plain RTMP?

  5. Muromec

    Don't mind me, I'm just sitting here with my HDMI-RX port on rk3588 being happy that is works and I didn't brick the board when doing uboot update to uncurse it.

More from this day

2026-09-28