TL;DR
Yash Garg described redirecting a PS5’s Twitch broadcast to a Mac by changing how the console resolves Twitch ingest domains, then receiving the video with an RTMP server. The setup let Garg send gameplay to Discord without a capture card, but it depends on local network changes and does not add native Discord support to the PS5.
Recommended by digitechbytes.com · AI-assisted guides
Shopping for emerging consumer tech explained? Start with the guides we keep up to date:
Developer Yash Garg has described redirecting a PlayStation 5 broadcast to a Mac by changing how the console finds Twitch’s streaming servers, allowing the Mac to receive the video for sharing on Discord. The method offers an alternative to a capture card for Garg’s setup, but it does not add direct Discord streaming to the PS5.
Garg’s report says the PS5 can broadcast to services including Twitch and YouTube, but does not support sharing its screen directly to Discord. Garg wanted friends to watch games on Discord without buying a capture card. Sony’s Remote Play was another option, but Garg reported input lag, limited control over stream quality and the need to connect peripherals such as the controller and earphones to the Remote Play device.
The approach relies on RTMP, a protocol used to send live audio and video. Garg first tried redirecting Twitch’s discovery hostname, but found that it only returns the address of a regional ingest server. The actual Twitch connection used RTMPS, which encrypts the stream and requires a certificate the PS5 trusts. Garg says a self-signed certificate did not work, and the console does not allow custom certificate authorities to be installed.
Garg then tested YouTube’s plain RTMP route, which avoided the certificate issue, but says the PS5 stopped broadcasting after about 60 seconds because it could not confirm through YouTube’s API that the stream was live. DNS logs pointed to a Twitch ingest hostname that could be redirected to a Mac on the local network. Garg used dnsmasq to return the Mac’s address for relevant Twitch domains and nginx-rtmp to receive the stream over RTMP.
A Capture Card Alternative
The method shows how a console’s existing broadcast feature can serve a different viewing destination when the sender controls the relevant network lookups. For people seeking to share gameplay through Discord, Garg’s setup may avoid buying a capture card and preserve the usual physical connection between the player and the PS5.
Its reach is narrower than a built-in sharing feature. The method requires a Mac running DNS and RTMP software, plus a router configured to direct the PS5 to that DNS service. Garg’s report documents a personal setup; it does not establish that the method works on every home network, router or PS5 configuration. It also does not change Sony’s supported broadcast services or provide an official Discord integration.
From Remote Play to RTMP
Garg framed the project around a practical problem: the PS5’s built-in broadcasting options did not include Discord, while a capture card would add hardware and cost. Remote Play could put the game on a MacBook screen, which could then be shared, but Garg says that route brought input lag and required changing where peripherals were connected.
The key distinction in the investigation was between Twitch’s discovery service and its regional ingest servers. Redirecting the discovery hostname alone did not place the stream at the Mac. Garg’s DNS log analysis identified a hostname associated with the actual ingest server, while the YouTube test showed that receiving video was not enough to keep a broadcast active if the console’s service check failed.
“ingest.twitch.tv:443 is actually a discovery endpoint, not the RTMP server itself.”
— Yash Garg, describing the initial Twitch endpoint test
Limits of the Reported Setup
The supplied report describes Garg’s equipment and network but does not provide independent testing, performance measurements or confirmation from Sony, Twitch or YouTube. It is not clear how broadly the method works across router models, network configurations or PS5 software versions.
The report excerpt also ends during its explanation of nginx-rtmp’s publish notification. It does not fully document how Garg’s app handles the incoming stream after that point, or provide enough information here to assess latency, video quality or reliability over longer sessions. The publication year is not stated in the supplied material.
Further Testing and Compatibility
Garg’s report presents the setup as a personal workaround and does not announce an official product release or support from Sony, Discord or Twitch. Any broader assessment would require testing on additional network and console configurations, as well as more detail about the receiving app and the stream’s performance.
For now, the confirmed development is the publication of a technical account of redirecting a PS5 Twitch broadcast to a Mac. Whether the approach proves practical for other players remains open.
Key Questions
What does “hijacking” the PS5’s RTMP stream mean here?
In Garg’s report, it means changing local DNS responses so Twitch ingest hostnames point to a Mac on the same network. The Mac then receives the PS5’s broadcast using an RTMP server.
Does this add Discord streaming to the PS5?
No. The report describes sending the broadcast to a Mac, which can then be used to share gameplay on Discord. It does not add native Discord support to the console.
Why did the Twitch and YouTube tests differ?
Garg says Twitch’s actual ingest used RTMPS, which requires a trusted TLS certificate. YouTube’s plain RTMP avoided that certificate problem, but the PS5 later stopped broadcasting when it could not confirm the stream through YouTube’s API.
What equipment and setup did Garg describe?
The reported setup used a Mac running dnsmasq and nginx-rtmp, with router DHCP settings directing the PS5 to the Mac for DNS. The report describes Garg’s configuration; compatibility with other networks is not established.
Source: hn
