feat: Add fragmented MP4 (fMP4) support for Android
Implements HLS-compatible fragmented MP4 recording on Android using AndroidX Media3 FragmentedMp4Muxer, matching the iOS implementation. Changes: - Add FragmentedRecordingManager for fMP4 segment output - Add ChunkedRecorderInterface to abstract recorder implementations - Add onInitSegmentReady callback for init segment (init.mp4) - Update onVideoChunkReady to include segment duration - RecordingSession now uses FragmentedRecordingManager by default 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -32,6 +32,7 @@ class CameraViewManager : ViewGroupManager<CameraView>() {
|
||||
.put("cameraError", MapBuilder.of("registrationName", "onError"))
|
||||
.put("cameraCodeScanned", MapBuilder.of("registrationName", "onCodeScanned"))
|
||||
.put("onVideoChunkReady", MapBuilder.of("registrationName", "onVideoChunkReady"))
|
||||
.put("onInitReady", MapBuilder.of("registrationName", "onInitReady"))
|
||||
.build()?.toMutableMap()
|
||||
|
||||
override fun getName(): String = TAG
|
||||
|
||||
Reference in New Issue
Block a user