I'd be happy to help you share a live demo generated with Puppeteer during a LiveKit call while the bot continues to talk about it. Here are a few approaches you can consider:
•
Screen Sharing with Puppeteer: You can run Puppeteer in non-headless mode and use LiveKit's built-in screen sharing feature to share the browser window as a video track. This is probably the easiest way to get your live demo going.
•
Screenshot-to-Video Stream: Another option is to capture screenshots from Puppeteer at regular intervals, convert them into a video stream, and then publish that stream to the LiveKit room. This gives you more control over the process if you want to customize things.
•
LiveKit Browser Plugin: You might also want to try the LiveKit browser plugin, which offers smoother integration. It lets you capture browser content as video frames and publish them directly to the LiveKit room, making things a bit more seamless and removing the need to handle screenshots manually.
For the bot's commentary, you can sync its speech with the demo actions by triggering it to describe features as they happen in the browser. This way, everything feels connected and engaging.
If you'd like, I can walk you through detailed steps for any of these methods—just let me know, and I’m here to help!
Sources:
livekit-plugins/livekit-plugins-browser/livekit/plugins/browser/proc_main.p... |
Screen sharing | LiveKit Docs |
Web Applications & Integration Examples | livekit/livekit_composite | DeepW...