Code Monkey home page Code Monkey logo

Comments (4)

systemcrash avatar systemcrash commented on June 11, 2024 1

Addendum: I'm not certain what iOS does not like about PTP, but it's iOS that causes the problem here.

Evidently, (some versions of) iOS cannot handle PTP and tethered clients (very well).

from airplay2-receiver.

systemcrash avatar systemcrash commented on June 11, 2024

The errors seem to centre around PTP - try to disable PTP using correct flags. But PTP was on in both cases, so it's difficult to say either way 🤷

from airplay2-receiver.

systemcrash avatar systemcrash commented on June 11, 2024

OK - this looks directly related to PTP.
If I run
python3 ap2-receiver.py -n en0 --debug

the AP shows up but I cannot connect from the tethered iPhone.

If I run
python3 ap2-receiver.py -n en0 --debug -ftxor 41

on a tethered iPhone, the AP shows up and I can connect and stream. Audio does not work, because we're in buffered audio, NTP mode, which implies FP2 encryption (I think)..? I see no shk exchanged...

BUT, if you run

python3 ap2-receiver.py -n en0 --debug -ftxor 41 40

then you get 'unbuffered' audio and ANNOUNCE, which works - I committed it a while ago.

from airplay2-receiver.

hiroyuki177 avatar hiroyuki177 commented on June 11, 2024

I've tried and it works, thanks. Using NTP with 'unbuffered' audio and ANNOUNCE rather than PTP is fine, but these are features from AirPlay 1. Hopefully the problem will be fixed in a future version.

from airplay2-receiver.

Related Issues (20)

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.