Git Product home page Git Product logo

Comments (6)

iRayanKhan avatar iRayanKhan commented on May 23, 2024 1

Maybe the Shairport people can help.
I have several AirPlay 2 devices if you need any help

  1. AirPort Express
  2. AirPlay 2 TV (No HomeKit)
  3. HomePods
  4. Apple TV 4K's
    And am planning to get a Sonos One SL (No Mic) w/ AirPlay 2.
    I can ask Mike or Erik on how to play that type of audio. I will reply back as soon as I get a reply.

from java-airplay-server.

serezhka avatar serezhka commented on May 23, 2024

Hi, @iRayanKhan!
First, I need to understand how audio is encrypted. In java-airplay-lib I've implemented AES CBC decryption with aes key and aesIV received during pairing step. But I could not find a way to check that it's correct. Also I have no idea how to play raw AAC ELD encoded audio. I've tried to do it with fdk-aac lib but it turned out without success

from java-airplay-server.

spott avatar spott commented on May 23, 2024

This might help with the audio encryption: https://emanuelecozzi.net/docs/airplay2/rtp

It appears to be ChaCha20-Poly1305 AEAD.

from java-airplay-server.

iRayanKhan avatar iRayanKhan commented on May 23, 2024

@spott I saw that this project works for macOS using python. I can't get it to work using docker as it is private.

https://github.com/ckdo/airplay2-receiver

from java-airplay-server.

serezhka avatar serezhka commented on May 23, 2024

This might help with the audio encryption: https://emanuelecozzi.net/docs/airplay2/rtp

It appears to be ChaCha20-Poly1305 AEAD.

@spott it isn't. Now I can confirm that during screen mirroring audio is encrypted with AES-CBC
https://youtu.be/BFuYug8MO6s

from java-airplay-server.

spott avatar spott commented on May 23, 2024

@serezhka Thanks. Looks like I didn't read far enough (or the page has since been updated). It mentions that audio is encrypted with AES-CBC further down the page.

from java-airplay-server.

Related Issues (13)

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.