airmessage / airmessage-server

AirMessage's native message relay server for Mac
Apache License 2.0
187 stars 13 forks source link

Facetime "crashes" #6

Open larsdennert opened 2 years ago

larsdennert commented 2 years ago

Seems that Facetime eventually stops responding and the camera goes dead. I'm not sure if others experienced this but I have to restart facetime. I wonder if having the camera going 24 hours per day eventually causes an issue. Maybe minimizing Facetime at the end of a call might help this situation or even closing the app?

tagavari commented 2 years ago

Good point, AirMessage should definitely be disabling the FaceTime app while it's not in use. I'll look into this!

larsdennert commented 2 years ago

I'm thinking in the leaveCall script issue the following command right before the three returns:

tell application "Facetime" quit end tell

This might also allow one Mac to have multiple Airmessage users enable Facetime as the camera won't be locked to one user. Facetime/MacOS definitely seems to lose the camera and say no camera found. This will also clean reset Facetime in case it got caught in some wierd menu. I notice that some MacOS verifications for AppleID block Facetime functionality until they are dismissed. Alpha 8 is definitely better already but I'll report another issue separately.

larsdennert commented 2 years ago

New discoveries.

MacOS is introducing some caveats here.