Giter Club home page Giter Club logo

Comments (3)

ideavat avatar ideavat commented on August 22, 2024

Main Activity of Android (starting point of Android App)
Created an instance of AirPlayServer and AirReceiver.
Commented AWT codes in Air Receiver class.

Facing issue in
AudioOutputQueue#enqueue(final long frameTime, final byte[] frames) {}
Some delay:

if (delay < -packetSeconds) {

                    /* The whole packet is scheduled to be played in the past */

                    LOG.warning("Audio data arrived " + -(delay) + " seconds too late, dropping");



                    return false;

            }
            else if (delay > QUEUE_LENGHT_MAX_SECONDS) {



                    /* The packet extends further into the future that our maximum queue size.

                     * We reject it, since this is probably the result of some timing discrepancies

                     */
                    LOG.warning("Audio data arrived " + delay + " seconds too early, dropping");



                    return false;

            }

This is returning false and hence doesn't enqueue the streams. I am testing on Android Samsung TAB3 and Android Nexus 7. Also tested the jar on Windows Laptpop, its running great in it.

from droidairplay.

Boggartfly avatar Boggartfly commented on August 22, 2024

I'm developing something similar. Check out my repo at https://github.com/Boggartfly/OpenAirplay

It's a work in progress though. You could try forking it if you like! Any pull requests I'll happily accept!

from droidairplay.

MatthewCawley avatar MatthewCawley commented on August 22, 2024

Was there ever a solution to this? I'm experiencing this on particular devices. Thanks

from droidairplay.

Related Issues (5)

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.