rhysmorgan134 / react-carplay

MIT License
382 stars 58 forks source link

Not able to start video stream #6

Closed roelvdboom closed 2 years ago

roelvdboom commented 2 years ago

When running react-carplay with the following command: sudo /home/pi/Desktop/Carplay.AppImage --no-sandbox the app will start but does not start the carplay stream.

Log output

spawning carplay {
  dpi: 240,
  nightMode: 0,
  hand: 0,
  boxName: 'nodePlay',
  width: 720,
  height: 480,
  fps: 60
}
directory found
device connected and ready
starting projection
parsing type:  8  for length:  4 <Buffer aa 55 aa 55 04 00 00 00 08 00 00 00 f7 ff ff ff>
parsing 8 <Buffer e8 03 00 00>
Carplay message:  Support Wifi
unkown type:  13  with data::  <Buffer aa 55 aa 55 0d 00 00 00 0d 00 00 00 f2 ff ff ff>
unkown type:  14  with data::  <Buffer aa 55 aa 55 0d 00 00 00 0e 00 00 00 f1 ff ff ff>
unkown type:  18  with data::  <Buffer aa 55 aa 55 1c 00 00 00 12 00 00 00 ed ff ff ff>
parsing type:  8  for length:  4 <Buffer aa 55 aa 55 04 00 00 00 08 00 00 00 f7 ff ff ff>
parsing 8 <Buffer e9 03 00 00>
Carplay message:  undefined
test message i
parsing type:  8  for length:  4 <Buffer aa 55 aa 55 04 00 00 00 08 00 00 00 f7 ff ff ff>
parsing 8 <Buffer 07 00 00 00>
Carplay message:  undefined
test message 
parsing type:  204  for length:  32 <Buffer aa 55 aa 55 20 00 00 00 cc 00 00 00 33 ff ff ff>
parsing 204 <Buffer 32 30 32 31 2e 31 32 2e 32 32 2e 31 36 34 37 43 41 59 00 00 00 00 00 00 00 00 00 00 00 00 00 00>
version number:  2021.12.22.1647CAY
unkown type:  25  with data::  <Buffer aa 55 aa 55 7e 00 00 00 19 00 00 00 e6 ff ff ff>
unkown type:  1  with data::  <Buffer aa 55 aa 55 1c 00 00 00 01 00 00 00 fe ff ff ff>
Socket connected. sending data...
enabling wifi
parsing type:  8  for length:  4 <Buffer aa 55 aa 55 04 00 00 00 08 00 00 00 f7 ff ff ff>
parsing 8 <Buffer f2 03 00 00>
Carplay message:  undefined
test message r
auto connecting
parsing type:  8  for length:  4 <Buffer aa 55 aa 55 04 00 00 00 08 00 00 00 f7 ff ff ff>
parsing 8 <Buffer f2 03 00 00>
Carplay message:  undefined
test message r
non-audio found
unknown type:  11 false false
non-audio found
unknown type:  11 false false
non-audio found
unknown type:  11 false false
parsing type:  2  for length:  4 <Buffer aa 55 aa 55 04 00 00 00 02 00 00 00 fd ff ff ff>
parsing 2 <Buffer 03 00 00 00>
no wifi avail, phone type:  3
data received { status: true }
sending unplugged event
data received { status: false }
parsing type:  4  for length:  0 <Buffer aa 55 aa 55 00 00 00 00 04 00 00 00 fb ff ff ff>
rhysmorgan134 commented 2 years ago

What OS are you running on? looks like it thinks the phone gets unplugged

roelvdboom commented 2 years ago

I'm using a Raspberry Pi 3b with Raspberry Pi OS desktop Debian version 11.

rhysmorgan134 commented 2 years ago

I had similar recently when trying to run the pi on too low of a voltage, the pi could not handle powering phone and dongle.

closing for now due to no info, feel free to re open if you still have issues.