webtorrent-desktop
webtorrent-desktop copied to clipboard
Support Apple TV with pin codes (Could not connect to Airplay. Unexpected response from AppleTV: 403)
Version 0.19.0 (0.98.20) on MacOS High Sierra.
Trying to stream to AppleTV 4 results in error; Could not connect to Airplay. Unexpected response from AppleTV: 403
Airplay works with other software on same laptop.

hey this started happening when Apple added a new security layer on airplay or maybe was trying to stop 3rd party apps from using airplay in TVOS 10.2 It turns out; some forward-thinking developers have already tackled this. AirParrot 2.7.0, released recently, has tvOS10.2 support. http://www.airsquirrels.com/airparrot/release-notes/win/
I have just installed it on Windows 10 and MacOs High Sierra, I can confirm it works. As you launch it, if you don't have a passcode or password set on your ATV4, Apple TV then shows you their standard format four digit code which you then enter on a little AirParrot prompt window, and that's it. Streaming via AirPlay once more.
I can only assume then that other developers (like the one of WebTorrent) can and should follow suit and update their software.
We need to add support to the library that we use for Apple TV support, airplayer
. I opened an issue there: https://github.com/watson/airplayer/issues/4
Would it be stupid to consider completely changing the current airplay library?
As airplay support may as well not be there since all new Apple TV's will not work
@feross I think the URL of the issue you opened is: https://github.com/watson/airplayer/issues/4
could this be used instead? https://github.com/evandcoleman/node-appletv others have the same issue - https://github.com/derhuerst/play-on-apple-tv/issues/2
Is anyone interested in exploring how to support newer Apple TVs and sending a PR?