summaryrefslogtreecommitdiffstats
path: root/media/jni/android_media_MediaHTTPConnection.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Unhide the android.media.[Media]DataSource interface.Chris Watkins2015-04-151-1/+0
| | | | | | | | | | | | | | | | | | | | This allows apps to implement MediaDataSource, which is modeled on stagefright's DataSource, to supply media data to the framework. This was already implemented for MediaExtractor, but it was renamed from DataSource. MediaExtractor, MediaPlayer and MediaMetadataRetriever each have a new overload: #setDataSource(android.media.MediaDataSource) Only NuPlayer supports this new data source. The change introduces: * IDataSource: The binder interface for DataSource. * JMediaDataSource: The native counterpart to the java interface. It implements IDataSource. * CallbackDataSource: A stagefright DataSource that wraps an IDataSource. Change-Id: I6d9c1167b4a7384c469b1e928f31791a7ebed716
* Update calls to IInterface::asBinder()Marco Nelissen2014-11-141-1/+1
| | | | | | to use the new static version. Change-Id: I88ee037c66aa254f466d3a51ddc358bd37cf44b5
* MediaHTTPConnection: fix JNI signatureColin Cross2014-03-201-1/+1
| | | | | | mNativeContext was changed to a long, fix the GetFieldID signature Change-Id: Ib19605d2c534a2aea7d75ab105349710905d716f
* MediaHTTPConnection: use jlong to store native pointerColin Cross2014-03-191-3/+3
| | | | Change-Id: Ic4f391a8e658498e63c26ea2af4c7413ed387360
* FINAL ATTEMPT: HTTP services are now provided from JAVA and made available ↵Andreas Huber2014-02-041-0/+179
to media code Change-Id: I7f6cdcfd2a28846d36d89dd5180ef20a22b03af8