Can we record audio and video chat with the agent ...
# ask-ai
l
Can we record audio and video chat with the agent locally?
t
Thanks for reaching out, James. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
You can record audio and video chat locally on the client device using LiveKit. Local recording is supported across multiple platforms: • Android: You can save local audio and video tracks by passing audio samples and video frames into a
VideoFileRenderer
, which encodes and saves them as a video file on the device. • JavaScript/Web: The SDK provides a
LocalTrackRecorder
class that extends
MediaRecorder
for local recording. This allows you to record tracks directly in the browser and save the data locally. • iOS/Swift: The SDK includes methods like
startLocalRecording()
and
stopLocalRecording()
to capture and save audio locally on the device. These features let you record conversations on the client side, independent of any server-side recording. Sources: Sources/LiveKit/Audio/Manager/AudioManager.swift | livekit-android-sdk/src/main/java/io/livekit/android/room/participant/Local... | src/room/track/options.ts