Comments (5)
@LewdNeko wonder whether we can update this. Have you tried master recently?
from airplay2-receiver.
Yes, this was actually how I did it the first time around. I had a lot of trouble encoding/decoding between bytes and string. For example, utf-8 won't work for the public key, you need utf-16. For the identifier, you need to use utf-8. For the permissions bit, I just forced a string conversion and reassembled with an if/else 😂
Base64 encoding would've been the smarter choice, and I'd be happy to PR this in. I will also include an override for the mDNS name, so that it is announced as configured by HomeKit.
E.g.
- Pair receiver to HomeKit
- Rename receiver in HomeKit
- mDNS name would match whatever it's configured as in HomeKit, if applicable.
from airplay2-receiver.
OK, I took a stab at this, and I'll hopefully have a PR coming soon.
from airplay2-receiver.
OK, what I have so far is viable. I've tested it with a number of different bit-flags. The extensive comments reveal that there are still a few bits missing. This motivates me to move the HK part to a different framework - like HAP-python. They've got some great code which means you can have multiple endpoints associated via HAP to control the speaker part. Currently, it's only one in this implementation.
Have a look at the differences here, or just go play with it, and see how it works for you.
from airplay2-receiver.
OK - pushed to master. If you want to fix 2 and 3, I welcome some attention to those bits. I've configure
has nothing for more permanent storage.
from airplay2-receiver.
Related Issues (20)
- Issue when running code? HOT 1
- Error streaming from iPhone HOT 2
- Distorted Audio iPhone to macOS HOT 3
- Pair Setup fails - 'Hap' object has no attribute 'getDevicePassword' HOT 5
- Cannot run docker image: ModuleNotFoundError: No module named 'av' HOT 4
- much noisy or broken voice when playing songs. HOT 2
- Not listed "AirPlay Display" HOT 2
- RPI4 - Bullseye 64bit Issue or Container Issue (ver: Master) HOT 7
- [Windows] Worked a couple times, now repeats error HOT 5
- I can't receive a stream from Mojave – RTP ChaCha20_Poly1305 decrypt: ValueError('MAC check failed') HOT 8
- Receiver visible on iPhone's list but cannot connect HOT 1
- Unable to install within a python environment HOT 1
- The len() of class av.audio.frame.AudioFrame HOT 6
- [Windows 11 Home] Airplay receiver not visible to other devices HOT 1
- iPhone can't see device, iTunes says it's not supported HOT 1
- Building on W11 with VSBT2022 errors HOT 5
- Can't stream Apple Music to AP2R HOT 14
- Windows Network interface not found HOT 10
- Install of pinned av fails on Big Sur 11.7.10 HOT 6
- No module named 'Crypto' HOT 7
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 airplay2-receiver.