Connect the browser_audio to a custom frontend

Hey, you can try using audiostream.ts with your custom frontend.

createAudioConnection is the function that you would be using to start streaming.

<Button
  onClick={async () =>
    await createAudioConnection(baseUrl)
  }
>Go</Button>

Note that baseUrl is parsed by the function getWebSocketUrl so you need to ensure that it points to wherever Rasa is deployed. Hope this helps!