Comments (6)
Then I would refer you to this page:
https://pyatv.dev/documentation/protocols/#companion-link
It should explain most things you need.
from pyatv.
There's nothing special that you couldn't do in Swift, no. You need to follow the protocol. As I have no idea what you have done nor what protocol or even function you are trying to implement, it's hard to give any pointers.
from pyatv.
Sure, I totally understand
Does pyatv send any specific headers when establishing the connection? Specifically in sendIntroduction()
? Is there any way for me to debug what exactly is being sent when connection is established?
Thanks a lot in advance
from pyatv.
There's no sendIntroduction()
method in pyatv. You need to understand that pyatv implements five different protocols used by Apple products for various purposes. I can't tell you "generically" what "headers" are sent because it all depends on what protocol you are referring to. They are all very different. You can use --debug
when running for instance atvremote
, which will show a lot of debug output. But that will only get you so far.
What protocol are you implementing?
from pyatv.
Sorry, I confused it with another solution
I would like to use and establish connection through Companion Protocol, my goal is to establish connection to Apple TV and further use cursor control functions, listing apps and opening the app through deep link
At the moment I'm just trying to establish the connection to Apple TV, having the IP address of Apple TV and the port 49153
from pyatv.
In debug mode with pyatv I can see that the connection is successfully established as Connected to companion device ip:port
, but indeed, I can't see any details on the handshake and connection establishment itself. Details on that would be really helpful for me
from pyatv.
Related Issues (20)
- Connecting while only members of Home can controll HOT 2
- Connection broken if connected in an new thread HOT 3
- Playing videos on AirPlay is broken HOT 1
- incompatible with protobuf 5.26.1 HOT 6
- app_id: com.canalplusdistrib.mycanal.prod app_name: myCANAL app entity_picture HOT 1
- atvscript push_updates - output_devices is not supported HOT 3
- Add atv-desktop-remote to list of projects that use pyatv HOT 2
- Downgrade minimum Cryptography requirement to 3.4.8 HOT 2
- Verify compatibility with tvOS 18 HOT 9
- Switch to use uv instead of regular pip
- Replace pylint, isort and black with ruff
- Container in docker won't start HOT 1
- "atvremote -s <IP> previous" won't go back to the previous page within an app
- error in fetch metadata in "playing" command HOT 5
- Stream Live Audio Output to HomePod HOT 2
- Installing pyatv on a raspberry pi to work with node-red-contrib-apple-tv-x 1.0.3 HOT 2
- Install Problem HOT 6
- NSOSStatusErrorDomain with only some mp4 files HOT 1
- AttributeError: module 'lib' has no attribute 'EVP_CIPHER_CTX_ctrl'。macbook pro m1芯片笔记本,使用pyenv安装的python无法使用, HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyatv.