How do the pin pairing and remote actions of Apple TV and Apple TV Remote App take place?

Asked 2 years ago, Updated 2 years ago, 38 views

One of the iOS apps that can control Apple TV is Apple TV Remote. To use this app, you need to pin pairng first. Once connected, the app will display the remote control action and the thumbnail and title of the clip played on Apple TV. What protocol did you use to create these functions? Is there a related API?

ios appletv

2022-09-22 22:03

2 Answers

I just tried it on Apple TV, and if it's on the same Wifi, an iPhone that can be connected right away appears on the list.

There is a protocol called Bonjour that allows Apple devices such as iPhones to easily find and connect to each other on the same WIFI. I thought it was only possible with Apple devices, but there's also a Windows SDK.

Bonjour introduction

API


2022-09-22 22:03

Is the API open for Airplay? I'm really curious because I've been looking for it steadily.

The Protocol is unofficial. http://nto.github.io/AirPlay.html Looking at the history, it is a method of finding devices with mDNS and providing HTTP-based content information and data.


2022-09-22 22:03

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.