Skip to content
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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

skve
Copy link

@skve skve commented Jan 14, 2025

  • not sure what the video recording start time passed into the event is used for, that might need to be made its own event

skve added 2 commits January 14, 2025 14:40
…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]>
bryantanderson

This comment was marked as outdated.

@bryantanderson bryantanderson self-requested a review January 16, 2025 03:36
Copy link
Collaborator

@bryantanderson bryantanderson left a 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

@skve
Copy link
Author

skve commented Jan 26, 2025

what functionality exactly? we'd like to get this brought over the line

@adrivelasco
Copy link

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', () => {
Copy link
Contributor

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);
Copy link
Contributor

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants