-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix intro message cut-off issue #90
base: main
Are you sure you want to change the base?
Conversation
skve
commented
Jan 14, 2025
•
edited
Loading
edited
- not sure what the video recording start time passed into the event is used for, that might need to be made its own event
…ng multi-line imports and function parameters. Removed unused mobile device detection and sleep functions. No functional changes made. Signed-off-by: Luke Shiels <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
upon re-review, realized that this may break functionality for users with recording enabled
what functionality exactly? we'd like to get this brought over the line |
The first message is always cut off when making the web call from my iPhone but it is not reproducible on desktop. It would be great to have this PR merged if fixes this as it's a bad UX. |
@@ -299,15 +283,6 @@ export default class Vapi extends VapiEventEmitter { | |||
preset: 'default', | |||
}, | |||
}); | |||
|
|||
this.call.on('recording-started', () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this logic is needed when people have video recording enabled
// Allow mobile devices to finish processing the microphone permissions | ||
// request before joining the call and playing the assistant's audio | ||
if (this.isMobileDevice()) { | ||
await this.sleep(1000); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i think we likely still need this, keep both?