Giter VIP home page Giter VIP logo

Comments (17)

willcosgrove avatar willcosgrove commented on June 3, 2024

I can confirm, I'm having the same issue. I really like the idea of Airsonos, I'd love to help, but I'm not much of a node developer. I can provide any debug info you need though šŸ˜„

from airsonos.

stephen avatar stephen commented on June 3, 2024

It's unfortunately fairly difficult with the current codebase for me to debug these types of issues without access to the network. Currently, there's not a lot of testing/verbosity in the code so it's hard to tell what's failing in a given scenario. Hopefully, as I continue to refactor hacked-together parts, I can get a better idea of what's wrong.

For some clarity - The problem could be with either the AirPlay side of things (having OS X/iOS talk to the server, which is handled by nodetunes), or with the Sonos side of things (having the server talk mp3stream to the device, which is handled by nicercast and node-sonos).

Would love any help you guys can provide on fixing these issues.

from airsonos.

svrooij avatar svrooij commented on June 3, 2024

I tested it again, still gives a few errors but works for now.
The error I got was, strange error while flushing cache.

With all the errors I was on a wired connection. Now working with wireless, and it works!! Still got a few errors but no big deal.

This is a great tool!!!

Ps. I just installed the version from git today, so that might also the solution of the problem.

from airsonos.

stephen avatar stephen commented on June 3, 2024

Interesting - is the strange error while flushing cache.. the only error shown? Are there still starts/stops with the audio?

strange error while flushing cache.. is emitted by node-lame, though I'm not sure of the cause at the moment.

from airsonos.

svrooij avatar svrooij commented on June 3, 2024

Yes only error.

from airsonos.

danburke avatar danburke commented on June 3, 2024

I traced this down to a leading carriage return in the setup RTSP request.
When I patch rtsp.js to remove this I'm able to get the stream to play.
Hope this helps!

"
SETUP rtsp://192.168.1.27/4932615128151379837 RTSP/1.0
Transport: RTP/AVP/UDP;unicast;mode=record;timing_port=52230;x-events;control_port=55038
CSeq: 3
X-Apple-Device-ID: 0x4db5642d294
DACP-ID: <snip>
Active-Remote: <snip>
User-Agent: AirPlay/200.54

"

from airsonos.

stephen avatar stephen commented on June 3, 2024

@danburke Do you mind submitting an issue + patch on https://github.com/stephen/nodetunes so I can take a look?

(nodetunes is the library that handles the rtsp functionality)

Thanks for your help!

from airsonos.

danburke avatar danburke commented on June 3, 2024

Sure !

from airsonos.

stephen avatar stephen commented on June 3, 2024

@teejteej, @danburke - do you have consistent repro steps for that SETUP issue? Am trying to track it down, but can't figure out the conditions to make it happen consistently..

from airsonos.

teejteej avatar teejteej commented on June 3, 2024

Not really, it just happens consistently every time as soon as I choose a Sonos as output device. I haven't managed to get things working yet.

from airsonos.

stephen avatar stephen commented on June 3, 2024

What device are trying to AirPlay from? How strong is the network connection?

I've seen it happen on my end before, but not immediately after startup.

from airsonos.

teejteej avatar teejteej commented on June 3, 2024

MBA 11", Mid 2012. The connection is perfect, Iā€™m practically sitting next
to the router, as well as the Sonos players.

On Fri, Apr 25, 2014 at 9:03 AM, Stephen Wan [email protected]:

What device are trying to AirPlay from? How strong is the network
connection?

I've seen it happen on my end before, but not immediately after startup.

ā€”
Reply to this email directly or view it on GitHubhttps://github.com//issues/2#issuecomment-41364246
.

from airsonos.

stephen avatar stephen commented on June 3, 2024

Gotcha. Unfortunately, I'm not able to repro this problem consistently with my setup (MBP, 1 x Play:3), so will have to for some more clarity on how to make this happen..

from airsonos.

RobertBiehl avatar RobertBiehl commented on June 3, 2024

Hi, I can reproduce this error.
It crashes immediatly when trying to play something over the the airplay device on my Macbook Pro.
I have airsonos 0.0.12 running on a raspberry pi with debian wheezy. My Sonos device is a play:1 connected via ethernet.

from airsonos.

stephen avatar stephen commented on June 3, 2024

Hey @RobertBiehl, AirSonos support on RPI is a different issue with lame encoder performance. (see stephen/nicercast#2).

A possible workaround is to compile the shine encoder, and replace the lame bindings with shine, but currently not officially supported.

from airsonos.

RobertBiehl avatar RobertBiehl commented on June 3, 2024

Does this also fix this error?
TypeError: Property '
SETUP' of object # is not a function

Thanks for the info! I'll try to add trim on the command and see if I need to switch to shineenc.

from airsonos.

stephen avatar stephen commented on June 3, 2024

'SETUP' of object #<Object> is not a function bug is solved as of version 0.0.15.

from airsonos.

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.