how can i upload vids to the livekit agent using g...
# ask-ai
r
how can i upload vids to the livekit agent using gemini live
t
Thanks for reaching out, Siddhartha. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Thanks for reaching out! I wanted to let you know that uploading pre-recorded video files directly to a LiveKit agent using Gemini Live isn’t supported just yet. But don’t worry, there are two great ways you can still include video content: • Real-time Live Video: You can enable live video input from a camera or screen share. This is actually the easiest and most recommended way to use Gemini Live, with very little setup needed. • Manual Frame Upload: Another option is to break your video into individual frames (for example, using
ffmpeg
) and then upload those frames as images through byte streams to the agent. If you’d like, I’m here to help you with either approach! Just share a bit about your specific use case, and I’d be happy to offer some tailored guidance or even provide code examples to get you started. Sources: agent/README.md | Vision | LiveKit Docs | realtime/gemini_live_vision.py | README.md | livekit-plugins/livekit-plugins-google/README.md