VapiAI / web

68 stars 41 forks source link

Add event to receive raw PCM16 Audio #57

Open AnasMations opened 1 month ago

AnasMations commented 1 month ago

We are adding a face to Vapi's AI agent but there is a limitation: We want to be able to receive raw PCM16 audio bytes to pass that to our facial animation model.

Mhal007 commented 3 weeks ago

We have a similar need actually. We are not displaying a face, but we'd also like to be able to show an animation of sorts to visualize the agent speaking.

nikhilro commented 3 weeks ago
 public getDailyCallObject(): DailyCall | null {
    return this.call;
  }

we expose vapi.getDailyCallObject() now. to unblock yourself, recommend getting the raw pcm from there