Skip to content

grantjbutler/RouteTest

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

RouteTest

RouteTest is a sample app that demonstrates how to get information about an AirPlay device after it's been connected to. I built this in roughly 20 minutes in response to this StackOverflow question asking how the Netflix app is able to prompt about an AppleTV being out of date. This is all possible thanks to nto detailing the AirPlay spec. Thanks, man.

Note that this is pretty hacky, as we rely on the name of the port to be the same as the name of the AirPlay device. If Apple changes either of those things, this breaks. Alternatively, you can compare the deviceid field of the TXT record of the device to the UID of the port, which is the deviceid with the string "-airplay" appended to it, as far as I can tell. Again, if that format is changed by Apple, it would break, but at least it's another potential way of checking.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published