-
-
Notifications
You must be signed in to change notification settings - Fork 216
Setup Media3 Patched
Faded edited this page Dec 6, 2025
·
2 revisions
FadCam uses a patched version of AndroidX Media3 for live HLS streaming support with real-time fragment callbacks.
The patched Media3 library is required to build FadCam. Choose one option:
git clone --depth 1 https://github.com/anonfaded/media3-patched.git /tmp/media3-patched- Clone to your preferred location:
git clone --depth 1 https://github.com/anonfaded/media3-patched.git ~/libs/media3-patched- Add to
local.properties:
media3.patched.path=/home/youruser/libs/media3-patchedgit clone --depth 1 https://github.com/anonfaded/media3-patched.git C:\libs\media3-patchedThen add to local.properties:
media3.patched.path=C:\\libs\\media3-patchedThe patched Media3 library provides:
- Real-time fragment callbacks for live HLS streaming
- ProcessedSegment API that delivers fMP4 fragments as they're muxed
- MSE-compliant output for browser compatibility
- No file polling needed - fragments delivered via callback
After cloning, build FadCam:
./gradlew assembleDefaultDebug installDefaultDebugIf you see warnings about Media3 not found, check your path configuration.
This is a fork of: https://github.com/albrast/media (feat/live-fragmented-muxer branch)
Changes are merged into the default branch of: https://github.com/anonfaded/media3-patched