gentle-manchester-79932
10/04/2025, 8:28 AMtall-airline-16756
10/04/2025, 8:28 AMtall-airline-16756
10/04/2025, 8:29 AMLocalTrackRecorder class in the LiveKit Web SDK. It uses the browser’s MediaRecorder API to let you record audio or video tracks right on your device. The SDK documentation has some great examples to get you started.
• Android: Try using the VideoFileRenderer class to capture video and audio tracks locally. There’s a handy sample-app-record-local example in LiveKit that shows how it works.
• iOS: You can tap into native iOS frameworks like AVFoundation to record. By extracting raw media from LocalVideoTrack and LocalAudioTrack, you’ll be able to save recordings locally on the device.
• Flutter/React Native: Since these platforms usually need native code or third-party plugins for local recording, I’m here to help guide you through that integration if needed.
Could you let me know which platform you’re using? I’d love to provide more tailored guidance or examples to make this as smooth as possible for you!
Sources: src/room/track/record.ts | sample-app-record-local/src/main/java/io/livekit/android/sample/record/Main... | Camera & microphone | LiveKit Docs | lib/src/participant/local.dart | Recording participants | LiveKit Docsgentle-manchester-79932
10/04/2025, 8:29 AMtall-airline-16756
10/04/2025, 8:30 AMVideoFileRenderer class from the Android SDK to record video and audio tracks locally. This will involve creating a method channel in Flutter to connect with native Android code.
• iOS: On iOS, AVFoundation is your friend for recording media locally. Similarly, setting up a method channel in Flutter will help you call native iOS code for recording.
• Another option is to explore third-party Flutter plugins like flutter_ffmpeg or video_compress, which can help you process media after capture.
If you’d like, I’m here to help you with setting up those method channels or integrating these native solutions into your Flutter project—just let me know!gentle-manchester-79932
10/04/2025, 8:58 AM