Giter Club home page Giter Club logo

Comments (6)

rhysmorgan134 avatar rhysmorgan134 commented on July 19, 2024

This is strange, the codebase for the bit you need resides in node-carplay https://github.com/rhysmorgan134/node-CarPlay

All that happens is it takes a stream input via usb then pipes this to an ffmpeg process. May be worth checking ffmpeg can play audio fine else where.

from react-carplay.

encku avatar encku commented on July 19, 2024

Did you solve the issue ? @gyurobenjamin We are also having same, sounds are slowing down like 10x except phone calls and siri.

from react-carplay.

grstreten avatar grstreten commented on July 19, 2024

Echoing this issue here too... Pi 4 rev 1.2, on 32 bit Raspbian. Siri and Phone both absolutely fine!

from react-carplay.

grstreten avatar grstreten commented on July 19, 2024

I've just had a crash on the back of this.

What was happening at the time
Started CarPlay app with Spotify music paused. Exited Spotify, made phone call, started using iPhone. After call navigated to Audible in CarPlay, tapped on an audiobook (approx 15s after call ended).

What should have happened
The audiobook should have started playing, instead of silence (as no audio playing at time).

What happened
CarPlay crashed, device disconnected, JavaScript error message appeared:

Uncaught Exception:
Error write EPIPE
at afterWriteDispatched (internal/stream_base_commons.js 156.25)
at wnteGeneric (internal/stream_base_commons.js:147:3)
at Socket._writeGeneric (net.js:78511)
at Socket_write (net.js:797.8)
at writeOrBuffer (internal/streams/writable.js.358:12)
at Socket.Writable.write (internal/streams/writable.js:303:10 at AudioParse.pipeData(/tmp/mount_CarpladA063/resources/app asar/-node_modules/node-carplay/modules/AudioParse js:141:37)
at AudioParse.addBytes (/tmp/mount_CarpladA063/resources/app. asar/-node_modules/node-carplay/modules/AudioParse.|s:90:15)
at DongleHandler.deSerialise (/tmp/ mount_CarpladA063/resources/-app.asar/node_modules/node-carplay/modules/DongleHandlerjs:296:31)
at inEndpoint.<anonymous> (/tmp/mount_CarpladA063/resources/-app.asar/node_modules/node-carplay/modules/DongleHandler.js:119:22)

Please note this is scanned text - there could be various little typos :)

from react-carplay.

rhysmorgan134 avatar rhysmorgan134 commented on July 19, 2024

Thanks for the detailed report, when I get a chance I will try and replicate.

from react-carplay.

rhysmorgan134 avatar rhysmorgan134 commented on July 19, 2024

I have just done a fresh install on latest raspbian, running on my reference pi4 and SD card. I can't replicate any of the above issues. If you are experiencing slow down, I can only suggest at this point ensuring you have a decent speed SD card and also not running the application at too high frame rate.

If you can try the above and feedback that would be great

from react-carplay.

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.