Overview of Moonlight Protocols
stableThe Moonlight protocol suite consists of 6 main protocols used to facilitate client pairing, app discovery, stream control, and media streaming. The flow typically begins with HTTP/HTTPS for pairing and app discovery, followed by RTSP for protocol negotiation, and finally uses Control/RTP streams for user input and media data.
Protocol Flow Summary:
- HTTP/HTTPS: Used for pairing clients and exchanging available apps/encryption keys.
- RTSP: Used to exchange ports and settings for subsequent streams.
- Control/RTP: Continuous loop of exchanging user inputs and streaming video/audio data while connected.