Marco Nelissen
c209a06cfd
Let apps provide a custom data source for extractors
...
Adds android.media.DataSource, which is modeled after its native namesake,
and a new method on MediaExtractor that lets apps specify their implementation
of a DataSource as the source of data for the extractor.
Change-Id: If1b169bd18d2691ebc4f8996494dfc8ee0894b6c
2012-08-24 10:36:51 -07:00
Andreas Huber
f86374adec
Remove SEEK_CLOSEST constant from MediaExtractor, its implementation makes no
...
sense for the java API.
Change-Id: I3f2eabb5ca5ffb6c1f03141bfd303310111e8774
related-to-bug: 6276111
2012-05-09 11:32:51 -07:00
Andreas Huber
60d610bf10
Various changes to Media* APIs requested by the api council.
...
Change-Id: Iec2f50c99cf5f00a442737231361334e9ab46340
related-to-bug: 6432753
2012-05-03 16:02:29 -07:00
Andreas Huber
f2855b3df5
The MediaExtractor can now unselect tracks and has more control over seeking.
...
Change-Id: I12c28bf31fe9fb4057352999fa38213ae289a417
related-to-bug: 6276111
2012-04-26 10:43:31 -07:00
Andreas Huber
74a78b0f6e
Add the ability to query the amount of cached data to MediaExtractor.
...
Change-Id: I47ae60bc6fb8d88979c1f0d650b6ac528e811371
related-to-bug: 6364341
2012-04-20 11:57:26 -07:00
Andreas Huber
ab57d03bdb
Fix a typo and choose a reasonable default for crypto-mode (0 would be unencrypted)
...
Change-Id: Ia46a7d7dd405bd569f319a64e43123d802c867d3
related-to-bug: 6275919
2012-04-18 15:59:43 -07:00
Andreas Huber
91befdc0c4
Information required to decrypt buffers is now packaged into MediaCodec.CryptoInfo
...
New API on MediaExtractor to retrieve a CryptoInfo structure where applicable.
Change-Id: I18edfc9ac56a4544c8f17cba24401b96dacbff7d
related-to-bug: 6275919
2012-04-18 12:19:51 -07:00
Andreas Huber
2b9d6bd092
Make seekTo not throw exceptions.
...
Change-Id: I9d0469962364b86fbab920e9ac65f468fc630737
related-to-bug: 6276111
2012-04-17 15:02:22 -07:00
Andreas Huber
07ea426e3a
Unhide new media related java APIs.
...
Change-Id: If0b8201eaca74f51f3499b6ecdfb73088586ee24
2012-04-16 10:14:05 -07:00
Andreas Huber
9b8e496f4d
Provisional support for secure decryption of media streams.
...
Change-Id: Ib3982a9c960bfdb0cb7e1b174440b141b194cfbe
2012-03-26 11:24:04 -07:00
Andreas Huber
c52b980277
Documentation/API update for MediaCodec/MediaExtractor, fixes to MediaCodec.
...
and MediaExtractor.readSampleData now works with a non-direct byte buffer.
Change-Id: Ifbe5c152d9550c34d3b1d493e12a223eb98e8b4e
2012-03-12 14:49:43 -07:00
Andreas Huber
88572f7a3e
Implementation of a java media codec interface and associated tools.
...
Change-Id: I13e54062d4de584355c5d82bb027a68aeaf2923b
2012-02-22 15:06:06 -08:00