Git Product home page Git Product logo

mediaremotetv-protocol's People

Contributors

jeanregisser avatar postlund avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mediaremotetv-protocol's Issues

Apple TV Forcibly closes connection on remote after verification Step.

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'

SetDisconnectingState proto missing

Like the title says...

appletv-theater ENOENT: no such file or directory, open '/home/app/node_modules/node-appletv/dist/lib/protos/SetDisconnectingStateMessage.proto'

Typo: VarInt, not Variant

Not a functional issue, but just a typo. Protobuf integers are "Varint 128" (I assume "variable integer") - not "Variant 128"

pairingData In Intial Pairing Client Call

@jeanregisser

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
}

.

.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.