Hi, In a user-agent conversation, is there a way t...
# agents
a
Hi, In a user-agent conversation, is there a way to show the agent visualization in the recording? and not only the user participant.
e
Yes, you can record the agent’s visualization.. on client side by capturing the turn of user or agent.
a
Thanks for your response! Could you provide a bit more guidance on this? I'm currently using LiveKit's server-side recording with
composite-room
. Are you suggesting I need to implement client-side recording to capture the agent's visualization? Would using HTML5 Canvas be a good approach for this? If possible, could you share a code example or point me to relevant documentation that demonstrates how to implement this?
e
Great, since you’re already using RoomComposite server-side recordings, so easiest, most robust way to make the agent visualization appear inside those composite recordings is to have a headless browser join the same LiveKit room as a participant and publish the agent visualization as a video track. That way RoomComposite will automatically include the agent track as part of its composite output
🙏 1
You can refer documentation page for further details https://docs.livekit.io/home/egress/composite-recording/