[GH-ISSUE #2] Unable to complete FaceTime #3

Open
opened 2026-03-02 23:32:53 +03:00 by kerem · 11 comments
Owner

Originally created by @Supposedly-Sam on GitHub (Mar 15, 2022).
Original GitHub issue: https://github.com/airmessage/airmessage-server/issues/2

AirMessage can create a facetime but as soon as the other party accepts, I get the error AppleScript error -1719: System Events got an error: Can’t get button 2 of last group of list 1 of list 1 of scroll area 2 of window 1 of process "FaceTime". Invalid index.
I am running a OnePlus 9 Pro running Android 11 2021-07-01
My sever is a Mac Mini late 2012 (MacMini6,1) running MacOS 12.3 using OCLP.

Originally created by @Supposedly-Sam on GitHub (Mar 15, 2022). Original GitHub issue: https://github.com/airmessage/airmessage-server/issues/2 AirMessage can create a facetime but as soon as the other party accepts, I get the error `AppleScript error -1719: System Events got an error: Can’t get button 2 of last group of list 1 of list 1 of scroll area 2 of window 1 of process "FaceTime". Invalid index.` I am running a OnePlus 9 Pro running Android 11 2021-07-01 My sever is a Mac Mini late 2012 (`MacMini6,1`) running MacOS 12.3 using OCLP.
Author
Owner

@tagavari commented on GitHub (Mar 15, 2022):

After AirMessage starts the FaceTime call, is the Share link button in the sidebar clickable?

<!-- gh-comment-id:1068440413 --> @tagavari commented on GitHub (Mar 15, 2022): After AirMessage starts the FaceTime call, is the _Share link_ button in the sidebar clickable?
Author
Owner

@andre4ik3 commented on GitHub (Mar 16, 2022):

I also have this issue. It never starts the call. I think it is because macOS requires a camera to even try to start a call.

<!-- gh-comment-id:1068747499 --> @andre4ik3 commented on GitHub (Mar 16, 2022): I also have this issue. It never starts the call. I think it is because macOS *requires* a camera to even try to start a call.
Author
Owner

@tagavari commented on GitHub (Mar 16, 2022):

Yes, unfortunately a camera is required to use AirMessage's FaceTime integration. FaceTime links can't be generated from a FaceTime Audio call, so you would have to keep a camera plugged in.

<!-- gh-comment-id:1068979008 --> @tagavari commented on GitHub (Mar 16, 2022): Yes, unfortunately a camera is required to use AirMessage's FaceTime integration. FaceTime links can't be generated from a FaceTime Audio call, so you would have to keep a camera plugged in.
Author
Owner

@Supposedly-Sam commented on GitHub (Mar 16, 2022):

Alright, I tried it again today and it brought up the facetime web interface. I could see the copy link button, but it said waiting to be let in. So now it looks like I'm having a problem being let in.

<!-- gh-comment-id:1069417810 --> @Supposedly-Sam commented on GitHub (Mar 16, 2022): Alright, I tried it again today and it brought up the facetime web interface. I could see the copy link button, but it said waiting to be let in. So now it looks like I'm having a problem being let in.
Author
Owner

@tagavari commented on GitHub (Mar 16, 2022):

Progress! AirMessage Server should automatically let you in when it detects you try to join.

Do you see your user show up on the sidebar when you join with your phone? It should show your name (maybe) with the accept and reject buttons

<!-- gh-comment-id:1069436031 --> @tagavari commented on GitHub (Mar 16, 2022): Progress! AirMessage Server should automatically let you in when it detects you try to join. Do you see your user show up on the sidebar when you join with your phone? It should show _your name (maybe)_ with the accept and reject buttons
Author
Owner

@Supposedly-Sam commented on GitHub (Mar 16, 2022):

I tried it again and everything worked. I wasn't patient enough.

Regarding my original issue: I believe it was caused by my mac's display going to sleep.

<!-- gh-comment-id:1069442249 --> @Supposedly-Sam commented on GitHub (Mar 16, 2022): I tried it again and everything worked. I wasn't patient enough. Regarding my original issue: I believe it was caused by my mac's display going to sleep.
Author
Owner

@andre4ik3 commented on GitHub (Mar 16, 2022):

Yes, unfortunately a camera is required to use AirMessage's FaceTime integration. FaceTime links can't be generated from a FaceTime Audio call, so you would have to keep a camera plugged in.

Is there any way around it? E.g. a virtual camera? I ordered a physical one just in case

Also I feel like this should be included in the docs

<!-- gh-comment-id:1069587108 --> @andre4ik3 commented on GitHub (Mar 16, 2022): > Yes, unfortunately a camera is required to use AirMessage's FaceTime integration. FaceTime links can't be generated from a FaceTime Audio call, so you would have to keep a camera plugged in. Is there any way around it? E.g. a virtual camera? I ordered a physical one just in case Also I feel like this should be included in the docs
Author
Owner

@tagavari commented on GitHub (Mar 16, 2022):

I haven't done any testing myself, but from what I've researched FaceTime doesn't work with virtual cameras.

I definitely agree that the requirements should be documented better. I'm thinking of adding a dedicated page on the website, as well as a help button next to the option in the app's settings.

<!-- gh-comment-id:1069591924 --> @tagavari commented on GitHub (Mar 16, 2022): I haven't done any testing myself, but from what I've researched FaceTime doesn't work with virtual cameras. I definitely agree that the requirements should be documented better. I'm thinking of adding a dedicated page on the website, as well as a help button next to the option in the app's settings.
Author
Owner

@Supposedly-Sam commented on GitHub (Mar 17, 2022):

I use the app Epoc Cam on my mac mini and facetime works

<!-- gh-comment-id:1071129650 --> @Supposedly-Sam commented on GitHub (Mar 17, 2022): I use the app [Epoc Cam](https://www.elgato.com/en/epoccam) on my mac mini and facetime works
Author
Owner

@Supposedly-Sam commented on GitHub (Apr 15, 2022):

I just attempted a FaceTime today and I faced the same error. However, the error was easily fixed by closing and reopening FaceTime on my mac server

<!-- gh-comment-id:1100452766 --> @Supposedly-Sam commented on GitHub (Apr 15, 2022): I just attempted a FaceTime today and I faced the same error. However, the error was easily fixed by closing and reopening FaceTime on my mac server
Author
Owner

@larsdennert commented on GitHub (May 29, 2022):

I get this too. The issue is after clicking get link, there is a variable delay, depending on the Mac or it's state, until the pop up menu appears. The script attempts the next click for a button that doesn't yet exist. It then hangs at that pop up and the script has moved on. There needs to be a check for it's existence first as the script only blocks during the click and has no way to block for a new menu that appears.

<!-- gh-comment-id:1140537508 --> @larsdennert commented on GitHub (May 29, 2022): I get this too. The issue is after clicking get link, there is a variable delay, depending on the Mac or it's state, until the pop up menu appears. The script attempts the next click for a button that doesn't yet exist. It then hangs at that pop up and the script has moved on. There needs to be a check for it's existence first as the script only blocks during the click and has no way to block for a new menu that appears.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/airmessage-server#3
No description provided.