feat(media,android): ExoPlayer DataSource for sealed files, demo player app
:shade-android-media wraps the Kotlin MediaReader as a Media3 DataSource, so ExoPlayer plays and seeks any container from a sealed file; a tampered segment fails the read instead of reaching the decoder. :shade-media-demo opens a shared watch link and plays it. Verified: Robolectric — byte-exact reads whole and in ranges, tamper refusal, ExoPlayer plays a sealed H.264/AAC clip to the end and reopens mid-file on seek. Kotlin suite 80/0. Not yet run on a device. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -40,6 +40,9 @@ New package **`@shade/media`** — see `docs/media.md`.
|
||||
that publish from their own source.
|
||||
- **Kotlin.** `no.zyon.shade.media`: SMF1 reader and sealer, grants, live
|
||||
subscriber and publisher — byte-for-byte against `test-vectors/media.json`.
|
||||
`:shade-android-media` plays sealed files in Media3/ExoPlayer
|
||||
(`ShadeMediaDataSource`, `ShadeMedia.mediaSource(reader)`), and
|
||||
`:shade-media-demo` is a player app that opens a shared watch link.
|
||||
|
||||
### Fixed
|
||||
|
||||
|
||||
Reference in New Issue
Block a user