jeanregisser / mediaremotetv-protocol Goto Github PK
View Code? Open in Web Editor NEWUnofficial Apple TV remote protocol specification
Home Page: https://jeanregisser.gitbooks.io/mediaremotetv-protocol/content/
Unofficial Apple TV remote protocol specification
Home Page: https://jeanregisser.gitbooks.io/mediaremotetv-protocol/content/
I am finding that the Apple TV is upset with me after Pairing then Verifying correctly with it...
At the end of verifying I receive the correct response from the Apple TV,
type: CRYPTO_PAIRING_MESSAGE
priority: 0
[cryptoPairingMessage] {
pairingData: "\006\001\004"
status: 0
}
My implementation does also appear under remote devices as an 'Unknown Device', So Pairing an Verifying is not an issue, but once I send the encrypted SET_CONNECTION_STATE and CLIENT_UPDATES_CONFIG_MESSAGE or any other two messages it forcibly closes the connection on me.
it also does not accept any of the navigation commands I send encrypted but is happy with them not encrypted.
My implementation does also appear under remote devices as an 'Unknown Device'
Like the title says...
appletv-theater ENOENT: no such file or directory, open '/home/app/node_modules/node-appletv/dist/lib/protos/SetDisconnectingStateMessage.proto'
Not a functional issue, but just a typo. Protobuf integers are "Varint 128" (I assume "variable integer") - not "Variant 128"
I am getting hung up on the initial pairingData bytes on the first step in the pairing process see my progression below:
CLIENT -> SERVER
type: DEVICE_INFO_MESSAGE
identifier: "4D8BC678-C2A2-48E4-AFEC-40D19EC62B73"
priority: 0
[deviceInfoMessage] {
uniqueIdentifier: "4D8BC678-C2A2-48E4-AFEC-40D19EC62B73"
name: "iPhone"
localizedModelName: "Test IPHONE"
systemBuildVersion: "14D27"
applicationBundleIdentifier: "com.apple.TVRemote"
applicationBundleVersion: "186"
protocolVersion: 1
}
SERVER --> CLIENT
type: DEVICE_INFO_MESSAGE
identifier: "4D8BC678-C2A2-48E4-AFEC-40D19EC62B73"
priority: 0
[deviceInfoMessage] {
uniqueIdentifier: "4D8BC678-C2A2-48E4-AFEC-40D19EC62B73"
name: "BJ city"
systemBuildVersion: "14W5241c"
applicationBundleIdentifier: "com.apple.mediaremoted"
protocolVersion: 1
}
After the below request it just hangs and the SERVER does not respond. I believe it is because i am not entering the right pairingData bytes--what am i supposed to put for the initial "pairingData" bytes?
CLIENT --> SERVER
type: CRYPTO_PAIRING_MESSAGE
priority: 0
[cryptoPairingMessage] {
pairingData: "WHAT BYTES DO I PUT HERE"
status: 0
}
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.