Discussions
Livekit example
5 months ago by Andrey
Hi. We lack real livekit example. https://docs.heygen.com/docs/streaming-api-integration-with-livekit-v2 here it's not clear how to process anything using the livekit on my own.
My current assumptions now are:
Change basePath like this
avatar.current = new StreamingAvatar({
basePath: "http://localhost:8000",
token: newToken,
});
And then I have a couple of endpoints +websocket for audio on my side.
On that endpoints I return my own StartAvatarResponse with my livekit room url.
Am I going the right way?