Giter VIP home page Giter VIP logo

Comments (5)

serezhka avatar serezhka commented on June 6, 2024

@LuohanCC, I'm also trying to save audio data to playable file.
For now, I've compiled fdk-aac lib with JNI bindings to decode aac-eld. This will make sure that decrypting method is correct.

from java-airplay-lib.

LuohanCC avatar LuohanCC commented on June 6, 2024

I have completed transcoding in JNI using the fdk-aac library, and directly wrote to the file in JNI, and then played, but the playback failed. I hope you have good news.

from java-airplay-lib.

LuohanCC avatar LuohanCC commented on June 6, 2024

Hi serezhka. Have you finished?

from java-airplay-lib.

serezhka avatar serezhka commented on June 6, 2024

@LuohanCC unfortunately, no. C code is here if someone else interested.
Currently I'm analyzing apowermirror app from apowersoft. They have managed to make audio work and use shairplay lib, @dsafa22's code, fdk-aac, .. under the hood. Now I can confirm that service discovery entries, /info, RTSP SETUP responses exactly the same as in this java-airplay-lib, nothing is special.

from java-airplay-lib.

serezhka avatar serezhka commented on June 6, 2024

@LuohanCC I've successfully decrypted audio!
But still, you need to compile fdk-aac-jni and put libfdk-aac.dll in classpath (windows). Decoded audio will be written to audio.pcm file.
ffplay -autoexit -f s16le -ar 44100 -ac 2 audio.pcm
see https://youtu.be/BFuYug8MO6s

from java-airplay-lib.

Related Issues (7)

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.