AppleTvControlLibrary
AppleTvControlLibrary is a .NET client library for the Apple TV Companion Link and MRP
protocols. Companion Link is the encrypted channel used by tvOS remotes and the Apple TV Remote
app for remote input, touch, media control, volume, power state, app launching, and account
switching. MRP (Media Remote Protocol) is used for now-playing metadata, playback control, and
volume.
Apple, Apple TV, tvOS, AirPlay, and Siri are trademarks of Apple Inc. This project is an independent, unofficial implementation and is not affiliated with, endorsed by, sponsored by, or approved by Apple Inc.
API documentation is published at oznetmaster.github.io/AppleTVControlLibrary, covering the Companion Link, MRP, and Discovery libraries.
What this library provides
- Companion Link pairing, pair verification, encrypted framing, OPACK, and TLV8.
- HID remote buttons and touch-surface gestures.
- Media control and capability-aware volume operations.
- Push-based system power-state updates.
- Optional app listing/launching and user-account switching.
- MRP pairing, framing, and protobuf-based now-playing and playback control.
- mDNS/DNS-SD discovery for both Companion Link and MRP through a separately usable discovery library.
- .NET Framework 4.7.2 and .NET 10 support.